Error: Unable to make thumbnail (0)!

dorphan

Joined: 2004-01-08
Posts: 3
Posted: Thu, 2004-01-08 09:57

I have just finished installing gallery and have tried uploading some photos and it brings up the following error message

- Adding DSC00437.jpg
Resizing/compressing original image
No resizing required
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ

I have read through some of the FAQ's and cant seem to find any help. I greatly appreciate any support.

:D

----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Linux wombat.digitalis.net.au 2.4.24 #1 SMP Mon Jan 5 17:24:31 MST 2004 i686

Gallery URL : http://dailyfame.daily-daizy.com/gallery/
Gallery version: v1.4.1
Apache version: Apache/1.3.29 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.4 FrontPage/5.0.2.2634 mod_ssl/2.8.16 OpenSSL/0.9.6b
PHP version (don't just say PHP 4, please): Version 4.3.4
Graphics Toolkit: Netpbm
Operating system: windows 2000 pro
Web browser/version (if applicable):

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2004-01-08 12:31

Please post the debug mode output, here's how to enable debug mode: FAQ Gallery:c.31

 
lyndonlegend

Joined: 2003-12-24
Posts: 16
Posted: Fri, 2004-01-09 00:26

I am receiving the same error mentioned above, but my erro message is as follows:
Error messages::
convert: no delegate for this image format (/home/httpd/vhosts/reedsburgpolars.com/httpdocs/gallery/add_photo.php) [No such file or directory].
convert: no delegate for this image format (/home/httpd/vhosts/reedsburgpolars.com/httpdocs/gallery/add_photos.php) [No such file or directory].

I have checked the gallery directory and see thes php programs, but I keep getting the errors.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2004-01-09 00:36

Please try to upgrade your ImageMagick distribution, as it is too old. (We support 5.4.x and 5.5.x)

 
lyndonlegend

Joined: 2003-12-24
Posts: 16
Posted: Fri, 2004-01-09 01:05

how can i tell which version of redhat my server is using?

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2004-01-09 03:42

On the command shell, type "convert -version"

 
wargod

Joined: 2004-01-11
Posts: 22
Posted: Sun, 2004-01-11 00:09

i am having the same prob here is my debug info

- Adding 000_0009.JPG
Resizing/compressing original image
No resizing required
File /home/wargod/public_html/albums/album01/000_0009.jpg type 2.

Executing:

"/net pbm/jpegtopnm" /home/wargod/public_html/albums/album01/000_0009.jpg | "/net pbm/pnmscale" -xysize 150 150 | "/net pbm/pnmtojpeg" --quality=90 > /home/wargod/public_html/albums/album01/000_0009.thumb.jpg

Results:
none

Error messages::
sh: line 1: /net pbm/jpegtopnm: No such file or directory
sh: line 1: /net pbm/pnmscale: No such file or directory
sh: line 1: /net pbm/pnmtojpeg: No such file or directory

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

any ideas ?

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2004-01-11 10:38

wargod, your problem seems to be a wrong path to the netpbm binaries.
Try FAQ Gallery:c.32

 
foffo
foffo's picture

Joined: 2003-03-06
Posts: 660
Posted: Sun, 2004-01-11 10:43

wargod, as h0bbel says it seems to be a wrong path. And maybe that is because a space has found its way into your path - between net and pbm. But then again, maybe not...

:)

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sun, 2004-01-11 13:34

However, it's also doubtful that NetPBM is a directory off the root directory /. I think it's probably an offset from HIS home directory, though it's not the full path. FAQ Gallery:c.32 should tell him exactly where it is.

 
wargod

Joined: 2004-01-11
Posts: 22
Posted: Sun, 2004-01-11 14:54

cool thanks ill give it a try but here is another question is there supposed to be more than one file in the netpbm dir? cause all i got is one and its lookin for three?

 
wargod

Joined: 2004-01-11
Posts: 22
Posted: Sun, 2004-01-11 15:34

well i gave it another shot and this is what i got

Adding red copy.gif
Resizing/compressing original image
No resizing required
File /home/wargod/public_html/modules/gallery/albums/album01/red_copy.gif type 1.

Executing:

/public_html/modules/gallery/netpbm/giftopnm /home/wargod/public_html/modules/gallery/albums/album01/red_copy.gif | /public_html/modules/gallery/netpbm/pnmscale -xysize 150 150 | /public_html/modules/gallery/netpbm/ppmquant 256 | /public_html/modules/gallery/netpbm/ppmtogif > /home/wargod/public_html/modules/gallery/albums/album01/red_copy.thumb.gif

Results:
none

Error messages::
sh: line 1: /public_html/modules/gallery/netpbm/giftopnm: No such file or directory
sh: line 1: /public_html/modules/gallery/netpbm/pnmscale: No such file or directory
sh: line 1: /public_html/modules/gallery/netpbm/ppmquant: No such file or directory
sh: line 1: /public_html/modules/gallery/netpbm/ppmtogif: 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

 
foffo
foffo's picture

Joined: 2003-03-06
Posts: 660
Posted: Sun, 2004-01-11 16:51

wargod, from this last output I can see that the path to your gallery directory is:

/home/wargod/public_html/modules/gallery/

So, I guess the path to your netpbm directory should instead be:

/home/wargod/public_html/modules/gallery/netpbm/

If you actually have made that directory inside your gallery/ dir, that is...

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sun, 2004-01-11 16:58

You are supposed to untar the file you get from the Gallery download page. It should come out into several binaries (9 or so, IIRC). Check out FAQ Gallery:c.25

 
TrulyTess

Joined: 2003-12-29
Posts: 10
Posted: Sun, 2004-01-11 20:09

I've been getting the Unable to make thumbnail (0)! error message as well. The suggestions from the Troubleshooting Gallery FAQ don't seem to apply (C.2. " I've installed Gallery and all seems well. But when I try to upload an image it says Unable to make thumbnail(0) or Invalid image. What gives?").

I'd appreciate any suggestions. Here is the output from debug mode:

- Adding IMG_1292-arrow.jpg
Resizing/compressing original image
No resizing required
File /homepages/8/d92578164/htdocs/ourfunlife/gallery/albums/travel/IMG_1292_arrow.jpg type 2.

Executing:

/usr/bin/jpegtopnm /homepages/8/d92578164/htdocs/ourfunlife/gallery/albums/travel/IMG_1292_arrow.jpg | /usr/bin/pnmscale -xysize 200 200 | /usr/bin/pnmtojpeg --quality=90 > /homepages/8/d92578164/htdocs/ourfunlife/gallery/albums/travel/IMG_1292_arrow.thumb.jpg

Results:

none

Error messages::

jpegtopnm: WRITING PPM FILE
Insufficient memory (case 4)
pnmscale: EOF / read error reading magic number
pnmtojpeg: EOF / read error reading magic number

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

 
stephono
stephono's picture

Joined: 2002-12-30
Posts: 12
Posted: Sun, 2004-01-11 22:45

ok here are my details...

They don't exactly match any of the above.

****Debug output below****
- Adding DzlItem101.jpg
Resizing/compressing original image
No resizing required
File /htdocs/albums/test/DzlItem101.jpg type 2.

Executing:

/htdocs/netpbm/jpegtopnm /htdocs/albums/test/DzlItem101.jpg | /htdocs/netpbm/pnmscale -xysize 150 150 | /htdocs/netpbm/ppmtojpeg --quality=90 > /htdocs/albums/test/DzlItem101.thumb.jpg

Results:

none

Error messages::

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

****END DEBUG OUTPUT ****

any ideas on what is going on here???

-Stephen

Oh YA here is the other stuff:
----
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):
Gallery version:v1.4.1
Apache version: Apache/1.3.28
PHP version (don't just say PHP 4, please):PHP Version 4.3.3
Graphics Toolkit: netpbm
Operating system: OpenBSD3.4
Web browser/version (if applicable): IE 6.0.28.1106.xpsp2.030422-1633
or Netscape 7.1

 
wargod

Joined: 2004-01-11
Posts: 22
Posted: Sun, 2004-01-11 23:02

alright well we got rid of that error but now there is another one

this time i get the image box with the red x in it with this error

Adding red copy.gif
Resizing/compressing original image
No resizing required
File /home/wargod/public_html/modules/gallery/albums/album01/red_copy.gif type 1.

Executing:

/home/wargod/public_html/modules/gallery/netpbm/giftopnm /home/wargod/public_html/modules/gallery/albums/album01/red_copy.gif | /home/wargod/public_html/modules/gallery/netpbm/pnmscale -xysize 150 150 | /home/wargod/public_html/modules/gallery/netpbm/ppmquant 256 | /home/wargod/public_html/modules/gallery/netpbm/ppmtogif > /home/wargod/public_html/modules/gallery/albums/album01/red_copy.thumb.gif

Results:
none

Error messages::
pnmscale: Scaling by 0.300000 horizontally to 150 columns.
pnmscale: Scaling by 0.300000 vertically to 45 rows.
pnmscale: 0.000000 of right column stretched due to arithmetic imprecision
ppmquant: making histogram...
ppmquant: 5575 colors found
ppmquant: choosing 256 colors...
ppmquant: mapping image to new colors...
ppmtogif: computing colormap...
ppmtogif: 255 colors found

Status: 0 (expected 0)IN UTIL ITEMCAPTUREDATE = 2004

Executing:

/home/wargod/public_html/modules/gallery/netpbm/giftopnm /home/wargod/public_html/modules/gallery/albums/album01/red_copy.gif | /home/wargod/public_html/modules/gallery/netpbm/pnmscale -xysize 200 200 | /home/wargod/public_html/modules/gallery/netpbm/ppmquant 256 | /home/wargod/public_html/modules/gallery/netpbm/ppmtogif > /home/wargod/public_html/modules/gallery/albums/album01/red_copy.highlight.gif

Results:
none

Error messages::
pnmscale: Scaling by 0.400000 horizontally to 200 columns.
pnmscale: Scaling by 0.400000 vertically to 60 rows.
pnmscale: 0.000000 of right column stretched due to arithmetic imprecision
ppmquant: making histogram...
ppmquant: 9028 colors found
ppmquant: choosing 256 colors...
ppmquant: mapping image to new colors...
ppmtogif: computing colormap...
ppmtogif: 256 colors found

Status: 0 (expected 0)No email sent as no valid email addresses were found

 
libragrrl

Joined: 2003-04-03
Posts: 4
Posted: Mon, 2004-01-12 01:31

I'm getting the same error message. I'm not exactly literate when it comes to netpbm or other various words here... :)

Processing status...
- Adding bloated.JPG
Executing:

/usr/local/bin/convert -quality 95 -size 150x150 /home/libragrr/public_html/albums/sue/bloated.jpg -geometry 150x150 +profile "*" /home/libragrr/public_html/albums/sue/bloated.thumb.jpg

Results:
none

Error messages:
sh: line 1: /usr/local/bin/convert: No such file or directory

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

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Mon, 2004-01-12 01:59

sh: line 1: /usr/local/bin/convert: No such file or directory

That isn't the correct path for the ImageMagick binaries. Either find the right path and rerun the configuration wizard or install NetPBM, which can be downloaded directly from our SF.net download page.

 
wargod

Joined: 2004-01-11
Posts: 22
Posted: Mon, 2004-01-12 01:59

now i have two sites one is an addon domain and i am installing gallery there to but i got it all done and i am getting this everytime i try to add a pic

Adding 100_0089.JPG
Resizing/compressing original image
No resizing required
File /home/wargod/public_html/boaz/modules/gallery/albums/album01/100_0089.jpg type 2.

Executing:

/home/wargod/public_html/boaz/modules/gallery/netpbm/jpegtopnm /home/wargod/public_html/boaz/modules/gallery/albums/album01/100_0089.jpg | /home/wargod/public_html/boaz/modules/gallery/netpbm/pnmscale -xysize 150 150 | /home/wargod/public_html/boaz/modules/gallery/netpbm/ppmtojpeg --quality=90 > /home/wargod/public_html/boaz/modules/gallery/albums/album01/100_0089.thumb.jpg

Results:
none

Error messages::
jpegtopnm: WRITING PPM FILE
pnmscale: Scaling by 0.073819 horizontally to 150 columns.
pnmscale: Scaling by 0.074147 vertically to 113 rows.
pnmscale: 0.000000 of right column stretched due to arithmetic imprecision

Status: 0 (expected 0)IN UTIL ITEMCAPTUREDATE = 2004

Executing:

/home/wargod/public_html/boaz/modules/gallery/netpbm/jpegtopnm /home/wargod/public_html/boaz/modules/gallery/albums/album01/100_0089.jpg | /home/wargod/public_html/boaz/modules/gallery/netpbm/pnmscale -xysize 200 200 | /home/wargod/public_html/boaz/modules/gallery/netpbm/ppmtojpeg --quality=90 > /home/wargod/public_html/boaz/modules/gallery/albums/album01/100_0089.highlight.jpg

Results:
none

Error messages::
jpegtopnm: WRITING PPM FILE
pnmscale: Scaling by 0.098425 horizontally to 200 columns.
pnmscale: Scaling by 0.098425 vertically to 150 rows.
pnmscale: 0.000005 of right column stretched due to arithmetic imprecision

Status: 0 (expected 0)
- Resizing 100_0089
Executing:

/home/wargod/public_html/boaz/modules/gallery/netpbm/jpegtopnm /home/wargod/public_html/boaz/modules/gallery/albums/album01/100_0089.jpg | /home/wargod/public_html/boaz/modules/gallery/netpbm/pnmscale -xysize 640 640 | /home/wargod/public_html/boaz/modules/gallery/netpbm/ppmtojpeg --quality=90 > /home/wargod/public_html/boaz/modules/gallery/albums/album01/100_0089.sized.jpg

Results:
none

Error messages::
jpegtopnm: WRITING PPM FILE
pnmscale: Scaling by 0.314961 horizontally to 640 columns.
pnmscale: Scaling by 0.314961 vertically to 480 rows.
pnmscale: 0.000002 of right column stretched due to arithmetic imprecision

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Mon, 2004-01-12 02:09

I can't see any errors in that output. That's just debugging output, which can be disabled in the configuration wizard.

 
wargod

Joined: 2004-01-11
Posts: 22
Posted: Mon, 2004-01-12 02:35

but then why cant i see the picture that i upload?

all i get is the border with the little red x

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Mon, 2004-01-12 02:37
 
wargod

Joined: 2004-01-11
Posts: 22
Posted: Mon, 2004-01-12 02:50

verified it and still nothing

 
jamzyamz
jamzyamz's picture

Joined: 2004-01-12
Posts: 154
Posted: Mon, 2004-01-12 06:54

I have the same problem. I uploaded new version over old version (old version was fine) All the paths are the same and configs options too.

I upload the picture, it goes in the right dir. If i download the picture manually and view it, it's not corrupt.

I can't figure it out, everything is correct path wise.

Thanks

 
jamzyamz
jamzyamz's picture

Joined: 2004-01-12
Posts: 154
Posted: Mon, 2004-01-12 07:05

OK I figured it out

I realized the paths to images were correct but the url path was not.
As far as I could tell that's the only reason it didn't work so instead of http://domain.com/gallery/album it was
http://domain.com/album

If you right click on broken image and look at properties it'll show you where the image is being looked for. If that's not your gallery/album dir, it's wrong and needs to be changed.

Anyone else having this problem should be able to fix it by editing the config.php for the url of the gallery.
HOpe this helps
Thanks
James

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Mon, 2004-01-12 12:28

That is exactly FAQ C.11

 
cub2000

Joined: 2004-01-12
Posts: 1
Posted: Mon, 2004-01-12 16:59

I'm having this problem as well. Here's the output from debug mode:

- Adding P1030008.jpg
Resizing/compressing original image
PHP's getimagesize() unable to determine dimensions.

Executing:

/usr/local/netpbm/bin/jpegtopnm /export/home/vacb/public_html/albums/reunion/P1030008_001.jpg | /usr/local/netpbm/bin/pnmfile --allimages

Results:
none

Error messages::
ld.so.1: /usr/local/netpbm/bin/jpegtopnm: fatal: libnetpbm.so.10: open failed: No such file or directory
ld.so.1: /usr/local/netpbm/bin/pnmfile: fatal: libnetpbm.so.10: open failed: No such file or directory

Status: 137 (expected 0)
Unable to determine image dimensions!

No resizing required
Call to getimagesize() failed in valid_image() for file /export/home/vacb/public_html/albums/reunion/P1030008_001.jpg!

Error: Invalid image: P1030008_001.jpg!

----- done pasting ----

Both /usr/local/netpbm/bin/jpegtopnm and /usr/local/netpbm/lib/libnetpbm.so.10 exist.

Thank you in advance,
Lucas

 
mustang

Joined: 2004-01-12
Posts: 1
Posted: Mon, 2004-01-12 17:28

I have uploaded pictures for sometime now, without fail. Now there is a problem. I have checked the setup wizzard and it looks fine. Below are the debug messages I am receiving.

Processing status...
- Adding DeerJan04Pic01.jpg
Executing:

/usr/bin/jpegtopnm /var/www/html/albums/Deer(Canandaigua)/DeerJan04Pic01.jpg | /usr/bin/pnmscale -xysize 150 150 | /usr/bin/pnmtojpeg --quality=95 > /var/www/html/albums/Deer(Canandaigua)/DeerJan04Pic01.thumb.jpg

Results:
none

Error messages::

Status: 2 (expected 0)
Error: Unable to make thumbnail (0)!

 
wargod

Joined: 2004-01-11
Posts: 22
Posted: Mon, 2004-01-12 22:22

alas i am still without images after verifing the url and the locations that you described but no joy stil broken images

do you have any other suggestions?

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Mon, 2004-01-12 22:30

wargod, please provide a URL.

mustang, this is a bug due to parenthesis in your album name. For right now, you may need to not use parenthesis.

cub2000, FAQ Gallery:c.2

 
dfeigel

Joined: 2004-01-13
Posts: 2
Posted: Tue, 2004-01-13 04:49

Having the same problem. Here is a copy of the debug info. Anyone have any idea how I can fix this?

Thanks,

Dustin

Adding cabin1.jpg
Resizing/compressing original image
No resizing required
File /home/httpd/vhosts/feigelsresort-motel.com/httpdocs/albums/album01/cabin1.jpg type 2.

Executing:

/home/httpd/vhosts/feigelsresort-motel.com/contrib/netpbm-10.18.4/jpegtopnm /home/httpd/vhosts/feigelsresort-motel.com/httpdocs/albums/album01/cabin1.jpg | /home/httpd/vhosts/feigelsresort-motel.com/contrib/netpbm-10.18.4/pnmscale -xysize 150 150 | /home/httpd/vhosts/feigelsresort-motel.com/contrib/netpbm-10.18.4/pnmtojpeg --quality=90 > /home/httpd/vhosts/feigelsresort-motel.com/httpdocs/albums/album01/cabin1.thumb.jpg

Results:
none

Error messages::
sh: line 1: /home/httpd/vhosts/feigelsresort-motel.com/contrib/netpbm-10.18.4/jpegtopnm: is a directory
sh: line 1: /home/httpd/vhosts/feigelsresort-motel.com/contrib/netpbm-10.18.4/pnmscale: is a directory
sh: line 1: /home/httpd/vhosts/feigelsresort-motel.com/contrib/netpbm-10.18.4/pnmtojpeg: is a directory

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

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Tue, 2004-01-13 12:39

Yowsa. Why is jpegtopnm a directory?! Did you download the binaries from OUR SF.net download page? Or did you download the source?

 
dfeigel

Joined: 2004-01-13
Posts: 2
Posted: Tue, 2004-01-13 15:34

I downloaded the binaries from the sf site.

Dustin

 
wargod

Joined: 2004-01-11
Posts: 22
Posted: Tue, 2004-01-13 22:16

i got it to work all i did was delete everything and start over again and it worked

\thanks for all the help

 
daz9100

Joined: 2004-01-13
Posts: 6
Posted: Tue, 2004-01-13 23:01

I've also got this problem. It was working fine a month or so ago and now I tried to upload some more pictures and I can't.
Here is the debug

- Adding 54140027.JPG
Resizing/compressing original image
No resizing required
File /home/daz9100/public_html/albums/album03/54140027_G.jpg type 2.

Executing:

/usr/bin/convert -quality 90 -size 150x150 +profile '*' /home/daz9100/public_html/albums/album03/54140027_G.jpg -geometry 150x150 /home/daz9100/public_html/albums/album03/54140027_G.thumb.jpg

Results:
none

Error messages::
sh: line 1: /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 No email sent as no valid email addresses were found

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2004-01-13 23:03

daz9100, obviously the convert command is no longer located in /usr/bin - perhaps your host changed something? You could try asking them, or try downloading NetPBM from our download page and use them instead (Read the docs for installation details).

 
doubled

Joined: 2004-01-15
Posts: 7
Posted: Thu, 2004-01-15 11:36

hi i`ve got the same problem!
i readed all this thread but can`t still find where's the problem! :(
there's my debug log

- Adding IMG_0088.JPG 
   Resizing/compressing original image 
   No resizing required 
File c:/web/albums/album01/IMG_0088.jpg type 2.


Executing:

c:\web\gallery\bin\jpegtopnm c:\web\albums\album01\IMG_0088.jpg | c:\web\gallery\bin\pnmscale -xysize 150 150 | c:\web\gallery\bin\pnmtojpeg --quality=90 > c:\web\albums\album01\IMG_0088.thumb.jpg

Results: 
none

Error messages:: 


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

My Resources
Windows XP Pro SP1
PHP Version 4.3.3
Apache/1.3.24

waht can i do ?
who can help me ?

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2004-01-15 11:45

doubled, did you set permissions on cmd.exe as described in the docs?

 
doubled

Joined: 2004-01-15
Posts: 7
Posted: Thu, 2004-01-15 11:55

no, i didn`t
now i`m going to find and read what permission i must set to cmd.exe

 
doubled

Joined: 2004-01-15
Posts: 7
Posted: Thu, 2004-01-15 12:20

i can`t find anything bout permissions `bout cmd.exe
:( and my - i-net connection is fast only in my country :=/

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2004-01-15 12:32

You will need to locate c:\Windows\system32\cmd.exe and set the permission to at least Read & Executable for Internet Guest user accounts

 
Erehwon
Erehwon's picture

Joined: 2004-01-16
Posts: 33
Posted: Fri, 2004-01-16 13:56

Ok well my turn, 1st thing is I need to provide you with debug info... however... when I put Gallery in debug mode, try and upload a pic with Remote, I don't get any debug information... just the error message... ideas?

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Fri, 2004-01-16 14:01

Erehwon, and the error message is? Do you get the same error when using the web interface? Does the web interface upload give you more info?

What system are you running, what binaries did you upload, did you chmod them, is the path correct?

....

 
Erehwon
Erehwon's picture

Joined: 2004-01-16
Posts: 33
Posted: Fri, 2004-01-16 14:05

Im sorry h0bbel.... more information =)

I'm using GalleryRemote to upload and I'm getting the same error msg as the title of this thread ..

I did find the GR log... it's quite long and I dont really know what Im looking for. I have'nt tried the web interface as I'm not familar with it.

This is not mine rather my service providers, but I beleive it's redhat. What other info can I procide to assit?

 
Erehwon
Erehwon's picture

Joined: 2004-01-16
Posts: 33
Posted: Fri, 2004-01-16 14:08

After starting to pick apart the log file I see the error messages starting like this:

<br> Error messages:: <pre>sh: line 1: /usr/local/netpbm/jpegtopnm: No such file or directory
sh: line 1: /usr/local/netpbm/pnmscale: No such file or directory
sh: line 1: /usr/local/netpbm/ppmtojpeg: No such file or directory
</pre><br> Status: 127 (expected 0)No email sent as no valid email addresses were found#__GR2PROTO__
debug_album=Ourpets
debug_user=admin
debug_user_type=gallery_user
status=403
status_text=Upload failed: 'Unable to make thumbnail (0)'.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Fri, 2004-01-16 14:37

Erehwon, that seems to indicate that your netpbm path is wrong, or that the permissions on the files are, or even that the files in the path are not the correct ones.

Which files are in that dir?

 
Erehwon
Erehwon's picture

Joined: 2004-01-16
Posts: 33
Posted: Fri, 2004-01-16 14:45

It's gonna take me a bit to gather that info as I need to get ahold of the servie provider and check with him.. I will get back to you as soon as I can...

 
doubled

Joined: 2004-01-15
Posts: 7
Posted: Thu, 2004-02-26 08:10
h0bbel wrote:
You will need to locate c:\Windows\system32\cmd.exe and set the permission to at least Read & Executable for Internet Guest user accounts

how can i do that ? :roll:

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2004-02-26 08:41

doubled, Right-click, properties -> security.

 
doubled

Joined: 2004-01-15
Posts: 7
Posted: Thu, 2004-02-26 08:53

Windows XP
system32/cmd.exe

right button/ properties

there's no security
only General/Version/Compability/Summary

i think i`m stupid :( :roll: