Emtpy Page - Edit Files Emtpy Page - Edit Files
 

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

Emtpy Page - Edit Files

Started by cjfuson, June 12, 2007, 09:09:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cjfuson

Hi,

In some of our galleries on our CM site, I click on the category then click on EDIT FILES next to an album. Most of the albums display a blank page when I click on that, others don't. I only have one user on the site, which is me and I use this internally for all my photos. Any help would be appreciated.

_CJ

Joachim Müller

Post a link to your gallery for a start.

cjfuson

Hi,

Its actually hosted on our private intranet, so I can't make it publics. What else can I do to help you troubleshoot?

-CJ

Joachim Müller

Blank pages usually are a result of corrupted files. In the case of album properties, the possible culprit is the file modifyalb.php. Get a fresh package from the donwloads section, unzip it and replace the file on the server with the fresh copy. Then try again.
If this doesn't help, it is likely that another file (maybe one that gets included) is corrupt, so you should perform an upgrade (even if you run the most recent version cpg1.4.10), replacing all core files as suggested in the upgrade section of the docs.
Another possible culprit may be your custom theme. Try temporarily switching to an unmodified core theme by adding theme=classic or similar to the address, then try again if this helps.
Do you have any custom hacks or plugins enabled? If yes, disable them (at least temporarily) to make sure that they aren't interfering.
If all those suggestions don't help, then I'm afraid that there will be little we could do to help you troubleshoot this issue. You might then want to search the forum for "blank page" and try to apply the more exotic suggestions that have been causing blank pages for others.

cjfuson

Hi,

I'll give those a try. Is there any reason why some albums work and others don't. Everything else works perfect.
Can I turn on Debugging and see if that might help?

-CJ

cjfuson

I've also noticed its the albums with 100+ pictures in there.

I don't know if this will help but the URL when I get a blank page is similar to this:

http://10.0.1.10/editpics.php?album=15

-CJ

Joachim Müller

Quote from: cjfuson on June 13, 2007, 05:45:48 PM
Can I turn on Debugging and see if that might help?
Sure, if you know how to read debug output, this might help. Turning on debug_mode is particularly helpfull if you get a cryptic error message. Won't help much in your case, as you don't get an error message. However, it can't hurt.

Quote from: cjfuson on June 13, 2007, 06:04:07 PM
I've also noticed its the albums with 100+ pictures in there.
Try to remove some pics from the album (by deleting them one by one) and see if this helps. Might be a timeout issue if this only happens for albums that contain many files. 

Quote from: cjfuson on June 13, 2007, 06:04:07 PMI don't know if this will help but the URL when I get a blank page is similar to this:

http://10.0.1.10/editpics.php?album=15
OK, I should have read your initial posting more thoroughly, sorry. So I'll have to correct my reply where I recommended replacing modofyalb.php - you'll have to replace editpics.php then with a fresh copy.

Also make sure that you're on cpg1.4.10; if you have an older version: upgrade!

cjfuson

Hi,

Is there anything I can edit in my php.ini or a config file to allow more time before a time out? This is hosted on a local server in my office and we're on gigabit, and this is the only thing on the server so it shouldn't be a server load issue or anything like that.

-CJ

Joachim Müller

Quote from: cjfuson on June 13, 2007, 06:13:15 PM
Is there anything I can edit in my php.ini or a config file to allow more time before a time out?
Definitely yes. However, I won't teach you how to run a webserver and what you need to edit. Imo you shouldn't run a webserver of your own if you have no idea what you can do in php.ini. Read it up in the php manual: http://www.php.net/manual/en/configuration.php

cjfuson

Nothing there worked. Tried it all except the php.ini editing. Seems 25 or more files it flips.

-CJ

cjfuson

I fixed the problem. I increased the memory size in my php.ini to 256MB since this is my own server. Other people may not be able to get away with such.

Thanks,

CJ