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...
- Adding Dscf0001.jpg
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ

For every photo that I tried to upload I got this error. A gif file worked fine. Please HELP-ME !!!
This is very strangh, because first worked and know didn´t .

----
my server www.locasite.com.br
Get this information from the PHP diagnostic (in the configuration wizard).
www.marlycecilio.com (click in OBRAS)
Gallery version: 1.3.3
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system: win98
Web browser/version (if applicable): IE 5

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sat, 2003-12-13 12:49

FAQ Gallery:c.31 <-- then give us the verbose error. Thanks!

 
andrec

Joined: 2003-12-13
Posts: 6
Posted: Sat, 2003-12-13 22:12

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

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sun, 2003-12-14 00:46

sh: /usr/bin/convert: No such file or directory

Means what it says, man :) Verify the position of ImageMagick. Try FAQ Gallery:c.32

 
nolfie

Joined: 2003-12-14
Posts: 1
Posted: Sun, 2003-12-14 14:21

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:

 
andrec

Joined: 2003-12-13
Posts: 6
Posted: Sun, 2003-12-14 14:40

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???

 
dangray

Joined: 2003-05-26
Posts: 51
Posted: Sun, 2003-12-14 15:33
nolfie wrote:
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:

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

 
andrec

Joined: 2003-12-13
Posts: 6
Posted: Mon, 2003-12-15 15:50

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....

 
evilove

Joined: 2003-12-15
Posts: 1
Posted: Mon, 2003-12-15 18:34

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)!

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Mon, 2003-12-15 22:06
 
mannybz

Joined: 2003-04-22
Posts: 11
Posted: Tue, 2003-12-16 05:39

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.

 
ccanevit

Joined: 2003-10-11
Posts: 60
Posted: Tue, 2003-12-16 10:55

guys, when you look at those directories, are the files there?

 
dangray

Joined: 2003-05-26
Posts: 51
Posted: Tue, 2003-12-16 11:03

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

 
ccanevit

Joined: 2003-10-11
Posts: 60
Posted: Tue, 2003-12-16 12:15

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

 
dangray

Joined: 2003-05-26
Posts: 51
Posted: Tue, 2003-12-16 12:33

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?

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Tue, 2003-12-16 12:34

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.

 
dangray

Joined: 2003-05-26
Posts: 51
Posted: Tue, 2003-12-16 12:41

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

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Tue, 2003-12-16 12:58

OK :( I guess you'll want to wait on your host then.

 
ccanevit

Joined: 2003-10-11
Posts: 60
Posted: Tue, 2003-12-16 14:34

You should be able to try to run them.

 
mannybz

Joined: 2003-04-22
Posts: 11
Posted: Tue, 2003-12-16 15:29

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

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Tue, 2003-12-16 17:26

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 (

)

 
mannybz

Joined: 2003-04-22
Posts: 11
Posted: Tue, 2003-12-16 17:39

/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.

 
mannybz

Joined: 2003-04-22
Posts: 11
Posted: Tue, 2003-12-16 17:43

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.

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Wed, 2003-12-17 15:19

mannybz: great! Good luck w/your gallery :)

 
mannybz

Joined: 2003-04-22
Posts: 11
Posted: Wed, 2003-12-17 16:55

thanks... I will be happpy to help anyone if the need it.

 
andrec

Joined: 2003-12-13
Posts: 6
Posted: Wed, 2003-12-17 23:16

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...

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2003-12-17 23:35

andrec, STOP SHOUTING!! :)

Please start your own thread, and post the errors you get when going through FAQ Gallery:c.2

 
andrec

Joined: 2003-12-13
Posts: 6
Posted: Thu, 2003-12-18 14:15

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!

 
happydog

Joined: 2003-12-18
Posts: 4
Posted: Thu, 2003-12-18 15:13

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

 
mannybz

Joined: 2003-04-22
Posts: 11
Posted: Thu, 2003-12-18 15:22

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:

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2003-12-18 16:00

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. :)

 
mannybz

Joined: 2003-04-22
Posts: 11
Posted: Thu, 2003-12-18 21:28

ok... my error message is a little different now...

here it is:

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2003-12-18 21:37

mannybz, FAQ Gallery:c.5

 
mannybz

Joined: 2003-04-22
Posts: 11
Posted: Fri, 2003-12-19 16:33

I don't understand what this means? I don't see anything in the error message abuot safe mode.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Fri, 2003-12-19 16:58

Look at your screenshot:

".... has been disabled for security reasons"

Thats the equivalent of setting safe mode on.

 
mannybz

Joined: 2003-04-22
Posts: 11
Posted: Fri, 2003-12-19 19:53

error

 
mannybz

Joined: 2003-04-22
Posts: 11
Posted: Fri, 2003-12-19 19:53

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:

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-12-19 20:03

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.

 
mannybz

Joined: 2003-04-22
Posts: 11
Posted: Mon, 2003-12-22 20:25

Anyone willing to make a little cash to help me resolve this problem?

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2003-12-22 20:55

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)