Error: Unable to make thumbnail (0)

sneddy

Joined: 2005-08-23
Posts: 4
Posted: Thu, 2006-03-16 00:50

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): www.sneddy.ca/gallery
Gallery version: 1.5.2-pl2
Apache version: Apache/1.3.34 (Unix) mod_perl/1.26
PHP version (don't just say PHP 4, please): v4.3.10 (http://www.sneddy.ca/gallery/setup/phpinfo.php)
Graphics Toolkit: Netpbm
Operating system: WinXP
Web browser/version (if applicable): Firefox 1.5.0.1

________________________________________________________________________________

Unable to generate thumbnails, this is the debug output:

Processing status...

******Adding 0001.jpg*****
Album.php::1161 -> Doing the naming
Album.php::1194 -> Image Preprocessing
Album.php::1199 -> Resizing/compressing original image
imageManipulation.php::36 -> Resizing Image: /mnt/web_v/d20/s38/b025e6c9/www/albums/phone_pics/aad.jpg
util.php::205 -> Getting Dimension of file: /mnt/web_v/d20/s38/b025e6c9/www/albums/phone_pics/aad.jpg
imageManipulation.php::67 -> No resizing required
imageManipulation.php::573 -> File /mnt/web_v/d20/s38/b025e6c9/www/albums/phone_pics/aad.jpg type 2.
util.php::205 -> Getting Dimension of file: /mnt/web_v/d20/s38/b025e6c9/www/albums/phone_pics/aad.jpg
AlbumItem.php::619 -> Generating thumbnail.
util.php::205 -> Getting Dimension of file: /mnt/web_v/d20/s38/b025e6c9/www/albums/phone_pics/aad.jpg
imageManipulation.php::538 -> Generating squared Version to 150px
imageManipulation.php::474 -> Cropping Image
util.php::153 -> Executing: '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/jpegtopnm' '/mnt/web_v/d20/s38/b025e6c9/www/albums/phone_pics/aad.jpg' | '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/pnmcut' 80 0 480 480 | '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/pnmtojpeg' --quality=90 > '/mnt/web_v/d20/s38/b025e6c9/www/albums/phone_pics/aad.thumb.jpg'

Results:

none

Debug messages:

/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/jpegtopnm: permission denied
/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/pnmcut: permission denied
Cannot fork: Resource temporarily unavailable

Status: 2 (expected 0)Source
util.php::205 -> Getting Dimension of file: /mnt/web_v/d20/s38/b025e6c9/www/albums/phone_pics/aad.jpg
Dest
util.php::205 -> Getting Dimension of file: /mnt/web_v/d20/s38/b025e6c9/www/albums/phone_pics/aad.thumb.jpg
util.php::208 -> The file does not exist ?!
imageManipulation.php::36 -> Resizing Image: /mnt/web_v/d20/s38/b025e6c9/www/albums/phone_pics/aad.jpg
util.php::205 -> Getting Dimension of file: /mnt/web_v/d20/s38/b025e6c9/www/albums/phone_pics/aad.jpg
imageManipulation.php::683 -> Compressing image: /mnt/web_v/d20/s38/b025e6c9/www/albums/phone_pics/aad.jpg
util.php::153 -> Executing: '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/jpegtopnm' '/mnt/web_v/d20/s38/b025e6c9/www/albums/phone_pics/aad.jpg' | '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/pnmscale' -xysize 150 150 | '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/pnmtojpeg' --quality=50 > '/mnt/web_v/d20/s38/b025e6c9/www/albums/phone_pics/aad.thumb.jpg'

Results:

none

Debug messages:

/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/pnmscale: permission denied
/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/jpegtopnm: permission denied
Cannot fork: Resource temporarily unavailable

Status: 2 (expected 0)
Error: Unable to make thumbnail (0)
Need help? Look in the Gallery FAQ
Operation was done successfully. Emailing is on, but no email was sent as no valid email address was found

_____________________________________________________

Ran some of the diagnostics and netbpm gave the following warning/errors:

Checking: '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/giftopnm' Expected status: 0, but actually received status 126.
Checking: '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/jpegtopnm' Expected status: 0, but actually received status 126.
Checking: '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/pngtopnm' Expected status: 0, but actually received status 126.
Checking: '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/pnmcut' Expected status: 0, but actually received status 126.
Checking: '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/pnmfile' Expected status: 0, but actually received status 126.
Checking: '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/pnmflip' Expected status: 0, but actually received status 126.
Checking: '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/pnmrotate' Expected status: 0, but actually received status 126.
Checking: '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/pnmscale' Expected status: 0, but actually received status 126.
Checking: '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/pnmtopng' Expected status: 0, but actually received status 126.
Checking: '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/ppmquant' Expected status: 0, but actually received status 126.
Checking: '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/ppmtogif' Expected status: 0, but actually received status 126.
Checking: '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/pnmtojpeg' Expected status: 0, but actually received status 126.
Checking: '/mnt/web_v/d20/s38/b025e6c9/www/gallery/netpbm/pnmcomp' Expected status: 0, but actually received status 126.

Can anyone offer any assistance? It says permission is decided, but I have verified that the netpbm directory and all the files inside have the proper permissions (0755)

I have tried to use netpbm1.1-gallery1.0-linux2.2-redhat6.2-intel.tgz and netpbm_gallery-1.4-pl2-linux-intel.zip

Wanted to try imagemagick, but for some reason whenever I try to untar a large file, my ssh session cuts out, so I can't uncompress the tar and there are too many files to upload individually (over 1700)