icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old September 9th, 2005, 5:27 PM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Sep 2005
1 posts
Gave thanks: 0
Thanked 0 times
Gallery is not installing properly (??)

Pictures never load! Get "Unable to Make Thumbnail"
It's also looking for ..../css/images/tab_bottom.gif in place of ..../images/tab_bottom.gif (easy fix - create directory, copy file).


Trying to install "Gallery" Looks good but it don't work

As the FAQ question on the owner's site says... I'm getting an error no matter what I do. These instructions say the fixes appear to be on the server side(?)

------------- cut from their FAQ: ----------------

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?

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:

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.

Put Gallery back into configuration mode (see the tutorials earlier in the manual for details)

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

Attempt to upload a picture using the web form interface, not the applet. 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");
?>
WaveThemes is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 9th, 2005, 8:28 AM   #2 (permalink)
Registered User
Fresh Surpasser
 
Joined in Oct 2005
Lives in Sydney
3 posts
Gave thanks: 0
Thanked 0 times
I'm having the same problem and saw this reply on the Gallery forum. Is Fantastico installing one of these programs with Gallery? If not, they should be available or Gallery 2 will not work!
---------------------

it doesn't seem you actually have netpbm or imagemagick.
additionally to g2, you need to install netpbm and / or imagemagick, which are programs like easyphp and need to be installed separately.

http://codex.gallery2.org/index.php/...essing_Library
hogfish is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 23rd, 2005, 4:58 AM   #3 (permalink)
Registered User
Fresh Surpasser
 
Joined in Oct 2005
Lives in Sydney
3 posts
Gave thanks: 0
Thanked 0 times
Hello, does anybody read these?
hogfish is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 23rd, 2005, 5:00 AM   #4 (permalink)
is scientific.
Resident.
 
David's Avatar
 
Joined in Mar 2004
Lives in fear of Obama.
Hosted on Pass 7
13,111 posts
Gave thanks: 8
Thanked 34 times
Are either of you sure you are using the correct path for image magick?
__________________
Quote:
Originally Posted by removed View Post
Internet Explorer rules.
David is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 30th, 2005, 10:45 AM   #5 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2005
7 posts
Gave thanks: 0
Thanked 0 times
Red face

Getting the same problem here .. I installed it via Fantastico, it should have configured Imagemagik for us no? If not which file can I edit to correct the path, and what is the correct path anyhow? Please help.
rsarwar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 30th, 2005, 2:01 PM   #6 (permalink)
Surpass Fan
Seasoned Poster
 
ttorion's Avatar
 
Joined in May 2005
Hosted on SH71 & SH88
96 posts
Gave thanks: 2
Thanked 9 times
If you haven't already, contact support. I had the same problem a couple of weeks ago on SH88, which was a new server. Imagemagik had not been set up. The path on SH88 I am using is /usr/bin.

I did not use Fantastico to install. I uploaded version 1.5.1 myself.
__________________
www.w5qgg.org
SH71
www.n5na.net
SH88
ttorion is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 30th, 2005, 2:12 PM   #7 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2005
7 posts
Gave thanks: 0
Thanked 0 times
Fixed it myself ..

goto:
http://yoursever.com/gallery/setup/c...magemagick.php

this will verify your path/setup for Image Magick

next goto:
http://yoursever.com/gallery/setup

this will also verify your image magick and settings (will not erase any current settings). just go through the various tabs.

at the end i ran into an error with rar .. i removed the path under the optional tools tab and saved the config. now everything works like a charm!

hope this helps someone else as it looks like this was asked many times but no one seemed to explain how to fix it.
rsarwar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On