.jpg upload: invalid image error message

sterni

Joined: 2002-09-02
Posts: 3
Posted: Mon, 2002-09-02 20:26

Hello!

Everytime I want to upload a .jpg file I get the following error message:
Processing status...
- Adding 06200066.jpg
Error: Invalid image: 06200066_G.jpg!

But uploading a small .gif file works.
Could this be a wrong path in config.php?

I apreshiate any help.
Thanks
Michael

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2002-09-03 04:59

Read and follow the directions in FAQ C.2 and report back with more details please.

 
sterni

Joined: 2002-09-02
Posts: 3
Posted: Tue, 2002-09-03 08:25

Hi bharat,

Here is the Apache error log output:
[Mon Sep 2 14:35:04 2002] [error] [client 64.21.40.30] Directory index forbidden by rule: /home/sterni/public_html/testbilder/
[Mon Sep 2 14:35:04 2002] [error] [client 64.21.40.30] File does not exist: /home/sterni/public_html/403.shtml
[Mon Sep 2 14:35:04 2002] [error] [client 64.21.40.30] Directory index forbidden by rule: /home/sterni/public_html/testbilder/

This it what the Debug Mode shows:

Processing status...
- Adding trance.jpg

Executing:

/home/sterni/public_html/netpbm/jpegtopnm /home/sterni/public_html/album/album01/trance.jpg | /home/sterni/public_html/netpbm/pnmfile --allimages

Results:

stdin: Image 0:

Error messages:

pnmfile: EOF / read error reading magic number

Status: 1 (expected 0)
Error: Invalid image: trance.jpg!
Need help? Look in the Gallery FAQ

Manual execution of netpbm shows the following message:
pnmfile: EOF / read error reading magic number

I have 12 MB of free disc space.

Please let me know if I can provide any more details.
Thanx for you help!
Michael

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-09-04 05:16

Ok, now you have to do the next step as described in FAQ C.2 (ie, run the command by hand on your server and see what the results are). Cut and paste your results here.

 
wh

Joined: 2002-09-11
Posts: 2
Posted: Wed, 2002-09-11 11:23

i have the same problem, on installation i got an oke with the netpbm but i can only upload gif images, on .png and .jpg i get error messages:
Error: Invalid image: x.jpg!

where do i find an apache error log file/
i only can locate an Web Server Statistics file.......

 
wh

Joined: 2002-09-11
Posts: 2
Posted: Wed, 2002-09-11 21:21

oke i found the appache Error Log Messages
so i figured out what was the problem was (permission denied) and it seemed to besolved no
thought i should let that know here before someone takes a lot of trouble........
WH

 
=FireSt0rM=

Joined: 2002-09-11
Posts: 2
Posted: Wed, 2002-09-11 23:27

I'm having similar problems... downloaded completely new versions of gallery and NetPBM... turned on debugger and this is what I get:

Not even an error message to work with. Any idea on what could be going wrong here? I haven't noticed anything strange in my error_logs

-----------------------------------------------

Processing status...
- Adding 01_station.jpg

Executing:

/home/firest0rm/htdocs/firest0rm.com/modules/gallery/netpbm/jpegtopnm /home/firest0rm/htdocs/firest0rm.com/modules/gallery2/albums/test/01_station.jpg | /home/firest0rm/htdocs/firest0rm.com/modules/gallery/netpbm/pnmfile --allimages
Results:

none
Error messages:

Status: 255 (expected 0)
Error: Invalid image: 01_station.jpg!

 
=FireSt0rM=

Joined: 2002-09-11
Posts: 2
Posted: Fri, 2002-09-13 03:51

Any ideas?

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Fri, 2002-09-13 04:02

Did you manually try executing the command?
You verified that there is nothing in the error log relating to this?

I'm going to guess that since it doesn't spit out any error messages or
messages at all, you may have the wrong netpbm binaries (they aren't even
executing) or your path to them is wrong.

 
discover_saif

Joined: 2007-11-21
Posts: 1
Posted: Wed, 2007-11-21 13:07

usb surg on usb port on laptop how to fix