'Unable to make thumbnail(0)' error message

csluikidikilest

Joined: 2005-10-04
Posts: 3
Posted: Tue, 2005-10-04 12:53

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://192.0.0.123/phototheque
Gallery version: 1.5.1
Apache version: 2.0.48
PHP version (don't just say PHP 4, please): 4.3.4
Graphics Toolkit: Netpbm 10.29
Operating system: Linux Red Hat AS 2.4.9
Web browser/version (if applicable): Mozilla Under windows 2000

I get, each time I try to upload a picture, the 'Unable to make thumbnail(0)' error message. I check all the FAQ points, but my problem is not corrected with those manipulations.

What do I have to do ?

Thanks

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2005-10-04 13:13

FAQ: How do I put my Gallery into debug mode?

Then post the debug results

h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org

 
csluikidikilest

Joined: 2005-10-04
Posts: 3
Posted: Tue, 2005-10-04 13:16

where I find the debug file once I activate the option ?

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2005-10-04 13:33

In the popup window you get when uploading. :)

h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org

 
csluikidikilest

Joined: 2005-10-04
Posts: 3
Posted: Tue, 2005-10-04 13:37

I use java applet (the small one) and I don't get any.
With the Form application :
******Adding dim_xps_300.jpg*****

Doing the naming
Image Preprocessing
Resizing/compressing original image
util.php::481 -> Resizing Image: /var/www/html/intranet2/phototheque/albums/test/dim_xps_300.jpg
util.php::329 -> Getting Dimension of file: /var/www/html/intranet2/phototheque/albums/test/dim_xps_300.jpg

No resizing required
Adding Photo to the photo list
util.php::989 -> File /var/www/html/intranet2/phototheque/albums/test/dim_xps_300.jpg type 2.
util.php::329 -> Getting Dimension of file: /var/www/html/intranet2/phototheque/albums/test/dim_xps_300.jpg

Generating thumbnail.
util.php::481 -> Resizing Image: /var/www/html/intranet2/phototheque/albums/test/dim_xps_300.jpg
util.php::329 -> Getting Dimension of file: /var/www/html/intranet2/phototheque/albums/test/dim_xps_300.jpg
util.php::277 -> Executing: '/usr/local/netpbm/bin/jpegtopnm' '/var/www/html/intranet2/phototheque/albums/test/dim_xps_300.jpg' | '/usr/local/netpbm/bin/pnmscale' -xysize 150 150 | '/usr/local/netpbm/bin/pnmtojpeg' --quality=90 > '/var/www/html/intranet2/phototheque/albums/test/dim_xps_300.thumb.jpg'

Results:

none

Debug messages:

/usr/local/netpbm/bin/jpegtopnm: error while loading shared libraries: libnetpbm.so.10: cannot open shared object file: No such file or directory
/usr/local/netpbm/bin/pnmscale: error while loading shared libraries: libnetpbm.so.10: cannot open shared object file: No such file or directory
/usr/local/netpbm/bin/pnmtojpeg: error while loading shared libraries: libnetpbm.so.10: cannot open shared object file: No such file or directory

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2005-10-04 18:26

So, your NetPBM installation is missing some libraries. You need to fix that, or install the precompiled binaries we have in the downloads section.

h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org