Blank page instead of category list after updating php to 5.2.6 Blank page instead of category list after updating php to 5.2.6
 

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

Blank page instead of category list after updating php to 5.2.6

Started by paterczm, June 29, 2008, 07:31:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

paterczm

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:


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


paterczm

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.