[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.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.