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.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » Gallery - ImageMagick Error

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old September 25th, 2004, 5:37 PM   #1 (permalink)
Registered User
Seasoned Poster
 
Joined in Jul 2003
33 posts
Gave thanks: 0
Thanked 0 times
Gallery - ImageMagick Error

I am trying to install Gallery on my website. However I keep getting error messages when I try to upload images. When I use the diagnostic script I get the following:

Quote:
You told the config wizard that your ImageMagick binaries live here:

/usr/X11R6/bin/convert

If that is not right (or if it is blank), re-run the configuration wizard and enter a location for ImageMagick.

Note: Your ImageMagick directory (/usr/X11R6/bin/convert) is not in your open_basedir list
/home/lucky/:/usr/lib/php:/usr/local/lib/php:/tmp
The open_basedir list is specified in php.ini.
The result is, that we can't perform all of our basic checks on the files to make sure that they exist and they're executable.

We are going to test each ImageMagick binary individually.
Checking: '/usr/X11R6/bin/convert/identify' Expected status: 0, but actually received status 126.
Checking: '/usr/X11R6/bin/convert/convert' Expected status: 0, but actually received status 126.
When I upload a picture I get the following message in debug mode:

Quote:
Processing status...

- Adding Untitled-1.jpg
Resizing/compressing original image

Executing:

'/usr/X11R6/bin/convert/convert' -quality 100 -size 600x600 '/home/lucky/public_html/photos/albums/Fishing/aai.jpg' -geometry 600x600 '/home/lucky/public_html/photos/albums/Fishing/aai.jpg.tmp'

Results:
none

Debug messages::
sh: /usr/X11R6/bin/convert/convert: Not a directory


Status: 126 (expected 0)
File /home/lucky/public_html/photos/albums/Fishing/aai.jpg type 2.

Executing:

'/usr/X11R6/bin/convert/convert' -quality 100 -size 150x150 +profile '*' '/home/lucky/public_html/photos/albums/Fishing/aai.jpg' -geometry 150x150 '/home/lucky/public_html/photos/albums/Fishing/aai.thumb.jpg'

Results:
none

Debug messages::
sh: /usr/X11R6/bin/convert/convert: Not a directory


Status: 126 (expected 0)
Error: Unable to make thumbnail (0)
Any ideas how to fix this?

Last edited by jetweb; September 25th, 2004 at 5:41 PM..
jetweb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 25th, 2004, 5:42 PM   #2 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
email support. A cpanel upgrade may have broken something, OR, imagemagick on your server may be actually in a different path.

Either way, support will give you the information you need.
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 25th, 2004, 5:48 PM   #3 (permalink)
Registered User
Seasoned Poster
 
Joined in Jul 2003
33 posts
Gave thanks: 0
Thanked 0 times
I did send an e-mail to support. The path is correct because it did work for 4images that I have installed on the same website.
jetweb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 25th, 2004, 5:55 PM   #4 (permalink)
Surpass Fan
On a golden path...
 
Joined in Jul 2004
372 posts
Gave thanks: 0
Thanked 0 times
is the gallery in a subdomain?
__________________
"I am one of the few honest people that I have ever known” ~~Nick, Great Gatsby
---
Don't ever argue with idiots. They drag you down to their level and beat you with experience.
darkzeroman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 25th, 2004, 6:34 PM   #5 (permalink)
Registered User
Seasoned Poster
 
Joined in Jul 2003
33 posts
Gave thanks: 0
Thanked 0 times
no its not
jetweb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 26th, 2004, 6:56 AM   #6 (permalink)
the one who was
Super #1
 
patrickb's Avatar
 
Joined in Jul 2003
Lives in Memphis
1,967 posts
Gave thanks: 0
Thanked 3 times
Try removing the convert part from the path. I think Gallery requires the actual path to the directory, and not the filename.

/usr/bin/ should work for you.
__________________
Patrick

Warnings: The program(s) might crash unexpectedly or behave otherwise strangely. (But of course, so do many commercial programs on Windows.) --www.gimp.org
patrickb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 27th, 2004, 12:54 PM   #7 (permalink)
Registered User
Seasoned Poster
 
Joined in Jul 2003
33 posts
Gave thanks: 0
Thanked 0 times
That fixed it. Surpass Tech support led me to that quickly. Thanks for your help though.
jetweb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old December 20th, 2004, 4:49 PM   #8 (permalink)
Registered User
Fresh Surpasser
 
Joined in Nov 2004
25 posts
Gave thanks: 0
Thanked 0 times
are these sorts of thing in a guide anywhere? ie what's on the server?
thanks
gearyg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old December 20th, 2004, 9:10 PM   #9 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
Quote:
Originally Posted by gearyg
are these sorts of thing in a guide anywhere? ie what's on the server?
thanks
Thanks to surpass and fantastico, almost "Everything" is on the server.

If you need something specific, just ask the "community" here - we're all happy to help!
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn 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