Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Blank page instead of category list after updating php to 5.2.6  (Read 2197 times)

0 Members and 1 Guest are viewing this topic.

paterczm

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 21

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:
Code: [Select]
    [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
Logged

paterczm

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 21
Re: Blank page instead of category list after updating php to 5.2.6
« Reply #2 on: June 29, 2008, 08:13:31 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.