Premature End of Script Headers Premature End of Script Headers
 

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]

Main Menu

Premature End of Script Headers

Started by pftq, July 17, 2007, 04:38:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pftq

I'm getting a Internal Server Error every time I run slideshow from the last uploaded pictures.  I checked the error logs and it says Premature End of Script Headers.

I've done some editing of the files, but I uploaded original copies and the error still persists.

It only occurs for the Last Uploaded album and only from the front page.  If you go to Last Uploaded on a category or album, the slideshow works just fine.

I went through and commented out lines and narrowed it down to get_pics (for the lastup case).  I've never edited that part of the file.  Any ideas what could be wrong?

pftq

Hmm can't find edit button - sorry for double post.

Some more points I found:
- Logout (various hidden albums then not included) and slideshow works fine.

I figured maybe there's a limit to # of pictures.  In the slideshow.inc.php, I went ahead and added a 1000 limit to the line: $pic_data = get_pic_data($_GET['album'], $pic_count, $album_name, 1000, -1, false);

The slideshow works fine now.  Is there any way to avoid the limit though?

Nibbler

Not at the moment, although this should be fixed in the next version.