Error after Upgrading; Error: Premature end of script headers Error after Upgrading; Error: 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

Error after Upgrading; Error: Premature end of script headers

Started by macblue, February 07, 2006, 11:11:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

macblue

I've upgraded from the version 1.3.1 to 1.4.3
and now I'm getting an Internal Server Error 500 with some pictures (mostly all pictures in an album)
In the error log of my web space provider it's written
QuotePremature end of script headers: /***/public_html/gallery/displayimage.php
and immediately after that
QuoteFile does not exist: /***/public_html/gallery/500.shtml

I've download the whole cpg 1.4.3 package from a different ftp server then before and unloaded it again (except: config.php)

all files passed the versioncheck.php up to 1.4.3

So I created a new album called "test pictures" with 2 pictures that were displayed correctly and 2 that weren't
1. downloaded them
2. renamed
3. uploaded
4. batch added into the album "test pictures"
5. added titles to the pictures (with the AdminTool)

the 2 pictures that worked before still do, but the other 2 still don't
then strange I got to see a strange phenomenon
BUT if you start a slideshow from one of 2 pictures that is displayed, it will show all pictures correctly

here the link
http://gallery.macblue.net/thumbnails.php?album=52

I'd like to get my gallery functioning again, soon.

Does anyone have a clue?

Joachim Müller

yes: the pics that don't work are too large for your webserver setup.

Nibbler

Try disabling the reading of EXIF data in config, it can cause issues with invalid or unusual EXIF data.

macblue

Thanks for the tip.

With the help of my webspace provider I managed it.
They commented in the file /include/exif.php the line 633 out.
Now it works well.

but without EXIF data
:-\

Joachim Müller

commeting the include out wouldn't have been necessary, as there is a config option for this