(solved) PHP 5.3.3 not compatible with Gallery 2.3.1 (multisite setup installer)?
scaturan
Joined: 2004-09-12
Posts: 1153 |
Posted: Wed, 2010-07-28 10:18 |
hi folks, just upgraded to PHP 5.3.3 and the Gallery 2 installer no longer works. .Deprecated: Assigning the return value of new by reference is deprecated in /path/gallery2/install/steps/DatabaseSetupStep.class on line 605 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /path/gallery2/install/steps/DatabaseSetupStep.class:605) in /path/gallery2/lib/support/GallerySetupUtilities.class on line 357 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /path/gallery2/install/steps/DatabaseSetupStep.class:605) in /path/gallery2/lib/support/GallerySetupUtilities.class on line 357 I've created dozens of multisites on PHP 5.2.x with no issues, but it looks like something hit the roof when I upgraded to PHP 5.3.3 please advise, thank you! ___________________________________________________ |
|
Posts: 1153
just downgraded to PHP 5.2.14 and everything is back to where it was, installer works like a charm, - I know it's EOLed but it looks like for me to setup G2.3.1 multisites using it is the only option.
___________________________________________________
http://pixi.me/
Posts: 16504
Try this if you want to use a newer version of PHP
http://www.php.net/manual/en/language.references.php#57550
Or turn off E_STRICT
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 1153
"E_STRICT = False" in php.ini would only suppress the error message but the installer should be able to go through all the steps right?
I'll setup sandbox so I can test PHP 5.3.3 on dummy G2 standalones/multisites instead of live sites. If nothing works, I'll stick with PHP 5.2.x until whenever (if there is one) G2.3.2 is released to patch known severe issues.
Over at sf.net bug tracker, I read some PHP 5.3.2 login issues and a few of them rolled back to 5.3.1 to make G2 in a working condition.
anyhow, thanks for the pointer!
___________________________________________________
http://pixi.me/
Posts: 1153
yep E_STRICT did the trick, i should have waited for your reply before went back down to PHP 5.2.14 the back to PHP 5.3.3
thank you again!