Error uploading images

When I try to upload a jpg file, I get the following error in my omeka 1.5.3 error.log file. The image is 380K.

#1 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/File/Derivative/Image.php(222): Omeka_File_Derivative_Image::createDerivativeImages('/tmp/520f13de83...')
#2 /prodat/omeka/omeka-1.5.3/application/models/File.php(248): Omeka_File_Derivative_Image::createAll('/tmp/520f13de83...', 'image/jpeg')
#3 /prodat/omeka/omeka-1.5.3/application/models/File/ProcessUploadJob.php(24): File->createDerivatives()
#4 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Job/Dispatcher/Adapter/Synchronous.php(25): File_ProcessUploadJob->perform()
#5 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Job/Dispatcher/Default.php(95): Omeka_Job_Dispatcher_Adapter_Synchronous->send('{"className":"F...', Array)
#6 /prodat/omeka/omeka-1.5.3/application/models/File.php(70): Omeka_Job_Dispatcher_Default->send('File_ProcessUpl...', Array)
#7 [internal function]: File->afterInsert()
#8 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Record.php(282): call_user_func_array(Array, Array)
#9 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Record.php(561): Omeka_Record->runCallbacks('afterInsert')
#10 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Record.php(581): Omeka_Record->save()
#11 /prodat/omeka/omeka-1.5.3/application/models/Item.php(303): Omeka_Record->forceSave()
#12 /prodat/omeka/omeka-1.5.3/application/models/ItemBuilder.php(213): Item->saveFiles()
#13 /prodat/omeka/omeka-1.5.3/application/libraries/globals.php(505): ItemBuilder->addFiles('Filesystem', Array, Array)
#14 /prodat/omeka/omeka-1.5.3/plugins/Dropbox/plugin.php(82): insert_files_for_item(Object(Item), 'Filesystem', Array)
#15 [internal function]: dropbox_save_files(Object(Item), Object(ArrayObject))
#16 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Plugin/Broker.php(156): call_user_func_array('dropbox_save_fi...', Array)
#17 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Plugin/Broker.php(182): Omeka_Plugin_Broker->callHook('before_save_for...', Array)
#18 [internal function]: Omeka_Plugin_Broker->__call('before_save_for...', Array)
#19 [internal function]: Omeka_Plugin_Broker->before_save_form_item(Object(Item), Object(ArrayObject))
#20 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Record.php(304): call_user_func_array(Array, Array)
#21 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Record.php(803): Omeka_Record->runCallbacks('beforeSaveForm', Object(ArrayObject))
#22 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Controller/Action.php(482): Omeka_Record->saveForm(Array)
#23 /prodat/omeka/omeka-1.5.3/application/controllers/ItemsController.php(99): Omeka_Controller_Action->editAction()
#24 /prodat/omeka/omeka-1.5.3/application/libraries/Zend/Controller/Action.php(516): ItemsController->editAction()
#25 /prodat/omeka/omeka-1.5.3/application/libraries/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('editAction')
#26 /prodat/omeka/omeka-1.5.3/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#27 /prodat/omeka/omeka-1.5.3/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#28 /prodat/omeka/omeka-1.5.3/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#29 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Core.php(165): Zend_Application->run()
#30 /prodat/omeka/omeka-1.5.3/admin/index.php(44): Omeka_Core->run()
#31 {main}

Can you include the line or two right before your top ones? That's where the actual name and message for the error are.

I'm sorry for missing that:

2013-06-03T13:50:41-04:00 WARN (4): Omeka_Storage_Adapter_Filesystem: Tried to delete missing file 'files/48a346723d25a0a2e76175544a6020e4.jpg'.
2013-06-03T13:50:41-04:00 ERR (3): exception 'Omeka_File_Derivative_Exception' with message 'Something went wrong with image creation. Please notify an administrator.' in /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/File/Derivative/Image.php:189
Stack trace:
#0 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/File/Derivative/Image.php(113): Omeka_File_Derivative_Image::createImage('/tmp/48a346723d...', '800', 'fullsize')

The path to ImageMagick wasn't correct in the settings because I hadn't used yum to install ImageMagick. I now installed via yum and the path is /usr/bin in the settings and that is where the binaries are located for ImageMagick. I still get an error on upload:

2013-06-04T10:20:54-04:00 WARN (4): Omeka_Storage_Adapter_Filesystem: Tried to delete missing file 'files/2c0747edbad3b671e18eee0c10c2751a.jpg'.
2013-06-04T10:20:54-04:00 ERR (3): exception 'Omeka_File_Derivative_Exception' with message 'Something went wrong with image creation. Please notify an administrator.' in /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/File/Derivative/Image.php:189
Stack trace:
#0 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/File/Derivative/Image.php(113): Omeka_File_Derivative_Image::createImage('/tmp/2c0747edba...', '800', 'fullsize')
#1 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/File/Derivative/Image.php(222): Omeka_File_Derivative_Image::createDerivativeImages('/tmp/2c0747edba...')
#2 /prodat/omeka/omeka-1.5.3/application/models/File.php(248): Omeka_File_Derivative_Image::createAll('/tmp/2c0747edba...', 'image/jpeg')
#3 /prodat/omeka/omeka-1.5.3/application/models/File/ProcessUploadJob.php(24): File->createDerivatives()
#4 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Job/Dispatcher/Adapter/Synchronous.php(25): File_ProcessUploadJob->perform()
#5 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Job/Dispatcher/Default.php(95): Omeka_Job_Dispatcher_Adapter_Synchronous->send('{"className":"F...', Array)
#6 /prodat/omeka/omeka-1.5.3/application/models/File.php(70): Omeka_Job_Dispatcher_Default->send('File_ProcessUpl...', Array)
#7 [internal function]: File->afterInsert()
#8 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Record.php(282): call_user_func_array(Array, Array)
#9 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Record.php(561): Omeka_Record->runCallbacks('afterInsert')
#10 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Record.php(581): Omeka_Record->save()
#11 /prodat/omeka/omeka-1.5.3/application/models/Item.php(303): Omeka_Record->forceSave()
#12 /prodat/omeka/omeka-1.5.3/application/models/ItemBuilder.php(213): Item->saveFiles()
#13 /prodat/omeka/omeka-1.5.3/application/libraries/globals.php(505): ItemBuilder->addFiles('Filesystem', Array, Array)
#14 /prodat/omeka/omeka-1.5.3/plugins/Dropbox/plugin.php(82): insert_files_for_item(Object(Item), 'Filesystem', Array)
#15 [internal function]: dropbox_save_files(Object(Item), Object(ArrayObject))
#16 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Plugin/Broker.php(156): call_user_func_array('dropbox_save_fi...', Array)
#17 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Plugin/Broker.php(182): Omeka_Plugin_Broker->callHook('before_save_for...', Array)
#18 [internal function]: Omeka_Plugin_Broker->__call('before_save_for...', Array)
#19 [internal function]: Omeka_Plugin_Broker->before_save_form_item(Object(Item), Object(ArrayObject))
#20 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Record.php(304): call_user_func_array(Array, Array)
#21 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Record.php(803): Omeka_Record->runCallbacks('beforeSaveForm', Object(ArrayObject))
#22 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Controller/Action.php(482): Omeka_Record->saveForm(Array)
#23 /prodat/omeka/omeka-1.5.3/application/controllers/ItemsController.php(99): Omeka_Controller_Action->editAction()
#24 /prodat/omeka/omeka-1.5.3/application/libraries/Zend/Controller/Action.php(516): ItemsController->editAction()
#25 /prodat/omeka/omeka-1.5.3/application/libraries/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('editAction')
#26 /prodat/omeka/omeka-1.5.3/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#27 /prodat/omeka/omeka-1.5.3/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#28 /prodat/omeka/omeka-1.5.3/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#29 /prodat/omeka/omeka-1.5.3/application/libraries/Omeka/Core.php(165): Zend_Application->run()
#30 /prodat/omeka/omeka-1.5.3/admin/index.php(44): Omeka_Core->run()
#31 {main}

Thought I'd update this thread ....

After installing ImageMagick with yum and verifying that the path was correct and that the "Test" of the path works, I was able to upload an image by browsing for the image. However, I still get the same error when trying to use Dropbox.

Dropbox is now working for me. I deactivated the plugin and reactivated it.