So, suddenly a bunch of sites stop working, didnt even realise they were running on FreeBSD boxes as they JustFuckingWorked, guess the hoster pair.com must have upgraded PHP which broke some packages, no matter probably just a new config parameter to pass in.... nope, not this time.
PHP 5.2.0 Breaks ZenCart, MyBB, Drupal, PostNuke, WordPress 2.05 and many others
Turns out zend decided to change the order that the classes call their deconstructor, apparently they assumed that it would not break anything yeah, right.
http://bugs.php.net/bug.php?id=36759
http://bugs.php.net/bug.php?id=39381
[6 Nov 2006 4:46pm UTC] harveyelliott at hotmail dot com
I currently get a issue with php 5.2 with ZenCart. I roll back to php
5.1.6 and it works fine... of course its all due to this php 5.2 bug...
Im curently stuck in a hard place.. because.. Im a Web Hosting
provider..
So either.. I run php 5.2 to get the security fixes and my customers are
SOL that has issues with this bug..
Or.. run insecure code to keep my customers happy..
My question is.. any idea when this is going to be fixed?
If I asked in the wrong place... please direct me to the correct
place... as this is very important to me...
[12 Nov 2006 4:57pm UTC] rygorde4 at sbcglobal dot net
this is a PHP 5.2.0 error which causes the classes to be destructed in
the reverse way they are initialized. If this change was intended for
PHP 5.2.0, then you should have given us a heads up before you went
releasing software that broke a whole ton of scripts.
This IS a error on PHP 5.2.0, the PHP team should consider unbogusing
the report.
[13 Nov 2006 3:54pm UTC] tikitiki at mybboard dot com
C'mon Guys... Hear me out here.
The classes in PHP 5.2.0 have been changed to destruct in the reverse
order that they've been initialized. Why I ask? I hope the change was
not 'just because'. And if the change was intentional, you guys should
have known that it would affect many scripts. Does it not make more
sense to destruct classes in the order they were initialized in the
first place?
"Does it not make more sense
"Does it not make more sense to destruct classes in the order they were initialized in the
first place?"
-actually No, it doesnt
it makes sense to deconstruct them in the reverse order
which they've done
but a heap of things in the meantime have become dependant
this is where you need Branching:
"everybody - try this Branch and get your stuff to work on it, cos this is where its headed. in the meantime we'll proceed forward with the old incorrect version. later, with LOTS OF WARNING, we'll merge the two and the proper functionality will become mandatory."