another upload error

wakkow

Joined: 2002-09-25
Posts: 6
Posted: Wed, 2002-09-25 23:21

Ok.. I've read the FAQ but no luck.. I upload using any method and get this:

<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>
Processing status...
- Adding investingnav.gif

Executing:

/usr/bin/giftopnm /home/james/html/albums/tempalbum/investingnav.gif | /usr/bin/pnmfile --allimages

Results:

none

Error messages:

Status: 255 (expected 0)
Error: Invalid image: investingnav.gif!</TD></TR></TABLE><!-- BBCode End -->

The apache error logs show nothing.. The command listed in the FAQ [4.4] on a temp image runs without returning any errors. To me it seems that the file never exists.. Due to the wait and such when submitting a picture, it seems to be uploading.. but any file I upload never exists in the album directory or in the temp directory.. I think its trying to process but never has a file to work on. PHP is the stock install with Redhat 7.2, and has no value set for open_basedir (FAQ C).

I'd think apache/php is having problems writing the file, but no errors come up (besides unrelated 'file does not exist' earlier in the day.. showing the error log works).

Any ideas?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-09-26 03:08
Quote:
The apache error logs show nothing.. The command listed in the FAQ [4.4] on a temp image runs without returning any errors. To me it seems that the file never exists.. Due to the wait and such when submitting a picture, it seems to be uploading.. but any file I upload never exists in the album directory or in the temp directory.. I think its trying to process but never has a file to work on. PHP is the stock install with Redhat 7.2, and has no value set for open_basedir (FAQ C).

When the upload fails, Gallery deletes the temporary files and the failed image. Oftentimes this happens so fast that you never see it. I'm confident that the file is arriving on your server, though.

What do you see when you run the NetPBM diagnostic (from the config wizard)?

Does this problem happen with all image types or just GIF?

 
wakkow

Joined: 2002-09-25
Posts: 6
Posted: Thu, 2002-09-26 21:41

I ran that diagnostics program and it seemed that all were returning 255.. Anyways, I compiled the NetPBM stuff from scratch (rather than the ones from this site) and now it works fine.. Thanks!