Possible bug when PHP 4.3 is released?

uncle

Joined: 2002-08-15
Posts: 18
Posted: Sat, 2002-12-14 11:39

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?

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Sat, 2002-12-14 16:27

Just remove or comment out that extra unixdate function and it will
work just fine.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-12-14 20:35

FYI, I just updated G2 to use ADOdb 2.90 and this problem appears to be resolved.
Thanks for the heads up!