In trouble: Pnmtojpeg: Error reading magic number from Netpbm image stream.

zoey

Joined: 2005-08-16
Posts: 5
Posted: Sun, 2005-10-23 23:22

Ok, I have searched all through this site, and I cannot find anything to help me. So here it goes. Whenever I try to upload a picture I am getting this:

Results:

none

Debug messages:

pnmtojpeg: Error reading magic number from Netpbm image stream. Most often, this means your input file is empty.

Status: 1 (expected 0)
Error: Unable to make thumbnail (0)

---------------------------------------------
I have tried everything I can possibly think of, and still nothing... when I looked at the Debug NetPmB to see if it showed anything I got this...

Checking: '/home/zoeyd587/public_html/gallery/netpbm/giftopnm' Expected status: 0, but actually received status 139.

Checking: '/home/zoeyd587/public_html/gallery/netpbm/jpegtopnm' Expected status: 0, but actually received status 139.

Checking: '/home/zoeyd587/public_html/gallery/netpbm/pngtopnm' Expected status: 0, but actually received status 139.

hecking: '/home/zoeyd587/public_html/gallery/netpbm/pnmscale' Expected status: 0, but actually received status 139.

Checking: '/home/zoeyd587/public_html/gallery/netpbm/pnmcomp' Expected status: 0, but actually received status 139.

I hope you guys can help me figure this out! I have had a website before with the same domain, and everything worked when I put up gallery, I do not know what is diffrent this time. Thanks!

-Dorothy
_____________________________________________________________________________
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):http://www.rainbowbutterflies.net/gallery/
Gallery version:Gallery v1.5
Apache version: donno
PHP version (don't just say PHP 4, please): PHP Version 4.4.0
Graphics Toolkit:NetPBM
Operating system:Linux
Web browser/version (if applicable): Mozilla Fire Fox

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sun, 2005-10-23 23:57

Hello,

where did you get the NetPBM binaries from ?

Jens
--
Last Gallery v1 developer and translation manager.

 
zoey

Joined: 2005-08-16
Posts: 5
Posted: Mon, 2005-10-24 00:36

From the link on the Gallery Website, from SourceForge.net, and I am pretty sure I downloaded the one for Linux, but I have tried several versions, but everything has seemed messed up...

 
zoey

Joined: 2005-08-16
Posts: 5
Posted: Tue, 2005-10-25 05:42

Did I get the wrong NetPBM binaries? Which one should I of downloaded?

-zoey

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2005-10-25 07:17

We cant hardly know what OS you are running.

The easiest way is that you ask your host for installing ImageMagick, or NetPBM. If he wont do it, then ask him what kind of OS is running on your server.

Jens
--
Last Gallery v1 developer and translation manager.

 
zoey

Joined: 2005-08-16
Posts: 5
Posted: Tue, 2005-10-25 13:34

Oh sorry, I thought I put something about the operating system:

Linux version 2.6.13.1
(root@newyork.dnschamber.net) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-52))

Thanks, sorry about that...

-Zoey

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2005-10-25 13:44

Then this version should work:

netpbm_gallery-1.4-pl2-linux-intel.zip

Regards,

Jens
--
Last Gallery v1 developer and translation manager.

 
zoey

Joined: 2005-08-16
Posts: 5
Posted: Thu, 2005-10-27 17:28

OK, I think that might of been the problem, I just had to go through and revamp several other things aswell, but that was the main problem, thankyou.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2005-10-27 18:08

Glad you got it working (tm)

Jens
--
Last Gallery v1 developer and translation manager.