11-01-2004, 08:14 AM | #1 (permalink) |
Crazy
|
Gallery questions
Hello,
I downloaded gallery yesterday and installed it on my server with no problems. But now when I am trying to upload photos it is giving me an error indicating that thumbnails could not be created. I was wondering if anyone knows about a fix to this problem. And more importantly is there any alernatives to Gallery? Thanks. |
11-01-2004, 08:27 AM | #2 (permalink) | |
Professional Loafer
Location: texas
|
Ok, need some more information here chief. Are you running Gallery on Linux? BSD? Windows? etc. If so, what distribution? See where I'm going? How do I help without knowing what I am working with.
Are we to assume you're using Gallery from gallery.sourceforge.net? What version? Are you using NetPBM or ImageMagick? What version? Do you have libjpg, libpng and libgd installed? What version? Are you using mod_rewrite? Not required, but is helpful if you do use it. Are you getting the message "Unable to make thumbnail(0) or Invalid image"? If so, Verify that the binaries (NetPBM or ImageMagick) are installed correctly and are chmodded 0755 (including the directory they are in). What is the exact error message you are receiving? Quote:
Coppermine Photo Gallery - http://coppermine.sourceforge.net/ Simple Picture Gallery Manager - http://spgm.sourceforge.net/ yappa-ng - http://www.zirkon.at/zirkon/scripts/..._main_eng.html phpAutoGallery - http://phpautogallery.sourceforge.net/
__________________
"You hear the one about the fella who died, went to the pearly gates? St. Peter let him in. Sees a guy in a suit making a closing argument. Says, "Who's that?" St. Peter says, "Oh, that's God. Thinks he's Denny Crane." Last edited by bendsley; 11-01-2004 at 08:33 AM.. |
|
11-01-2004, 08:45 AM | #3 (permalink) |
Crazy
|
Sorry about that I was heading out to class, and just typed that up....
My host is a linux host I am running the latest stable version of Gallery from the sourceforge site... Version 1.4.4 I am also using the Netpbm package from the Gallery download page. I tried the linux-intel version first, but it did not work, so I downloaded the first freeBSD version on that page I am getting the unable to make thumbnail, and I have made sure to chmod the directory and files within to 0755. I am going to give the others a try also. Also how would I go about checking to see if libjpg, libpng and libgd are installed? Thanks, and sorry for my first post |
11-01-2004, 09:32 AM | #4 (permalink) |
Professional Loafer
Location: texas
|
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?
This is a very common problem. It's usually because the image manipulation program isn't getting called correctly, and this can happen for a number of reasons. To diagnose the problem, follow these steps: 1. Verify that the binaries (NetPBM or ImageMagick) are installed correctly and are chmodded 0755 (including the directory they are in). One common installation mistake is to put the executable in a path that contains spaces. This happens often on Windows, if either package is installed in Program Files. The executables must not be installed in a path that contains spaces. 2. Put Gallery back into configuration mode (see the tutorials earlier in the manual for details) 3. Re-run the configuration wizard. On step 2, select the option to put Gallery into debug mode. Finish the configuration wizard and secure Gallery (this is described in the configuration wizard tutorial). 4. Attempt to upload a picture. There will be a whole lot more debugging messages now, and it will help to diagnose the problem. Possible issues are listed below If you see any of the following messages, the solutions are listed below * Error in loading shared libraries -- Indicates that your dynamic library loader can't find a library that it needs. On Linux you can add the directory containing the appropriate library to /etc/ld.so.conf and then run ldconfig -v as root to fix this. If you don't have root access to the server, either contact your host for help or download a new version of ImageMagick or NetPBM and use the new install instead. * Abort trap or Segmentation Fault or Cannot execute binary file -- probably means you installed the wrong binaries for your system (e.g. installed the FreeBSD binaries on a Linux system) or you uploaded the binaries in ASCII FTP mode instead of BINARY FTP mode. * Permission Denied -- More than likely, your NetPBM directory or the actual NetPBM binaries are not chmodded 0755. It could also mean that your host has disallowed you from executing programs; if this is the case, you must talk to them in order to get it resolved. * /usr/bin/convert: Not a JPEG file: starts with 0x0a 0x4d (/home/uspalmer/public_html/gallery/AUTHORS). -- This is a bug that has been fixed with the latest version of Gallery, please upgrade. * /usr/local/bin/convert: no delegate for this image format (/home/sites/home/web/albums/album_01/IMGP0215.jpg) -- This means ImageMagick doesn't have the appropriate libraries to handle a type of image format (in this case JPEG). If you have root access, make sure the appropriate image libraries are installed or ask your host to verify this. If not, you can try using NetPBM from the Gallery Download Page, which has all major image formats already included. If you are using FreeBSD and installed ImageMagick from the ports collection, see FAQ C.30. * Status: (expected 0) -- This means that Gallery is unable to get a status message from PHP, which it relies on. One possible solution is that your host has disabled some needed php functions. To determine if they have create a PHP file containing <?php echo ini_get("disable_functions"); ?> Below is the link for the Gallery Support Forums. http://gallery.menalto.com/index.php...ef42b69d2aa282
__________________
"You hear the one about the fella who died, went to the pearly gates? St. Peter let him in. Sees a guy in a suit making a closing argument. Says, "Who's that?" St. Peter says, "Oh, that's God. Thinks he's Denny Crane." |
Tags |
gallery, questions |
|
|