Error: Unable to make thumbnail (0)!
andrec
Joined: 2003-12-13
Posts: 6 |
Posted: Sat, 2003-12-13 03:22 |
Hi, I have the Gallery version 1.3.3, alway worked fine, everything was fine. Today a tried to upload some photos but I got this error: Processando... For every photo that I tried to upload I got this error. A gif file worked fine. Please HELP-ME !!! ---- |
|
Posts: 8194
FAQ Gallery:c.31 <-- then give us the verbose error. Thanks!
Posts: 6
Hi, this is the new error message:
Processando...
- Adding andre4.jpg
Executing:
/usr/bin/convert -quality 95 -size 150x150 /home/securespace/home/newwebsite/www/clientes/marlycecilio/gallery/albums/album04/andre4.jpg -geometry 150x150 +profile "*" /home/securespace/home/newwebsite/www/clientes/marlycecilio/gallery/albums/album04/andre4.thumb.jpg
Results:
none
Error messages:
sh: /usr/bin/convert: No such file or directory
Status: 127 (expected 0)
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ
Posts: 8194
sh: /usr/bin/convert: No such file or directory
Means what it says, man Verify the position of ImageMagick. Try FAQ Gallery:c.32
Posts: 1
today i've got the same problem...
The error i've got is...
Executing:
/usr/gallery/netpbm/bin/jpegtopnm /opt/www/nolfj/web/www.rth.be/albums/Rembert-Torhout-Heren/cercle.jpg | /usr/gallery/netpbm/bin/pnmscale -xysize 150 150 | /usr/gallery/netpbm/bin/pnmtojpeg --quality=95 > /opt/www/nolfj/web/www.rth.be/albums/Rembert-Torhout-Heren/cercle.thumb.jpg
Results:
none
Error messages::
sh: /usr/gallery/netpbm/bin/jpegtopnm: No such file or directory
sh: /usr/gallery/netpbm/bin/pnmscale: No such file or directory
sh: /usr/gallery/netpbm/bin/pnmtojpeg: No such file or directory
Status: 127 (expected 0)
Error: Unable to make thumbnail (0)!
what can be the problem here...???
A few days ago everything works fine....
:cry:
Posts: 6
Hi, I asked to my ISP, but they told me that no change was done. So I think that the problm is with Gallery!!! Please is there a way to upgrade the version without lost the photos already posted???
Posts: 51
Nofie,
I'm getting this same error after my host made some change on their serer. I don't have it resolved yet either.
But, make sure your path to NetPBM is correct. Ask your host.
Dan
Posts: 6
I dont use netPMB I use imagemagick. I don´t know what to do!!! Me server say that no change was done! I realy need help....
Posts: 1
I get this message when I try and upload pictures to an album...
- Adding arg.jpg
Resizing/compressing original image
No resizing required
File /home/evilovex/public_html/albums/album01/arg.jpg type 2.
Executing:
/gallery/netpbm1.1-gallery1.0-linux2.2-redhat6.2-intel/jpegtopnm /home/evilovex/public_html/albums/album01/arg.jpg | /gallery/netpbm1.1-gallery1.0-linux2.2-redhat6.2-intel/pnmscale -xysize 150 150 | /gallery/netpbm1.1-gallery1.0-linux2.2-redhat6.2-intel/pnmtojpeg --quality=90 > /home/evilovex/public_html/albums/album01/arg.thumb.jpg
Warning: exec,system,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_open,shell_exec() has been disabled for security reasons in /home/evilovex/public_html/gallery/platform/fs_unix.php on line 34
Results:
none
Error messages::
Status: (expected 0)
Error: Unable to make thumbnail (0)!
Posts: 8194
FAQ Gallery:c.29
Posts: 11
here is an image of my error message. its attached as a jpeg.
The binaries are there I just dont understand why it doesnt see them.
Posts: 60
guys, when you look at those directories, are the files there?
Posts: 51
ccanevit,
I'm getting the same error as mannybz is showing (above).
I've been fighting this for days. I've even reinstalled and setup Gallery, but no change. Yes, a file (imagename.thumb.jpg) does appear in the album. Do you have an idea?
Dan
Posts: 60
I'm still new to this myself.
But its unable to find the NetPBM files according to your error message:
sh: /usr/gallery/netpbm/bin/jpegtopnm: No such file or directory
sh: /usr/gallery/netpbm/bin/pnmscale: No such file or directory
sh: /usr/gallery/netpbm/bin/pnmtojpeg: No such file or directory
Those 3 files should be there. jpegtopnm pnmscale and pnmtojpeg
Posts: 51
That's what I told my Host! I asked them to confirm the location of NetPBM. They said it was correct. Could it be a rights issue?
Posts: 8194
But they are not! Download NetPBM yourself (Gallery SF.net download page) and put it in your home directory; use FAQ Gallery:c.32 if you don't know where they are.
The other problem could be permissions. Chmod all binaries 0755, including all the parent directories.
Posts: 51
Joyoflinux,
I agree they aren't. I'm waiting for their last response before installing NetPBM for myself, as you've suggested. Gallery used to work perfectly until last Thursday when someone hacked their server. I believe they tightened the screws too tight and are causing these errors.
I've thought about chmoding all files, but would I be able to create the albums, users, etc, if that was the problem? ( I can do those things).
Dan
Posts: 8194
OK I guess you'll want to wait on your host then.
Posts: 60
You should be able to try to run them.
Posts: 11
They are in the dir where the error says they are not.
What dir are they supposed to be in?
I was under the assumption that I could have them in any dir.
Please advise ole' wise one. :P
Posts: 3474
mannybz:
You seem to have specified
/clanrtc/public_html/manny/gallery/netpbm
where you ought to have specified
/home/clanrtc/public_html/manny/gallery/netpbm
-Beckett (
)
Posts: 11
/clanrtc/public_html/manny/gallery/netpbm
when I add that line... netpbm works fine.
If I add this line:
/home/clanrtc/public_html/manny/gallery/netpbm
net pbm will not work.
Posts: 11
well I'll be damned.... I made the change... and it worked...
go figure.
Before it wouldn't work. I just dont get it.
But hey... its working now.
Posts: 3474
mannybz: great! Good luck w/your gallery
Posts: 11
thanks... I will be happpy to help anyone if the need it.
Posts: 6
Hey, this is for people that will help us:
EVEREBODY HAVE THE SAME ERROR:
THE GALLERY ALWAYS WORKED FINE, FROM SOME DAYS TO NOW THE GALLERY IS POSTING THIS ERROR WHEN A PICTURE IS UPLOADED. OF COURSE THAT THE ERROR ISN´T AT THE SERVER. BECAUSE MANY PEOPLE HAVE THE SAME ERROR, I THINK THAT THE ERROR IS A VARIABLE OR BUG RELATED WITH DATE.
PLEASE. SOMEBODY SHOULD HAVE THE SOLUTION!!!
PS: HOW CAN I UPGRADE MY GALLERY??? MAYBE WORKS...
Posts: 13451
andrec, STOP SHOUTING!!
Please start your own thread, and post the errors you get when going through FAQ Gallery:c.2
Posts: 6
look ate the first message of this discussion! I posted the first message! the error are there. And my host always say that no change was done at the server!!! I´m really lost!
Posts: 4
No thumbnail ---- made
Using gallery 1.4.1
imagemagick
apache2
php4.3.4
I can upload very small files, however larger jpegs give the no thumbnail error.
here is a sample of the error message -
Adding cr 400x75.jpg
Resizing/compressing original image
No resizing required
File C:/Apache2/www/public/ipcamera/albums/album01/cr_400x75.jpg type 2.
Executing:
c:imagemagick\convert -quality 90 -size 150x150 +profile '*' C:\Apache2\www\public\ipcamera\albums\album01\cr_400x75.jpg -geometry 150x150 C:\Apache2\www\public\ipcamera\albums\album01\cr_400x75.thumb.jpg
Results:
none
Error messages::
Status: 1 (expected 0)
Error: Unable to make thumbnail (0)!
php is not in safe mode nor or there any other directives I can find. Image magick seemks to work ok from the consloe and also
Coppermine works fine using image magick.
What else can cause a status "0" ??
thank you
Posts: 11
well so much for me being happy...
It's doing it again. It was working fine, I was able to upload one album and as I started the second one... it was a no go.
Maybe I need to go back to Gallery 1.3.
:roll:
Posts: 13451
OK, i've lost it.
I have no clue as to who is having which problem here. PLEASE start over.
And, andrec, sorry about that. It looked so much like a new posting in and sold thread.
Posts: 11
ok... my error message is a little different now...
here it is:
Posts: 13451
mannybz, FAQ Gallery:c.5
Posts: 11
I don't understand what this means? I don't see anything in the error message abuot safe mode.
Posts: 13451
Look at your screenshot:
".... has been disabled for security reasons"
Thats the equivalent of setting safe mode on.
Posts: 11
error
Posts: 11
well it seems that I'm out of luck on the gallery safe mode issue.
Are there any other work arounds to help resolve my issue?
this is an AIM conversation with my webhosting company:
Posts: 8194
http://thoa.ath.cx/pr/quotes/index.php?getQuote=152
That quote from bharat applies very well to your host. They are obviously not going to change, so your options are 1) FAQ Gallery:b.3 2) Find a gallery alternative 3) Find another host.
Posts: 11
Anyone willing to make a little cash to help me resolve this problem?
Posts: 13451
mannybz, I could bleed you dry, but it won't help.
If you want someone to help you out with making PHP work as a CGI module, I suggest Paid Support.
If thats not what you are after, changing hosts is the only way to go (tm)