Morgramen

Joined: 2003-07-20
Posts: 12
Posted: Sun, 2003-07-20 22:02

Greetings everyone. I finally managed to get my Gallery to install (I've been trying for months!) Anyway, all seemed well for me until I tried to upload images to the gallery as well. In my case, I got the "unable to make thumbs" error as well, but with some different error messges.

Quote:
- Adding ravager1.jpg
Executing:

/home/virtual/site61/fst/var/www/html/netpbm/jpegtopnm /home/virtual/site61/fst/var/www/html/albums/Test-Album/ravager1.jpg | /home/virtual/site61/fst/var/www/html/netpbm/pnmscale -xysize 150 150 | /home/virtual/site61/fst/var/www/html/netpbm/ppmtojpeg --quality=100 > /home/virtual/site61/fst/var/www/html/albums/Test-Album/ravager1.thumb.jpg

Results:
none

Error messages:
pnmscale: EOF / read error reading magic number
ppmtojpeg: EOF / read error reading magic number

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

Gallery/webserver information: Gallery version 1.3.4 on Linux dhrystone8.ensim.com 2.4.2-2smp #1 SMP Sun Apr 8 20:21:34 EDT 2001 i686 unknown

Gallery URL: http://www.bloodsilver.com/gallery/Test-Album
Gallery version: 1.3.4
Apache version: Apache/1.3.19
PHP version: PHP 4.0.6

I had to install the Netpbm as binaries as well. (The Linux one from Sourceforge.net) My server doesn't have Image Magik, and doesn't seem to want ot install it (hence the months waiting to get this gallery installed.)

I don't want to hijack your thread Shawn, but figured that posting under the same error topic would save on board clutter.

Morg
EDIT: After surfing the forums a bit more, I ran Check Netpbm.php and the results it chewed out can be seen here:
http://www.bloodsilver.com/gallery/setup/check_netpbm.php?show_details=1

I suspect now that I will have to find and foodle around with the newer version of Netpm? ACK![/list]

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Mon, 2003-07-21 01:36

Split to avoid topic clutter ;-)

What was the result of check_netpbm?

 
Morgramen

Joined: 2003-07-20
Posts: 12
Posted: Mon, 2003-07-21 22:01

Sorry Joan. Thought I was being smarter than your average newbie there for a moment. :oops:

I secured the gallery before I went to work and didn't realize until after I got there that the test netpbm file would be inaccessible. :roll:

Anyway, here's the result of the test:

Quote:
This is what your system reports:
Linux webspace.greetsu.com 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown

This is the type of system PHP was compiled on:
Linux dhrystone8.ensim.com 2.4.2-2smp #1 SMP Sun Apr 8 20:21:34 EDT 2001 i686 unknown

You told the config wizard that your NetPBM binaries live here:

/home/virtual/site61/fst/var/www/html/netpbm
If that is not right (or if it is blank), re-run the configuration wizard and enter a location for NetPBM.

We are going to test each NetPBM binary individually. Click here to hide the details
Checking /home/virtual/site61/fst/var/www/html/netpbm/giftopnm
giftopnm: Using libpbm from Netpbm Version: Netpbm 9.12
giftopnm: Compiled Sat Apr 14 15:35:35 PDT 2001 by user "bharat"
giftopnm: BSD defined
giftopnm: RGB_ENV='RGBDEF'
giftopnm: RGBENV= 'RGBDEF' (env vbl is unset)
Ok! Version: 9.12

Checking /home/virtual/site61/fst/var/www/html/netpbm/jpegtopnm
Error! (Expected status: 0, but actually received status: 139)

Checking /home/virtual/site61/fst/var/www/html/netpbm/pngtopnm
Error! (Expected status: 0, but actually received status: 139)

Checking /home/virtual/site61/fst/var/www/html/netpbm/pnmcut
pnmcut: Using libpbm from Netpbm Version: Netpbm 9.12
pnmcut: Compiled Sat Apr 14 15:35:35 PDT 2001 by user "bharat"
pnmcut: BSD defined
pnmcut: RGB_ENV='RGBDEF'
pnmcut: RGBENV= 'RGBDEF' (env vbl is unset)
Ok! Version: 9.12

Checking /home/virtual/site61/fst/var/www/html/netpbm/pnmfile
pnmfile: Using libpbm from Netpbm Version: Netpbm 9.12
pnmfile: Compiled Sat Apr 14 15:35:35 PDT 2001 by user "bharat"
pnmfile: BSD defined
pnmfile: RGB_ENV='RGBDEF'
pnmfile: RGBENV= 'RGBDEF' (env vbl is unset)
Ok! Version: 9.12

Checking /home/virtual/site61/fst/var/www/html/netpbm/pnmflip
pnmflip: Using libpbm from Netpbm Version: Netpbm 9.12
pnmflip: Compiled Sat Apr 14 15:35:35 PDT 2001 by user "bharat"
pnmflip: BSD defined
pnmflip: RGB_ENV='RGBDEF'
pnmflip: RGBENV= 'RGBDEF' (env vbl is unset)
Ok! Version: 9.12

Checking /home/virtual/site61/fst/var/www/html/netpbm/pnmrotate
pnmrotate: Using libpbm from Netpbm Version: Netpbm 9.12
pnmrotate: Compiled Sat Apr 14 15:35:35 PDT 2001 by user "bharat"
pnmrotate: BSD defined
pnmrotate: RGB_ENV='RGBDEF'
pnmrotate: RGBENV= 'RGBDEF' (env vbl is unset)
Ok! Version: 9.12

Checking /home/virtual/site61/fst/var/www/html/netpbm/pnmscale
pnmscale: Using libpbm from Netpbm Version: Netpbm 9.12
pnmscale: Compiled Sat Apr 14 15:35:35 PDT 2001 by user "bharat"
pnmscale: BSD defined
pnmscale: RGB_ENV='RGBDEF'
pnmscale: RGBENV= 'RGBDEF' (env vbl is unset)
Ok! Version: 9.12

Checking /home/virtual/site61/fst/var/www/html/netpbm/pnmtopng
Error! (Expected status: 0, but actually received status: 139)

Checking /home/virtual/site61/fst/var/www/html/netpbm/ppmquant
ppmquant: Using libpbm from Netpbm Version: Netpbm 9.12
ppmquant: Compiled Sat Apr 14 15:35:35 PDT 2001 by user "bharat"
ppmquant: BSD defined
ppmquant: RGB_ENV='RGBDEF'
ppmquant: RGBENV= 'RGBDEF' (env vbl is unset)
Ok! Version: 9.12

Checking /home/virtual/site61/fst/var/www/html/netpbm/ppmtogif
ppmtogif: Using libpbm from Netpbm Version: Netpbm 9.12
ppmtogif: Compiled Sat Apr 14 15:35:35 PDT 2001 by user "bharat"
ppmtogif: BSD defined
ppmtogif: RGB_ENV='RGBDEF'
ppmtogif: RGBENV= 'RGBDEF' (env vbl is unset)
Ok! Version: 9.12

Checking /home/virtual/site61/fst/var/www/html/netpbm/ppmtojpeg
ppmtojpeg: Using libpbm from Netpbm Version: Netpbm 9.12
ppmtojpeg: Compiled Sat Apr 14 15:35:35 PDT 2001 by user "bharat"
ppmtojpeg: BSD defined
ppmtojpeg: RGB_ENV='RGBDEF'
ppmtojpeg: RGBENV= 'RGBDEF' (env vbl is unset)
Ok! Version: 9.12

This stuff makes absolutely no sense to me whatsoever, but I assume that since the errors are all regarding the pnm binary, that it's the problem of name changing between versions. I had a peek at my config1.php file (couldn't seem to find just 'config.php'), but Dreamweaver tells me it's an empty file. Odd that.