Strange imagemagik problem
Glooper
Joined: 2005-09-21
Posts: 225 |
Posted: Thu, 2009-08-20 04:57 |
Hi All, The site I was working on has gone live (YAY!) though we've got a slight problem with uploading pictures. When I upload using the original url .. http://60.234.40.50/~capturei/index.php/ .. then everything works as expected. If however I upload using the domain name .. http://www.gatephotography.co.nz/ .. then Image magik fails to resize the photos with the following error. 2009-08-20 16:37:29 +12:00 --- error: Caught exception rebuilding image: portraiture-1 The ImageMagick directory specified does not contain a required program, convert. #0 /home/capturei/domains/gatephotography.co.nz/public_html/system/libraries/Image.php(116): Image_ImageMagick_Driver->__construct(Array) #1 /home/capturei/domains/gatephotography.co.nz/public_html/system/libraries/Image.php(52): Image_Core->__construct('/home/capturei/...', NULL) #2 /home/capturei/domains/gatephotography.co.nz/public_html/modules/gallery/helpers/graphics.php(209): Image_Core::factory('/home/capturei/...') #3 /home/capturei/domains/gatephotography.co.nz/public_html/modules/gallery/helpers/graphics.php(155): graphics_Core::resize('/home/capturei/...', '/home/capturei/...', Array) #4 /home/capturei/domains/gatephotography.co.nz/public_html/modules/gallery/helpers/photo.php(113): graphics_Core::generate(Array, Array) #5 /home/capturei/domains/gatephotography.co.nz/public_html/modules/gallery/controllers/simple_uploader.php(64): photo_Core::create(Object(Item_Model)) #6 [internal function]: Simple_Uploader_Controller->add_photo(Object(Item_Model), '/home/capturei/...', 'portraiture-1.j...', 'portraiture-1') #7 /home/capturei/domains/gatephotography.co.nz/public_html/system/core/Kohana.php(291): ReflectionMethod->invokeArgs('1159') #8 /home/capturei/domains/gatephotography.co.nz/public_html/system/core/Event.php(209): Kohana::instance(Object(Simple_Uploader_Controller), Array) #9 /home/capturei/domains/gatephotography.co.nz/public_html/system/core/Bootstrap.php(55): Event::run() #10 /home/capturei/domains/gatephotography.co.nz/public_html/index.php(86): require('/home/capturei/...') #11 {main} Any ideas what's causing this? I'm hoping it's just some config that's wrong as I installed gallery when using the IP address (plus username) rather than the domain name? Cheers |
|
Posts: 225
Just found in the graphics settings it is saying the following about ImageMagik
ImageMagick is installed, but PHP's open_basedir restriction prevents Gallery from using it.
I guess this is the problem? Still don't really understand why it would be different when accessing using different urls! though I guess this is a problem with the server setup?...
Looks like I can switch to using GD instead though
Ben
Benjamin Albert Smith - Photography
Posts: 27300
I con only assume that some settings are stored in the DB during install.
I would have to play about to confirm.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team