Premature End of Script Headers Premature End of Script Headers
 

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

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.