Hi,
I've been trying to get ImageMagick working on my server but have been struggling; I've followed the advice of the other threads dealing with ImageMagick but all to no avail.
I have asked my server's IT support to look into the php.ini and to make sure open_basedir
is configured properly but in the meantime I thought I would also open a ticket here.
Using which convert
I found the path to ImageMagick was /usr/bin/ but when I try to set this in the Settings panel I get the following error:
"Omeka_File_Derivative_Exception
Failed to execute command: /usr/bin/convert -version.
#0 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Omeka/File/Derivative/Image/Creator.php(270): Omeka_File_Derivative_Image_Creator::executeCommand('/usr/bin/conver...', NULL, NULL, NULL)
#1 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/controllers/SettingsController.php(158): Omeka_File_Derivative_Image_Creator::isValidImageMagickPath('/usr/bin/')
#2 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Zend/Controller/Action.php(516): SettingsController->checkImagemagickAction()
#3 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('checkImagemagic...')
#4 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#5 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#6 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#7 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#8 /home/wgwaucom/public_html/omeka/omeka-2.0.3/admin/index.php(28): Omeka_Application->run()
#9 {main}
When I try to upload an image file with an item I get the following error:
"Omeka_File_Derivative_Exception
Failed to execute command: /usr/bin/identify '/tmp/96652d9cae007001f7cb77e2b0888317.jpg[0]'.
#0 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Omeka/File/Derivative/Image/Creator.php(233): Omeka_File_Derivative_Image_Creator::executeCommand('/usr/bin/identi...', NULL, NULL, NULL)
#1 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Omeka/File/Derivative/Image/Creator.php(216): Omeka_File_Derivative_Image_Creator->_isIdentifiable('/tmp/96652d9cae...')
#2 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Omeka/File/Derivative/Image/Creator.php(87): Omeka_File_Derivative_Image_Creator->_isDerivable('/tmp/96652d9cae...')
#3 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/models/File.php(368): Omeka_File_Derivative_Image_Creator->create('/tmp/96652d9cae...', '96652d9cae00700...', 'image/jpeg')
#4 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/models/Job/FileProcessUpload.php(22): File->createDerivatives()
#5 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Omeka/Job/Dispatcher/Adapter/Synchronous.php(25): Job_FileProcessUpload->perform()
#6 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Omeka/Job/Dispatcher/Default.php(136): Omeka_Job_Dispatcher_Adapter_Synchronous->send('{"className":"J...', Array)
#7 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/models/File.php(209): Omeka_Job_Dispatcher_Default->send('Job_FileProcess...', Array)
#8 [internal function]: File->afterSave(Array)
#9 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Omeka/Record/AbstractRecord.php(277): call_user_func(Array, Array)
#10 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Omeka/Record/AbstractRecord.php(550): Omeka_Record_AbstractRecord->runCallbacks('afterSave', Array)
#11 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/models/Item.php(322): Omeka_Record_AbstractRecord->save()
#12 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/models/Item.php(235): Item->saveFiles()
#13 [internal function]: Item->afterSave(Array)
#14 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Omeka/Record/AbstractRecord.php(277): call_user_func(Array, Array)
#15 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Omeka/Record/AbstractRecord.php(550): Omeka_Record_AbstractRecord->runCallbacks('afterSave', Array)
#16 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Omeka/Controller/AbstractActionController.php(144): Omeka_Record_AbstractRecord->save(false)
#17 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/controllers/ItemsController.php(149): Omeka_Controller_AbstractActionController->addAction()
#18 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Zend/Controller/Action.php(516): ItemsController->addAction()
#19 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('addAction')
#20 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#21 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#22 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#23 /home/wgwaucom/public_html/omeka/omeka-2.0.3/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#24 /home/wgwaucom/public_html/omeka/omeka-2.0.3/admin/index.php(28): Omeka_Application->run()
#25 {main}
I have absolutely no idea what any of that means and would appreciate some help. If there's any other information I can provide, please just ask.