Upload error: Upload failed: 'Unable to make thumbnail (0)'.

phratt

Joined: 2005-09-11
Posts: 8
Posted: Sat, 2005-09-17 22:23

Hello,

I just installed Gallery and when I upload (or try to) a picture, this is the message I get:

Upload error: Upload failed: 'Unable to make thumbnail (0)'.

What can be done?

These are the info you ask for:

Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): www.rfgain.ca/photo
Gallery version:version 1.5
Apache version:Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7d PHP/4.3.11 mod_perl/1.29 FrontPage/5.0.2.2510
PHP version (don't just say PHP 4, please):PHP Version 4.3.11
Graphics Toolkit:Imagemagik 6,2,4,4
Operating system:FreeBSD wh-da-4654.lcinter.net 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Sun Ap i386
Web browser/version (if applicable):Netscape 7.2 / explorer 6.0.2600

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2005-09-17 22:28

FAQ: How do I put my Gallery into debug mode? then do 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

 
phratt

Joined: 2005-09-11
Posts: 8
Posted: Sat, 2005-09-17 23:17

Once in debug mode I did a form upload and this was the result:

******Adding P7270015.JPG*****

Doing the naming
Image Preprocessing
Resizing/compressing original image
Resizing Image: /home/domains/rfgain.ca/public_html/photo/albums/album01/P7270015.jpg
Getting Dimension of file: /home/domains/rfgain.ca/public_html/photo/albums/album01/P7270015.jpg
No resizing required
Adding Photo to the photo list
File /home/domains/rfgain.ca/public_html/photo/albums/album01/P7270015.jpg type 2.

Getting Dimension of file: /home/domains/rfgain.ca/public_html/photo/albums/album01/P7270015.jpg
Generating thumbnail.
Resizing Image: /home/domains/rfgain.ca/public_html/photo/albums/album01/P7270015.jpg
Getting Dimension of file: /home/domains/rfgain.ca/public_html/photo/albums/album01/P7270015.jpg
Executing:

'/domains/rfgain.ca/public_html/cgi-bin/imagemagic/utilities/convert' -quality 90 -size 150x150 -coalesce '/home/domains/rfgain.ca/public_html/photo/albums/album01/P7270015.jpg' -geometry 150x150 '/home/domains/rfgain.ca/public_html/photo/albums/album01/P7270015.thumb.jpg'

Results:

none

Debug messages:

/domains/rfgain.ca/public_html/cgi-bin/imagemagic/utilities/convert: not found

Status: 127 (expected 0)
Error: Unable to make thumbnail (0)

In /domains/rfgain.ca/public_html/cgi-bin/imagemagic/utilities/ I found:

convert.1
convert.1.in
convert.c

Thank you for your help
Phratt

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2005-09-18 08:05

Your path to ImageMagic is incorrect. I guess you installed the source files and not binary files? Either way, NetPBM (precompiled from our downloads section) is an easier install.

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

 
phratt

Joined: 2005-09-11
Posts: 8
Posted: Sun, 2005-09-18 12:27

Hi,

I downloaded Netbpm from the download section, unzipped and uploaded to my cgi directory. Then I went in the config wizard and changes the graphic suit to use, gave the path and gave the pnmtojpeg and pnmcomp (they are in the netpbm directory). After that I got these 2 errors: after I moved the Netpbm directory directly in public_html and got the same results.

Phratt

Error: Could not find public_html/netpbm/pnmtojpeg. Check your NetPBM directory to see which PNG->JPEG converter you have (or just try using ppmtojpeg instead). Please check your configuration (or use ImageMagick).

Error: Could not find public_html/netpbm/pnmcomp. Check your NetPBM directory to see which PNM Composite/Overlay executable you have (or just try using pamcomp instead). Please check your configuration (or use ImageMagick).

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sun, 2005-09-18 16:57
 
phratt

Joined: 2005-09-11
Posts: 8
Posted: Sun, 2005-09-18 20:22

Hi again,

I made the test.php file and uploaded it in the directory. Changed the config for the path and lost the 2 errors. Then I tried to upload a picture and got this message:

******Adding P7270013.JPG*****

Resizing/compressing original image
No resizing required
Error: Unable to make thumbnail (0)

Back to the error that started this thread, only now we are sure that the setup is OK (I think...unless I'm mistaking)

Phratt

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2005-09-18 20:31

So, again, debug mode and post results...

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

 
phratt

Joined: 2005-09-11
Posts: 8
Posted: Mon, 2005-09-19 01:21

You know, one of these days I'm gonna get the hang of this... hi hi hi

Phratt

Processing status...
******Adding P7270015.JPG*****

Doing the naming
Image Preprocessing
Resizing/compressing original image
Resizing Image: /home/domains/rfgain.ca/public_html/photo/albums/album01/P7270015.jpg
Getting Dimension of file: /home/domains/rfgain.ca/public_html/photo/albums/album01/P7270015.jpg
No resizing required
Adding Photo to the photo list
File /home/domains/rfgain.ca/public_html/photo/albums/album01/P7270015.jpg type 2.

Getting Dimension of file: /home/domains/rfgain.ca/public_html/photo/albums/album01/P7270015.jpg
Generating thumbnail.
Resizing Image: /home/domains/rfgain.ca/public_html/photo/albums/album01/P7270015.jpg
Getting Dimension of file: /home/domains/rfgain.ca/public_html/photo/albums/album01/P7270015.jpg
Executing:

'/domains/rfgain.ca/public_html/cgi-bin/imagemagic/utilities/convert' -quality 90 -size 150x150 -coalesce '/home/domains/rfgain.ca/public_html/photo/albums/album01/P7270015.jpg' -geometry 150x150 '/home/domains/rfgain.ca/public_html/photo/albums/album01/P7270015.thumb.jpg'

Results:

none

Debug messages:

/domains/rfgain.ca/public_html/cgi-bin/imagemagic/utilities/convert: not found

Status: 127 (expected 0)
Error: Unable to make thumbnail (0)

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2005-09-20 19:24

You are back to usingf ImageMagick, which doesn't exist in a binary form where you uploaded it too. Make sure you set the toolkit to NetPBM and use the correct path, chmod the directory and files in it 755, and try a new upload with debug mode on.

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

 
Xanthor

Joined: 2006-04-28
Posts: 2
Posted: Fri, 2006-04-28 10:05

Similer Problem. Keep getting the same error. Ran debug. Heres a paste:

debug_album=Ashleys1stBirthdayApril17th2006
debug_gallery_version=1.4.4-pl6
debug_user=Lord-Xanthor
debug_user_type=nuke5_user
debug_user_already_logged_in=1
image_count=0
baseurl=/modules/gallery/albums/Ashleys1stBirthdayApril17th2006/
status=0
status_text=Fetch images successful.
64781|TRACE|GalComm2 |baseurl is relative, tacking on Gallery URL (only works
for standalone)
64781|TRACE|MainFrame |Contents changed: javax.swing.event.ListDataEvent[type=
0,index0=-1,index1=0]
64781|TRACE|MainFrame |updatePicturesList: current album: Ashleys 1s
t Birt
64781|TRACE|ThumbCache|preloadThumbnails
64781|TRACE|ThumbCache|Calling Start
64781|TRACE|StatusBar |level: 0 - No selection - 0
64781|TRACE|StatusBar |level: 0 - Received 0 images descriptions. - 0
64781|TRACE|StatusBar |level: 2 - Loading thumbnails - 0
64781|TRACE|StatusBar |level: 0 - Thumbnails loaded - 0
64844|TRACE|StatusBar |level: 0 - No selection - 0
74110|INFO |MainFrame |Command selected Browse
74110|TRACE|StatusBar |level: 0 - Select pictures and/or whole folders to add
to the list - 0
81750|TRACE|MainFrame |Adding 1 pictures to album Ashleys 1st Birt
81750|TRACE|Album |addPictures: [E:\pictures\Ashley\IMG_0025.jpg]
81750|TRACE|Album |addPictures (expanded): [E:\pictures\Ashley\IMG_0025.jp
g]
81813|TRACE|ExifUtils |Picture E:\pictures\Ashley\IMG_0025.jpg has no usable E
XIF or IPTC info
81813|TRACE|ExifUtils |Picture E:\pictures\Ashley\IMG_0025.jpg EXIF ORIENTATIO
N: 1
81813|TRACE|ExifUtils |Picture E:\pictures\Ashley\IMG_0025.jpg has EXIF Date C
reated of 2006:04:16 15:54:01
81813|TRACE|MainFrame |Contents changed: javax.swing.event.ListDataEvent[type=
0,index0=0,index1=0]
81813|TRACE|MainFrame |updatePicturesList: current album: Ashleys 1s
t Birt (1)
81813|TRACE|ThumbCache|preloadThumbnails
81813|TRACE|ThumbCache|Calling Start
81828|TRACE|StatusBar |level: 2 - Loading thumbnails - 0
81844|TRACE|ImageUtils|Executing [E:\Program Files\ImageMagick-6.2.7-Q16\conve
rt.exe, -filter, Box, E:\pictures\Ashley\IMG_0025.jpg, -resize, 64x64, +profile,
*, C:\DOCUME~1\SCOTTE~1\LOCALS~1\Temp\thumbs-Scott Elkin\thumb2089262323.gif]
83563|TRACE|ImageUtils|Returned with value 0
83578|TRACE|ImageUtils|Time: 1734 - Avg: 1734
83578|TRACE|ThumbCache|update progress 1/1
83578|TRACE|StatusBar |level: 2 - Loading thumbnails - 1
83578|TRACE|StatusBar |level: 0 - Thumbnails loaded - 0
91250|TRACE|ThumbCache|preloadThumbnailFirst IMG_0025.jpg
91266|TRACE|StatusBar |level: 0 - Selected 1 picture / 849 K - 0
91360|TRACE|ThumbCache|preloadThumbnailFirst IMG_0025.jpg
91360|TRACE|StatusBar |level: 0 - Selected 1 picture / 849 K - 0
109594|INFO |MainFrame |Command selected Upload
109594|INFO |MainFrame |uploadPictures starting
109641|TRACE|GalComm2 |Still logged in to http://192.168.1.101:90/modules.php?
name...
109656|INFO |GalComm2 |Preparing to upload...
109656|TRACE|GalComm2 |add-item parameters: [HTTPClient.NVPair[name=cmd,value=
add-item], HTTPClient.NVPair[name=protocol_version,value=2.3], HTTPClient.NVPair
[name=set_albumName,value=Ashleys1stBirthdayApril17th2006], HTTPClient.NVPair[na
me=caption,value=Ashleys First EAster 2006], HTTPClient.NVPair[name=force_filena
me,value=IMG_0025.jpg], null]
109875|TRACE|GalComm2 |Connecting to: http://192.168.1.101:90/modules.php?name
=gallery&include=gallery_remote2.php
109875|TRACE|GalComm2 |Path: /modules.php?name=gallery&include=gallery_remote2
.php
109875|TRACE|GalComm |Sending cookie: user=MjpMb3JkLVhhbnRob3I6MjdhMDcwYjk5MT
ZiZjU0YzQwMTdlNzQ5M2FkYTU1NmM6MTA6OjA6MDowOjA6SWNlQ29sZDo0MDk2; expires=Sun May
28 02:53:58 PDT 2006; path=; domain=.192.168.1.101
109875|TRACE|GalComm |Sending cookie: PHPSESSID=5fa920f0597649304f037fd7b9ca0
347; path=/; domain=.192.168.1.101
109875|TRACE|GalComm |Sending cookie: lang=english; expires=Sat Apr 28 02:53:
58 PDT 2007; path=; domain=.192.168.1.101
110235|TRACE|StatusBar |level: 0 - Selected 1 picture / 849 K - 0
110766|TRACE|GalComm2 |Content-type: text/plain; charset=ISO-8859-1
110766|TRACE|GalComm2 |#__GR2PROTO__
debug_album=Ashleys1stBirthdayApril17th2006
debug_gallery_version=1.4.4-pl6
debug_user=Lord-Xanthor
debug_user_type=nuke5_user
debug_user_already_logged_in=1
status=403
status_text=Upload failed: 'Unable to make thumbnail (0)'.
110766|INFO |GalComm2 |Upload error: Upload failed: 'Unable to make thumbnail
(0)'.
110828|TRACE|StatusBar |level: 0 - Selected 1 picture / 849 K - 0

ok, now Im stumped. Updating this because I cant upload even through my own site applet too. Thought it was just the remote.

 
Xanthor

Joined: 2006-04-28
Posts: 2
Posted: Sat, 2006-04-29 05:15

After checking a few cfg files, discovered what the problem was. Turned out when I installed ImageMagick-6.2.7-Q16 and deleted the old directory, my version of phpnuke gallery didnt know where to find the new ImageMagic directory. The config.php file in phpnuke\html\modules\gallery\config.php needed to be eddited. Around line 60. Alls fine and dandy now.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2006-04-29 09:51

Yeah, it helps that Gallery knows where the toolkit is installed. ;-)


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

 
Jim_UK

Joined: 2006-04-03
Posts: 11
Posted: Sun, 2006-05-07 18:09

I have read through all these posts and have the same problem but can not resolve it. The configuration wizard shows that it sees the netpbm binaries and that they are all executable.Further it shows that there are no errors at all in the configuration. All files/directories are chmod to the correct values.
I have tried turning the debug mode on but it does not produce any sort off messages at all when attempting to upload an image. Any ideas please. The album is installed into the modules folder in phpBB2.0.20
Gallery version:version 1.5
Apache version 1.3.34 (Unix)
MySQL version 4.1.18-standard
PHP version 4.4.2

Thanks
Jim

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2006-05-08 20:32

Debug info should be in the popup window that appears when you upload an image.


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

 
Jim_UK

Joined: 2006-04-03
Posts: 11
Posted: Mon, 2006-05-08 22:10

We have enabled the debug mode and made sure that there is no popup blocker running. We get the error message that it can't create the thumbnails but do not get the dubug info on a popup window.

Jim

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2006-05-08 22:48

Please post the entire contents of the popup window.


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

 
Jim_UK

Joined: 2006-04-03
Posts: 11
Posted: Tue, 2006-05-09 17:11

The install is on my sons site and for some reason on his machine we get no debug. However on mine we get this.

******Adding droberts.jpg*****
Album.php::1161 -> Doing the naming
Album.php::1194 -> Image Preprocessing
Album.php::1199 -> Resizing/compressing original image
imageManipulation.php::36 -> Resizing Image: /home/modelshi/public_html/album/album01/droberts.jpg
imageManipulation.php::67 -> No resizing required
imageManipulation.php::573 -> File /home/modelshi/public_html/album/album01/droberts.jpg type 2.
AlbumItem.php::619 -> Generating thumbnail.
imageManipulation.php::538 -> Generating squared Version to 150px
imageManipulation.php::474 -> Cropping Image
util.php::156 -> Executing: '/home/modelshi/public_html/netpbm/jpegtopnm' '/home/modelshi/public_html/album/album01/droberts.jpg' | '/home/modelshi/public_html/netpbm/pnmcut' 0 43 270 270 | '/home/modelshi/public_html/netpbm/pnmtojpeg' --quality=90 > '/home/modelshi/public_html/album/album01/droberts.thumb.jpg'

Results:

none

Debug messages:

Status: 255 (expected 0)
imageManipulation.php::36 -> Resizing Image: /home/modelshi/public_html/album/album01/droberts.jpg
imageManipulation.php::683 -> Compressing image: /home/modelshi/public_html/album/album01/droberts.jpg
util.php::156 -> Executing: '/home/modelshi/public_html/netpbm/jpegtopnm' '/home/modelshi/public_html/album/album01/droberts.jpg' | '/home/modelshi/public_html/netpbm/pnmscale' -xysize 150 150 | '/home/modelshi/public_html/netpbm/pnmtojpeg' --quality=50 > '/home/modelshi/public_html/album/album01/droberts.thumb.jpg'

Results:

none

Debug messages:

Status: 255 (expected 0)

Jim

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2006-05-09 17:46

That, my friend, is the debug output. ;-)

Status: 255 (expected 0) is your error, which probably means that you have installed the wrong binary NetPBM files on the server.


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

 
Jim_UK

Joined: 2006-04-03
Posts: 11
Posted: Tue, 2006-05-09 17:59

Hi and thanks for the swift reply
The server is Apache version 1.3.34 (Unix).
Can you point us to the correct binaries to use?
Do they just have to be uploaded to the server and that is all or do we have to do something else once uploaded?

Thanks
Jim

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2006-05-09 18:27

That really doesn't help. You need to know a bit more. Most likely you can use the linux-intel NetPBM binaries though.

As for how you install them, check http://codex.gallery2.org/index.php/Installing_an_Image_Processing_Library


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

 
Jim_UK

Joined: 2006-04-03
Posts: 11
Posted: Tue, 2006-05-09 19:02

Many thanks and all is now working ok.
The Linux-intel binaries did the job. That set was nearly 4 times the file size of the ones we had.

Jim

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2006-05-09 21:45

Most excellent. ;-)


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

 
hessian

Joined: 2005-12-19
Posts: 2
Posted: Fri, 2006-07-14 22:25

I too have this error. Just started a couple of days ago. Happens on both of my galleries on the same host. I've read some of the posts on this and on this step:
"Verify that the binaries (NetPBM or ImageMagick) are installed correctly and are chmodded 0755 (including the directory they are in)."

I cannot access the usr/bin to see if is chmod'd correctly. However the diagnostic for NetPBM comes up all green. I created a file called test.php in the gallery folder with this line.

<?php
echo ini_get("disable_functions");
?>

The page comes up blank.

Here's what I got.

Diagnostic:
jpegtopnm: Using libpbm from Netpbm Version: Netpbm 9.20
jpegtopnm: Compiled Tue Jan 13 17:11:20 UTC 2004 by user "root"
jpegtopnm: BSD defined
jpegtopnm: RGB_ENV='RGBDEF'
jpegtopnm: RGBENV= 'RGBDEF' (env vbl is unset)

Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): www.maidenonline.com/gallery
Gallery version:version 1.5.3
Apache version:Apache/1.3.33 (Unix)
PHP version (don't just say PHP 4, please):PHP Version 4.4.2
Graphics Toolkit:NetPBM
Operating system:Linux infong 2.4 #1 SMP Wed Jan 18 14:53:29 CET 2006 i686 unknown
Web browser/version (if applicable):IE 6.0.2800

Processing status...
******Adding HPIM1080.JPG*****

Album.php::1161 -> Doing the naming
Album.php::1194 -> Image Preprocessing
Album.php::1199 -> Resizing/compressing original image
imageManipulation.php::36 -> Resizing Image: /kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.jpg
imageManipulation.php::67 -> No resizing required
imageManipulation.php::573 -> File /kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.jpg type 2.
AlbumItem.php::619 -> Generating thumbnail.
imageManipulation.php::538 -> Generating squared Version to 150px
imageManipulation.php::474 -> Cropping Image
util.php::156 -> Executing: '/usr/bin/jpegtopnm' '/kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.jpg' | '/usr/bin/pnmcut' 80 0 480 480 | '/usr/bin/pnmtojpeg' --quality=90 > '/kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.thumb.jpg'

Results:
none
Debug messages:
sh: fork: Resource temporarily unavailable

Status: 128 (expected 0)
imageManipulation.php::36 -> Resizing Image: /kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.jpg
imageManipulation.php::683 -> Compressing image: /kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.jpg
util.php::156 -> Executing: '/usr/bin/jpegtopnm' '/kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.jpg' | '/usr/bin/pnmscale' -xysize 150 150 | '/usr/bin/pnmtojpeg' --quality=50 > '/kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.thumb.jpg'

Results:
none
Debug messages:
sh: fork: Resource temporarily unavailable

Status: 128 (expected 0)
Error: Unable to make thumbnail (0)
Need help? Look in the Gallery FAQ

***************new info******************
I chmod'd my temp folders to 777, now I get this diag

******Adding HPIM1080.JPG*****

Album.php::1161 -> Doing the naming
Album.php::1194 -> Image Preprocessing
Album.php::1199 -> Resizing/compressing original image
imageManipulation.php::36 -> Resizing Image: /kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.jpg
imageManipulation.php::67 -> No resizing required
imageManipulation.php::573 -> File /kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.jpg type 2.
AlbumItem.php::619 -> Generating thumbnail.
imageManipulation.php::538 -> Generating squared Version to 150px
imageManipulation.php::474 -> Cropping Image
util.php::156 -> Executing: '/usr/bin/jpegtopnm' '/kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.jpg' | '/usr/bin/pnmcut' 80 0 480 480 | '/usr/bin/pnmtojpeg' --quality=90 > '/kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.thumb.jpg'

Warning: exec(): Unable to fork [('/usr/bin/jpegtopnm' '/kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.jpg' | '/usr/bin/pnmcut' 80 0 480 480 | '/usr/bin/pnmtojpeg' --quality=90 > '/kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.thumb.jpg') 2>/kunden/homepages/39/d127283183/htdocs/maiden/temp/dbggL1sW4] in /homepages/39/d127283183/htdocs/maiden/gallery/platform/fs_unix.php on line 45

Results:
none
Debug messages:

Status: -1 (expected 0)
imageManipulation.php::36 -> Resizing Image: /kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.jpg
imageManipulation.php::683 -> Compressing image: /kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.jpg

Warning: exec(): Unable to fork [/convert -version] in /homepages/39/d127283183/htdocs/maiden/gallery/util.php on line 1207

util.php::156 -> Executing: '/usr/bin/jpegtopnm' '/kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.jpg' | '/usr/bin/pnmscale' -xysize 150 150 | '/usr/bin/pnmtojpeg' --quality=50 > '/kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.thumb.jpg'

Warning: exec(): Unable to fork [('/usr/bin/jpegtopnm' '/kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.jpg' | '/usr/bin/pnmscale' -xysize 150 150 | '/usr/bin/pnmtojpeg' --quality=50 > '/kunden/homepages/39/d127283183/htdocs/maiden/gallery/albums/misc/HPIM1080.thumb.jpg') 2>/kunden/homepages/39/d127283183/htdocs/maiden/temp/dbgG3ThNu] in /homepages/39/d127283183/htdocs/maiden/gallery/platform/fs_unix.php on line 45

Results:
none
Debug messages:

Status: -1 (expected 0)
Error: Unable to make thumbnail (0)
Need help? Look in the Gallery FAQ

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2006-07-15 00:14
Quote:
Debug messages:
sh: fork: Resource temporarily unavailable

Not the same issue at all, and this is a server issue. Ask your host.


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

 
obelisk001

Joined: 2007-12-12
Posts: 2
Posted: Wed, 2007-12-12 05:31

I find it funny that everyone has some numbered error message whereas I only have this: "Error: Unable to make thumbnail (0)". My webpage is at http://www.eduardbaba.com/ and the gallery folder is simply situated at http://www.eduardbaba.com/gallery. Will anyone please help me muddle through it all? Please?

Eddie

 
MDeen

Joined: 2005-02-13
Posts: 7
Posted: Wed, 2008-01-02 20:20

I just upgraded from 1.4.4-pl6 to 1.5.7 and from the first time I try to upload an image I get the same error. Does not seem to be related to support programs though, the same error happens when I use Netpbm, only difference is that there is only one warning line.

This is the debug log:

Processing status...

******Adding IMG_0973.jpg*****
Album.php::1174 -> Doing the naming
Album.php::1207 -> Image preprocessing
Album.php::1212 -> Resizing/compressing original image
imageManipulation.php::36 -> Resizing Image: D:/htdocs/trein/albums/album01/IMG_0973.jpg.
util.php::208 -> Getting Dimension of file: D:/htdocs/trein/albums/album01/IMG_0973.jpg
imageManipulation.php::67 -> No resizing required.
imageManipulation.php::597 -> File D:/htdocs/trein/albums/album01/IMG_0973.jpg type 2.
util.php::208 -> Getting Dimension of file: D:/htdocs/trein/albums/album01/IMG_0973.jpg
AlbumItem.php::619 -> Generating thumbnail.
AlbumItem.php::686 -> Generating normal thumbs.
imageManipulation.php::36 -> Resizing Image: D:/htdocs/trein/albums/album01/IMG_0973.jpg.
util.php::208 -> Getting Dimension of file: D:/htdocs/trein/albums/album01/IMG_0973.jpg
imageManipulation.php::707 -> Compressing image: D:/htdocs/trein/albums/album01/IMG_0973.jpg

Warning: Missing argument 4 for fs_exec() in D:\htdocs\trein\gallery\platform\fs_win32.php on line 212

Warning: Missing argument 4 for fs_exec() in D:\htdocs\trein\gallery\platform\fs_win32.php on line 212
util.php::156 -> Executing: C:\ProgramFiles\ImageMagick\convert -size 150x150 D:\htdocs\trein\albums\album01\IMG_0973.jpg -quality 50 -thumbnail 150x150 D:\htdocs\trein\albums\album01\IMG_0973.thumb.jpg

Results:

none

Debug messages:

Status: 0 (expected 0)
Error: Unable to make thumbnail. (0)