forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: macblue on February 07, 2006, 11:11:50 pm

Title: Error after Upgrading; Error: Premature end of script headers
Post by: macblue on February 07, 2006, 11:11:50 pm
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
Quote
Premature end of script headers: /***/public_html/gallery/displayimage.php
and immediately after that
Quote
File 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 (http://gallery.macblue.net/thumbnails.php?album=52)

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

Does anyone have a clue?
Title: Re: Error after Upgrading; Error: Premature end of script headers
Post by: Joachim Müller on February 08, 2006, 12:41:09 am
yes: the pics that don't work are too large for your webserver setup.
Title: Re: Error after Upgrading; Error: Premature end of script headers
Post by: Nibbler on February 08, 2006, 12:41:42 am
Try disabling the reading of EXIF data in config, it can cause issues with invalid or unusual EXIF data.
Title: Re: Error after Upgrading; Error: Premature end of script headers
Post by: macblue on February 08, 2006, 11:46:19 pm
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
 :-\
Title: Re: Error after Upgrading; Error: Premature end of script headers
Post by: Joachim Müller on February 09, 2006, 08:52:49 am
commeting the include out wouldn't have been necessary, as there is a config option for this