Error: Unable to make thumbnail (0)
|
banditox
![]()
Joined: 2005-06-25
Posts: 11 |
Posted: Fri, 2005-09-02 05:46
|
|
Error: Unable to make thumbnail (0) Everything used to work fine. However, recently when I try to upload pictures, I get this error message (I even tried uploading pictures that I have uploaded before!!)[/url] |
|


Posts: 13451
FAQ Gallery:c.31 and try a form based upload. Post the debug results.
Posts: 1
i got the very same problem.
============
PHP v4.3.10
gallery v1.5-pl1
Graphics Toolkit: netpbm
Operating system: Linux
============
Results:
none
Debug messages:
Status: 127 (expected 0)
Error: Unable to make thumbnail (0)
-> system, passthru, shell_exec, popen, escapeshellcmd, proc_open
==============================================
Gallery Diagnostics:
Check netpbm:
Checking: '/var/www/web200/html/netpbm/giftopnm' Expected status: 0, but actually received status 127.
Checking: '/var/www/web200/html/netpbm/jpegtopnm' Expected status: 0, but actually received status 127.
Checking: '/var/www/web200/html/netpbm/pngtopnm' Expected status: 0, but actually received status 127.
Checking: '/var/www/web200/html/netpbm/pnmcut' Expected status: 0, but actually received status 127.
Checking: '/var/www/web200/html/netpbm/pnmfile' Expected status: 0, but actually received status 127.
Checking: '/var/www/web200/html/netpbm/pnmflip' Expected status: 0, but actually received status 127.
Checking: '/var/www/web200/html/netpbm/pnmrotate' Expected status: 0, but actually received status 127.
Checking: '/var/www/web200/html/netpbm/pnmscale' Expected status: 0, but actually received status 127.
Checking: '/var/www/web200/html/netpbm/pnmtopng' Expected status: 0, but actually received status 127.
Checking: '/var/www/web200/html/netpbm/ppmquant' Expected status: 0, but actually received status 127.
Checking: '/var/www/web200/html/netpbm/ppmtogif' Expected status: 0, but actually received status 127.
Checking: '/var/www/web200/html/netpbm/pnmtojpeg' Expected status: 0, but actually received status 127.
Checking: '/var/www/web200/html/netpbm/pnmcomp' Expected status: 0, but actually received status 127.
==============================================
Gallery Configuration Wizard: Step 1
Serious Warning!
The PHP option 'register_globals' is enabled on your server. Gallery highly recommends that you disable 'register_globals' unless it is required by software on your site. Gallery does not officially support 'register_globals' being enabled, and will attempt to disable it internally.
Posts: 13451
-> system, passthru, shell_exec, popen, escapeshellcmd, proc_open
Gallery won't run with these functions disabled, you'll need to contact your host.
Posts: 1
Gallery: 1.5.1 RC3
Apache 2.0.52
PHP 4.3.8
Grafix tools: Both netpbm and ImageMagick
OS: Windows XP
Output from Gallery in debug mode:
Doing the naming
Image Preprocessing
Resizing/compressing original image
util.php::481 -> Resizing Image: C:/Program/Apache Group/Apache2/htdocs/albums/Thailand/MartinA.jpg
util.php::329 -> Getting Dimension of file: C:/Program/Apache Group/Apache2/htdocs/albums/Thailand/MartinA.jpg
No resizing required
Adding Photo to the photo list
util.php::989 -> File C:/Program/Apache Group/Apache2/htdocs/albums/Thailand/MartinA.jpg type 2.
util.php::329 -> Getting Dimension of file: C:/Program/Apache Group/Apache2/htdocs/albums/Thailand/MartinA.jpg
Generating thumbnail.
util.php::481 -> Resizing Image: C:/Program/Apache Group/Apache2/htdocs/albums/Thailand/MartinA.jpg
util.php::329 -> Getting Dimension of file: C:/Program/Apache Group/Apache2/htdocs/albums/Thailand/MartinA.jpg
util.php::277 -> Executing: "C:\Program\Apache Group\Apache2\htdocs\hbit\html\modules\gallery\netpbm\jpegtopnm" "C:\Program\Apache Group\Apache2\htdocs\albums\Thailand\MartinA.jpg" | "C:\Program\Apache Group\Apache2\htdocs\hbit\html\modules\gallery\netpbm\pnmscale" -xysize 150 150 | "C:\Program\Apache Group\Apache2\htdocs\hbit\html\modules\gallery\netpbm\pnmtojpeg" --quality=90 > "C:\Program\Apache Group\Apache2\htdocs\albums\Thailand\MartinA.thumb.jpg"
Results:
none
Debug messages:
Status: 1 (expected 0)
Error: Unable to make thumbnail (0)
Posts: 13451
Najjt, and this is remotely related to what in the original thread?
Anyway, move the NetPBM binaries to a directory without spaces in it. If you have further problems, create a new thread.
Posts: 11
Hi h0bbel,
Here is the error message:0
Doing the naming Image Preprocessing Resizing/compressing original image Resizing Image: /home/mykereta/public_html/gallery1/albums/MyVi/TESTALIGNSYNERGY2.jpg Getting Dimension of file: /home/mykereta/public_html/gallery1/albums/MyVi/TESTALIGNSYNERGY2.jpg No resizing required Adding Photo to the photo list File /home/mykereta/public_html/gallery1/albums/MyVi/TESTALIGNSYNERGY2.jpg type 2. Getting Dimension of file: /home/mykereta/public_html/gallery1/albums/MyVi/TESTALIGNSYNERGY2.jpg Generating thumbnail. Resizing Image: /home/mykereta/public_html/gallery1/albums/MyVi/TESTALIGNSYNERGY2.jpg Getting Dimension of file: /home/mykereta/public_html/gallery1/albums/MyVi/TESTALIGNSYNERGY2.jpg Executing: '/usr/local/bin/convert' -quality 90 -size 100x100 -coalesce '/home/mykereta/public_html/gallery1/albums/MyVi/TESTALIGNSYNERGY2.jpg' -geometry 100x100 '/home/mykereta/public_html/gallery1/albums/MyVi/TESTALIGNSYNERGY2.thumb.jpg' Results: none Debug messages: sh: line 1: /usr/local/bin/convert: No such file or directory Status: 127 (expected 0)Posts: 13451
banditox, so, your path to ImageMagick is wrong. Either fix that, or install NetPBM and use that instead.
Posts: 11
Thanks h0bbel, appearantly my webhosting company moved my website to a new server without infroming me. :evil: Anyway its fixed now. Thanks again
Posts: 13451
h0bbel, that happens pretty frequently.
Posts: 1535
Uh oh... he's talking to himself again... not a good sign...
Posts: 13451
Well, h0bbel happens frequently. Over 10k times so far!