A couple of days ago I installed PHP 4.3RC3 on my machine just to see how stable it is. I compiled it identically to my previous 4.2.3 install. All appeared well until I tried to load my test gallery2 installation. Under 4.3 I receive this error when it tries to load main.php:
<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE> Fatal error: Cannot redeclare unixdate() in /sdfsf/sfsfs/sdsdf/gallery2/lib/adodb/adodb.inc.php on line 1453 </TD></TR></TABLE><!-- BBCode End -->
I roll back to 4.2.3 and gallery2 works again.
FYI this error also occurs when the current CVS code of php 4.4dev is used.
As a sanity check is anyone else running 4.3rc3 and have gallery2 working?
Posts: 487
Just remove or comment out that extra unixdate function and it will
work just fine.
Posts: 7994
FYI, I just updated G2 to use ADOdb 2.90 and this problem appears to be resolved.
Thanks for the heads up!