[b]Unable to make thumbnail (0)![/b]
|
ajmboy
Joined: 2004-05-05
Posts: 11 |
Posted: Wed, 2004-05-05 03:09
|
|
Installed Gallery, and have tried to figure this out on my own and can't figure out what I'm missing. I uploaded in Binary mode, pretty sure I'm using the correct NETPBM, set permission..... When trying to upload images, I get this result: Adding Picture 001.jpg Executing: '/mnt/web_g/d07/s24/b01e3354/www/gallery/netpbm/jpegtopnm' '/mnt/web_g/d07/s24/b01e3354/www/gallery/albums/album01/Picture_001.jpg' | '/mnt/web_g/d07/s24/b01e3354/www/gallery/netpbm/pnmscale' -xysize 150 150 | '/mnt/web_g/d07/s24/b01e3354/www/gallery/netpbm/pnmtojpeg' --quality=90 > '/mnt/web_g/d07/s24/b01e3354/www/gallery/albums/album01/Picture_001.thumb.jpg' Results: Error messages:: Status: 126 (expected 0) Need Help......PLEASE! Give us your Gallery/webserver information to get a faster answer. |
|
| Login or register to post comments |

Posts: 16
same here...with imagemagick?
Posts: 13452
ajmboy, 126 seems to indicate that you are using the wrong binares. What binaries did you upload? An actual url to your site might help us determine what system your host is running.
Posts: 11
The site URL is http://www.quadcrazy.com/gallery/index.php . I installed NETPBM and tried all the versions. I also tried uploading pics through Win XP. Tried different remote applet. Could not get Image magick to work either. Thanks in advance for the help!
Posts: 13452
You need the FreeBSD binaries, try out the 1.1 NetPBM as there has been some issues with the 1.4 ones.
Posts: 6
Hello, I upgraded my gallery to v1.4.3 and now it doesnt work,
I did everything it says in the docs, CMODDING the setup and index files, ect ect and uploading. but now everytime i upload a image it says:
Processing status...
- Adding smbssheader.gif
Resizing/compressing original image
No resizing required
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ
It was working perfect b4 i upgraded and i have a gallery full of pictures!
Can anyone please help? I backed up the old version and re-uploaded it but im still having the same problem!!!!
THANKS!
Posts: 13452
nolimit955, post the full debug results. FAQ Gallery:c.31
Posts: 6
Processing status...
- Adding banner.jpg
Resizing/compressing original image
No resizing required
File /home/nintendoadvance/public_html/Screenshots/album03/aad.jpg type 2.
Executing:
'/home/nintendoadvance/public_html/netpbm/jpegtopnm' '/home/nintendoadvance/public_html/Screenshots/album03/aad.jpg' | '/home/nintendoadvance/public_html/netpbm/pnmscale' -xysize 120 120 | '/home/nintendoadvance/public_html/netpbm/ppmtojpeg' --quality=95 > '/home/nintendoadvance/public_html/Screenshots/album03/aad.thumb.jpg'
Results:
none
Error messages::
sh: /home/nintendoadvance/public_html/netpbm/jpegtopnm: cannot execute binary file
pnmscale: EOF / read error reading magic number
ppmtojpeg: EOF / read error reading magic number
Status: 1 (expected 0)
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ No email sent as no valid email addresses were found
Posts: 13452
My advice is the same as earlier. Check what system your host runs, and upload the correct binaries. If it's FreeBSD, try the 1.1. NetPBM binaries.,
Posts: 11
I will try and install netpbm 1.1. Question, why is it that version 1.1 comes as a single file and 1.4 comes with folders and seperate php files. Maybe this is a dumb question, sorry.
Posts: 13452
ajmboy, NETPBM 1.4 (our version) does not come with php files, thats Gallery. The NetPBM binaries are also more than one file, if you get one file when extracting them, check FAQ Gallery:c.25
Posts: 11
I installed NETPBM 1.1 and still receive the same errors:
Processing status...
- Adding 8 ╕- - 002.jpg
Resizing/compressing original image
No resizing required
File /mnt/web_g/d07/s24/b01e3354/www/gallery/albums/album02/8_002.jpg type 2.
Executing:
'/mnt/web_g/d07/s24/b01e3354/www/gallery/netpbm/jpegtopnm' '/mnt/web_g/d07/s24/b01e3354/www/gallery/albums/album02/8_002.jpg' | '/mnt/web_g/d07/s24/b01e3354/www/gallery/netpbm/pnmscale' -xysize 150 150 | '/mnt/web_g/d07/s24/b01e3354/www/gallery/netpbm/ppmtojpeg' --quality=90 > '/mnt/web_g/d07/s24/b01e3354/www/gallery/albums/album02/8_002.thumb.jpg'
Results:
none
Error messages::
/mnt/web_g/d07/s24/b01e3354/www/gallery/netpbm/jpegtopnm: permission denied
/mnt/web_g/d07/s24/b01e3354/www/gallery/netpbm/pnmscale: permission denied
/mnt/web_g/d07/s24/b01e3354/www/gallery/netpbm/ppmtojpeg: permission denied
Status: 126 (expected 0)
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ No email sent as no valid email addresses were found
Posts: 11
I also made sure to upload NETPBM in Binary mode, still same errors. Any suggestions?
Posts: 13452
You need to re-chmod the directory and files.
Posts: 6
well if it worked b4 i upgraded it, what difference would it make?
can anyone please help? thank you
Posts: 13452
Bloody hell....
guess what that error message means?
I'm sorry that I tried helping you, clearly I have no clue whatsoever what I'm doing. Basically people like you.... nevermind, I won't even bother.
Posts: 6019
Don't let him get to you, h0bbel. You're giving him the right answer, even if he's not picking up on it right away. ajmboy you're getting help from one of the best tech support guys on this project. He's taking time out of his day to help you, for free with your problem. He's also giving you the correct answer to your problem. Take a deep breath, read it more carefully and listen to what he's saying and you'll have a working Gallery.
Posts: 11
I re-chmod the directory and files, and ran config wizard again. same errors.
Processing status...
- Adding 8 ╕- - 014.jpg
Resizing/compressing original image
No resizing required
File /mnt/web_g/d07/s24/b01e3354/www/gallery/albums/album01/8_014.jpg type 2.
Executing:
'/mnt/web_g/d07/s24/b01e3354/www/gallery/netpbm/jpegtopnm' '/mnt/web_g/d07/s24/b01e3354/www/gallery/albums/album01/8_014.jpg' | '/mnt/web_g/d07/s24/b01e3354/www/gallery/netpbm/pnmscale' -xysize 150 150 | '/mnt/web_g/d07/s24/b01e3354/www/gallery/netpbm/ppmtojpeg' --quality=90 > '/mnt/web_g/d07/s24/b01e3354/www/gallery/albums/album01/8_014.thumb.jpg'
Results:
none
Error messages::
/mnt/web_g/d07/s24/b01e3354/www/gallery/netpbm/pnmscale: permission denied
/mnt/web_g/d07/s24/b01e3354/www/gallery/netpbm/jpegtopnm: permission denied
/mnt/web_g/d07/s24/b01e3354/www/gallery/netpbm/ppmtojpeg: permission denied
Status: 126 (expected 0)
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ No email sent as no valid email addresses were found
Posts: 11
Still same problem after re-chmod the directory and files. I am able to upload a small image that does not need to resized.
Posts: 11
Sorry hobbel, I really appreciate the help. I will keep trying here, I must be doing something wrong here.
Posts: 6019
ajmboy, can you post the results of the following two command for us:
That should help us figure out what's going on. Thanks!
Posts: 13
I am having the same problem as everyone else. The binaries don't seem to be creating thumbnails. In fact to destroy a perfectly good set of thumbs all you have to do is recreate existing ones. I am having the problem on my servers. They are running SME (mitel) aka e-smith 5.6 and I also have a site on a rented server. The site can be seen at http://www.emeraldlifestylehomes.com I am running a the latest complication of NetPBM on both sites. On my test server I can not get a clean install because the configuration program won't recognize "pnmtojpeg" If you wish to take a look email me at
and I will give you the admin password. I will also donate to the cause if you are able to help.
Posts: 6
im still geting the same problems too!
Posts: 13
It would appear that we may have a bad compile on the binairy pmntojpeg. When I attempt to do an install the configuration program fails to recognized pmntojpeg as being present.
On a server that seems to regonize pmntojpeg i.e. www.emeraldlifestylehomes.com, Thumnails are not created, consequently, highphoto doesn't work either because there is no thumbnail. It is interesting to note that if one executes the command to rebuild all thumbs. They all go away. However, no error message is generated. If I can be of help in paint this bug into a corner let me know. I have been working with and very happy with Gallery for sometime now and wish to contribute to is continuing sucess as the best of all Galleries. :D
Posts: 6
I've tried all of this stuff.. 1.1 binaries and everything..I am getting the Unable to make thumbnail error as well.. Is there a fix or a way to upgrade to an older version that works?
Posts: 6
I didn't even get an error message...
- Adding helen1.jpg
Resizing/compressing original image
No resizing required
File /var/www/html/albums/album01/helen1.jpg type 2.
Executing:
'/var/www/html/netpbm/jpegtopnm' '/var/www/html/albums/album01/helen1.jpg' | '/var/www/html/netpbm/pnmscale' -xysize 150 150 | '/var/www/html/netpbm/ppmtojpeg' --quality=90 > '/var/www/html/albums/album01/helen1.thumb.jpg'
Results:
none
Error messages::
Status: 255 (expected 0)
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ No email sent as no valid email addresses were found
please help me out!! the people I'm making this site for are waiting!
edit-- would moving the albums folder to the gallery directory help anything? I've already fiddled with CHMOD and I still can't get it!
Posts: 6
nevermind i fixed it yay
Posts: 2
HOW????????
I did read all the prev. postings and whatever i use for uploading pictures, I just get this:
Processing status...
- Adding Afbeelding 001.jpg
Resizing/compressing original image
No resizing required
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ
PLEASE anyone...
Thanks for helping out...
Mark
www.foils.nl/gallery
Posts: 13
If you in fact found a fix would you be so kind as to share it?
Posts: 1
Hum,
I've got an
Status: 135 (expected 0).
And as well, was working before upgrading to v1.4.3.
Any idea what's 135 might be ?
Posts: 2
sorry to say i'm experiencing the same problem using w2k3/IIS6 with both NETPBM bins:
Posts: 13
I am deeply concerned about the apparent lack of meaningful response concerning this issue. I have been fighting it for over six weeks. The real tragedy is that once an existing album is broken it can't be fixed. If it takes money to fix the problem then how much?? I am commited to Gallery. So I guess I will have to wait this one out.
With regard to this thread and specifics. I have observed that this is not a server related problem. Many servers of different origins and setups are experiencing the same, or relatively the same problem, an all of them point to the biniaries of NetPBM. My suggestion would be to start backing out recent code for watermarks, etc and then see where the core of thumbs starts working.