Sudden thumbnail problem

larskt

Joined: 2004-03-28
Posts: 4
Posted: Sun, 2006-07-09 19:05

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.larskristian.com/modules/gallery/
Gallery version:1.4.4
Apache version:Apache/1.3.34 (Unix) PHP/4.4.1 mod_ssl/2.8.25 OpenSSL/0.9.7a FrontPage/5.0.2.2635 mod_throttle/3.1.2
PHP version (don't just say PHP 4, please):PHP Version 4.4.1
Graphics Toolkit: Not sure about this one?
Operating system:Windows XP
Web browser/version (if applicable):

Hi, i have gallery 1.1.4 and it has been working like a charm now for over a year. But now suddenly it doesn't work anymore.

Whenever i try to upload new pictures i get the message "Processing status...

- Adding <filename>.jpg
Resizing/compressing original image
No resizing required
Error: Unable to make thumbnail (0)
"

What should i do? I saw the other post where someone had problems with their thumbnails that it maybe means that the host has disabled something? Could this be the problem here as well? PS! According to my configuration: "Success exec() is not disabled on this server" So it cant be that? Or? Anyone have any good ideas?

sincerely Lars, Norway

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2006-07-09 22:15

The probkem might be several things. Enable debug output ( FAQ: How do I put my Gallery into debug mode? ) and try a form based upload. Post the debug results.


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org

 
dsbolt

Joined: 2006-07-10
Posts: 1
Posted: Mon, 2006-07-10 12:39

Hello Folks,

I too have just had this problem occur. I believe my hosts have just done a small PHP upgrade and everything seems to be ok apart from uploading images. Here's my debug output:

Executing:

'/usr/local/bin/convert' -quality 90 -size 150x150 +profile '*' '/home/1741/serene/www.underwaterpics.co.uk/public_html/2005albums/fish/P7051495asm.jpg' -geometry 150x150 '/home/1741/serene/www.underwaterpics.co.uk/public_html/2005albums/fish/P7051495asm.thumb.jpg'

Results:
none

Debug messages::
sh: /usr/local/bin/convert: No such file or directory

Any help greatly appreciated!

 
larskt

Joined: 2004-03-28
Posts: 4
Posted: Mon, 2006-07-17 11:23

Ok. I tried to set it in debug mode, but got all sorts of errors in config wizard:

Error: zipinfo: /usr/local/bin/zipinfo must be a valid file (not a directory)!

Error: unzip: /usr/local/bin/unzip must be a valid file (not a directory)!

Error: use_exif: /usr/local/bin/jhead must be a valid file (not a directory)!

$gallery->app->cacheExif = "no";

Error: use_jpegtran: /usr/local/bin/jpegtran must be a valid file (not a directory)!

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2006-07-17 12:17

dsbolt: ImageMagick isn't instaled where you've told Gallery it is. Either get your host to fix that, or install netPBM instead.

larst: clear the paths for the zipinfo/unzip/jhead binaries in your config, the files obviously isn't there.


http://h0bbel.p0ggel.org

 
larskt

Joined: 2004-03-28
Posts: 4
Posted: Mon, 2006-07-17 17:14

Ok. I cleared the paths so i got into debug mode. This is the message i got when trying to upload a picture:

Processing status...

- Adding praksis.jpg
Resizing/compressing original image
No resizing required
File /hsphere/local/home/larskris/larskristian.com/album/album36/praksis.jpg type 2.

Executing:

'/usr/local/bin/convert' -quality 90 -size 150x150 +profile '*' '/hsphere/local/home/larskris/larskristian.com/album/album36/praksis.jpg' -geometry 150x150 '/hsphere/local/home/larskris/larskristian.com/album/album36/praksis.thumb.jpg'

Results:
none

Debug messages::
sh: /usr/local/bin/convert: No such file or directory

Status: 127 (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

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2006-07-17 18:32

Ok, read my comment to dsbolt above.


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org

 
rahulg

Joined: 2009-04-21
Posts: 1
Posted: Tue, 2009-04-21 06:29

i have uploaded an image in the tutorial.........but a small screen displays with an error saying "Error creating thumbnail: /usr/local/bin/convert: not found"........can you please help in resolving why is this error reflecting[img]http://www.installationwiki.org/Image:1847197868.jpg[/img]