[Solved]: Can't access gallery after moving from PHP 4.4.8 to PHP 5.2.6 - URGENT [Solved]: Can't access gallery after moving from PHP 4.4.8 to PHP 5.2.6 - URGENT
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

[Solved]: Can't access gallery after moving from PHP 4.4.8 to PHP 5.2.6 - URGENT

Started by mr5, May 14, 2009, 05:12:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mr5

I apologize in advance for placing this here even if I have no bridging defined and for doing changes on production without understanding the possible consequences...

Coppermine install: http://eja.pri.ee/cpg144/
Forum install: http://eja.pri.ee/phpBB3/
Coppermine version: cpg1.4.4
Forum version: BBS3 3.0.4

Coppermine is used only as a gallery to display the pictures, no users, no updates. No user modifications except font cosmetics. No bridging defined.

Some long time ago after I installed the previous version of BBS I started to get "Fatal error: Cannot redeclear xxx"  messages in admin mode only. As everything worked fine, I didn't pay much attention to that.
Today I had to switch to PHP version to 5.2.6 and, since then, gallery is not accessable. Fatal error: Cannot redeclare html_albummenu() (previously declared in /data03/virt11056/domeenid/www.eja.pri.ee/htdocs/cpg144/index.php:83) in /data03/virt11056/domeenid/www.eja.pri.ee/htdocs/cpg144/index.php on line 959
If I type e.g http://eja.pri.ee/cpg144/thumbnails.php?album=4 I get similar msg with Cannot redeclare thumb_get_subcat_data()

I would really appreciate your help. Thanks, Mark

mr5

It looks that I had corrupted file(s) on the server. No more problem. Thanks

Joachim Müller

Quote from: mr5 on May 14, 2009, 05:12:53 PM
Coppermine version: cpg1.4.4
Not a bright idea. Upgrade. Most recent stable release currently is cpg1.4.22, so you're running 18 versions behind.