Hello
My web hosting service is planning to update php version from 5.1.6 to 5.2.6. On new php 5.2.6 everything runs fine except for page with categories (the default one, index.php), which doesn't show anything but the menu at the top. An example, so it's clear what I mean:
- http://marek-paterczyk.waw.pl/gallery/index.php runs on php 5.1.6 and works
- http://marek-paterczyk.waw.pl:81/gallery/index.php runs on php 5.2.6 and doesn't work
I turned on debugging in coppermine config and the only difference are the following lines:
[53] => SELECT count(cpg149_albums.aid) FROM cpg149_pictures,cpg149_albums WHERE cpg149_pictures.aid = cpg149_albums.aid AND approved = 'YES' GROUP BY cpg149_pictures.aid (0.003s)
[54] => SELECT *,cpg149_albums.title AS title,cpg149_albums.aid AS aid FROM cpg149_pictures,cpg149_albums WHERE cpg149_pictures.aid = cpg149_albums.aid AND approved = 'YES' GROUP BY cpg149_pictures.aid ORDER BY cpg149_pictures.ctime DESC LIMIT 0 ,4 (0.007s)
[55] => SELECT description from cpg149_albums WHERE aid='lastalb' (0.005s)
[56] => SELECT count(*) FROM cpg149_albums as a WHERE category = '0' (0.014s)
which are
not present on php 5.2.6.
I've installed php 5.2.6 at home and my page works fine. It must be some configuration problem, but I have no clue what is wrong here or how to debug it further... Help is greatly appreciated. I'm using Coppermine v1.4.18.
Thanks and Regards
Marek
See if http://forum.coppermine-gallery.net/index.php/topic,50783.0.html helps.
Hi Nibbler, thanks for your answer.
I replaced catmgr.php with a newer version as described in the solution you pointed, but nothing has changed - 5.1.6 works, 5.2.6 doesn't.