ImageMagick/GraphicsMagick Problems
bkwyrm
Joined: 2005-08-28
Posts: 4 |
Posted: Tue, 2009-07-07 23:32 |
So, according to my log, neither convert nor gm can be found: Quote:
The ImageMagick directory specified does not contain a required program, convert. Trying to rotate using ImageMagic as selected graphic program - Quote:
2009-07-07 15:45:32 -07:00 --- error: Uncaught Kohana_Exception: The ImageMagick directory specified does not contain a required program, convert. in file system/libraries/drivers/Image/ImageMagick.php on line 46 Trying to update using GraphicMagic as selected graphic program - Quote:
The GraphicsMagick directory specified does not contain a required program, gm. Apache is run by www-data Quote:
/etc/apache2# grep -R www-data . My user is part of the www-data group Quote:
www-data:x:33:otoshigo And the whole gallery3 ("snaps") dir is owned by me and the apache user-group, recursively, ad nauseum - Quote:
asdf@server:/path/path/path/# ls -al snaps/ both convert and gm truly do live in /usr/bin Quote:
sdf@server:/path/path/path# ls -al /usr/bin/convert and /usr/bin is in the apache user's path: Quote:
asdf@server:/path/path/path# su www-data Further server info: Quote:
PHP 5.2.4-2ubuntu5.6 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 17 2009 14:31:37) Quote:
mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2 Quote:
Server version: Apache/2.2.8 (Ubuntu) Everything seems set up correctly.... Any idea why Gallery3 cannot find IM/GM? Any help would be greatly appreciated... Addendum: Quote:
2009-07-07 18:01:48 -07:00 --- error: Uncaught Kohana_Exception: The ImageMagick directory specified does not contain a required program, convert. in file system/libraries/drivers/Image/ImageMagick.php on line 46 |
|
Posts: 7994
Try putting the following into a file and browsing to it:
What do you get? I'm guessing you're getting an open_basedir error.
FAQ: Why do I get errors like this: Warning: open_basedir restriction in effect. File is in wrong directory in /home/johndoe/public_html/gallery/platform/fs_unix.php on line 53?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 4
Sir -
This:
does this:
on this page:
http://www.lilbrown.net/snaps/test.php
Thank you for your help with this.
Kristin
Posts: 7994
I haven't seen any evidence yet that this is not open_basedir related. Can you provide us with access to your phpinfo() output, preferably from a test file *inside* your gallery3 dir?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 1
Hi folks,
Had the same problem here on gallery3 rc2. My solution was to change
to
Can't really figure out why it doesn't work when only allowing the binary itself in open_basedir instead of the full /usr/bin directory.
Posts: 7994
That makes sense, since open_basedir works on directories and /usr/bin/gm is a file.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git