Advanced search  

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

Pages: [1]   Go Down

Author Topic: Error after Upgrading; Error: Premature end of script headers  (Read 3003 times)

0 Members and 1 Guest are viewing this topic.

macblue

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
Error after Upgrading; Error: Premature end of script headers
« 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

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

Does anyone have a clue?
« Last Edit: February 07, 2006, 11:33:31 pm by macblue »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Error after Upgrading; Error: Premature end of script headers
« Reply #1 on: February 08, 2006, 12:41:09 am »

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

Nibbler

  • Guest
Re: Error after Upgrading; Error: Premature end of script headers
« Reply #2 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.
Logged

macblue

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
Re: Error after Upgrading; Error: Premature end of script headers
« Reply #3 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
 :-\
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Error after Upgrading; Error: Premature end of script headers
« Reply #4 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
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.