Omeka will not load Images- I have tried all the suggestions in the forum

I am hosting on Midphase and Omeka will not upload images. Here are the details of the error message. Can anyone help with this? I used it some years ago on Midphase and I did not have this problem.

Omeka_File_Derivative_Exception: Failed to execute command: -auto-orient -background white +repage -flatten -thumbnail . in /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/libraries/Omeka/File/Derivative/Strategy/ExternalImageMagick.php:210 Stack trace: #0 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/libraries/Omeka/File/Derivative/Strategy/ExternalImageMagick.php(48): Omeka_File_Derivative_Strategy_ExternalImageMagick::executeCommand(’ -auto-orient …’, NULL, NULL, NULL) #1 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/libraries/Omeka/File/Derivative/Creator.php(76): Omeka_File_Derivative_Strategy_ExternalImageMagick->createImage(’/tmp/9ac77e009b…’, ‘/tmp/fullsize_9…’, ‘fullsize’, 800, ‘image/jpeg’) #2 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/models/File.php(356): Omeka_File_Derivative_Creator->create(’/tmp/9ac77e009b…’, ‘9ac77e009bf4b5f…’, ‘image/jpeg’) #3 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/models/Job/FileProcessUpload.php(22): File->createDerivatives() #4 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/libraries/Omeka/Job/Dispatcher/Adapter/Synchronous.php(25): Job_FileProcessUpload->perform() #5 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/libraries/Omeka/Job/Dispatcher/Default.php(137): Omeka_Job_Dispatcher_Adapter_Synchronous->send(’{“className”:"J…’, Array) #6 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/models/File.php(203): Omeka_Job_Dispatcher_Default->send(‘Job_FileProcess…’, Array) #7 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/libraries/Omeka/Record/AbstractRecord.php(280): File->afterSave(Array) #8 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/libraries/Omeka/Record/AbstractRecord.php(548): Omeka_Record_AbstractRecord->runCallbacks(‘afterSave’, Array) #9 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/models/Item.php(336): Omeka_Record_AbstractRecord->save() #10 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/models/Builder/Item.php(203): Item->saveFiles() #11 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/libraries/globals.php(567): Builder_Item->addFiles(‘Upload’, ‘file’, Array) #12 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/models/Item.php(321): insert_files_for_item(Object(Item), ‘Upload’, ‘file’, Array) #13 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/models/Item.php(231): Item->_uploadFiles() #14 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/libraries/Omeka/Record/AbstractRecord.php(280): Item->beforeSave(Array) #15 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/libraries/Omeka/Record/AbstractRecord.php(529): Omeka_Record_AbstractRecord->runCallbacks(‘beforeSave’, Array) #16 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/libraries/Omeka/Controller/AbstractActionController.php(229): Omeka_Record_AbstractRecord->save(false) #17 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/controllers/ItemsController.php(88): Omeka_Controller_AbstractActionController->editAction() #18 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/libraries/Zend/Controller/Action.php(516): ItemsController->editAction() #19 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(‘editAction’) #20 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #21 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #22 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #23 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/application/libraries/Omeka/Application.php(73): Zend_Application->run() #24 /home/kwamedaw/public_html/plays.kwamedawes.com/omeka/admin/index.php(28): Omeka_Application->run() #25 {main}

This looks like your host has disabled the escapeshellarg function… this is necessary for running ImageMagick from within Omeka, so you’d have to talk with them about your options for getting it enabled, or if they have the imagick extension to allow you to use ImageMagick without using the command line. Generally, if escapeshellarg is disabled, most or all of the other functions used to execute commands are also disabled.

There’s also the option of using the GD-based thumbnailer (see the manual for instructions on changing the thumbnailer), which is generally available on most hosts, but supports fewer types of files than ImageMagick does.

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.