MyBB Community Forums

Full Version: PHP shutdown
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I identified a couple of issues with the PHP shutdown processing. Nice idea, but depending on the version of PHP used several objects apparently get deconstructed before run_shutdown() is called. run_shutdown() tries to make up for that by reconstructing several, but apparently not enough. On PHP 5.2.5 the daily cleanup task doesn't run properly as it has no access to the settings, on 5.2.6 that works fine, but still the text is missing from the task-log as the $lang object is missing. I realized some missing indexes for arrays as well.

My question: are there any arguments against not using PHP shutdown? I mean, if it works that shitty, why use it at all? What is your recommendation?

Zakkinen
Report the bugs and we'll get it fixed.
(2008-08-24, 06:11 PM)DennisTT Wrote: [ -> ]Report the bugs and we'll get it fixed.

Can you somehow transform these two into bug-reports? Would save me the typing.

http://community.mybboard.net/thread-36480.html
http://community.mybboard.net/thread-36402.html

If not, I'll try to get it done asap. But the weekend is over, other things must be done first.

Cheers
Zakkinen
OK, managed to squeeze it in tonight. Have a look at the two threads referenced above for more info if needed.

Cheers
Zakkinen