Cannot Add Items after 1.5 Upgrade

I have upgraded my site to Omeka 1.5, but now I can no longer add an item from the Items tab on the admin panel.

Would you mind providing a little more information about what exactly is happening?

Are you able to get to the Add item screen?
Can you enter text in metadata fields?
If you enter metadata, is it the not saved?
Can you edit existing items?

Is the /archive directory and all of its sub-folders writable to the web?


From the Items tab, when I click the 'Add an Item' button I am redirected to a page that reads "Omeka has encountered and Error."

I have been able to edit existing items.

The /archive directory is writeable. But during the upgrade this was copied over - not sure if that is related.

Yes, usually in the upgrade process, you
will start with a new Omeka version and then you copy over your old archive and any theme files you've modified in the original installation.

Will you enable the display of error messages?

You can follow the directions here:

Once you've made those changes, please let us know what the error says and we may be able to better understand what is happening.


Sorry for the delay, Sheila.
In the meantime I have been able to add items by uploading all of their metadata using the CSV import plugin. But I was not able to include files in the CSV import process. And now when I try to manually add files for each item, I get an error message:

#0 /srv/www/ Omeka_Storage_Adapter_Filesystem->_rename('/tmp/86cc72ce69...', '/srv/www/icfa.d...')
#1 [internal function]: Omeka_Storage_Adapter_Filesystem->store('/tmp/86cc72ce69...', 'files/86cc72ce6...')
#2 /srv/www/ call_user_func_array(Array, Array)
#3 [internal function]: Omeka_Storage->__call('store', Array)
#4 /srv/www/ Omeka_Storage->store('/tmp/86cc72ce69...', 'files/86cc72ce6...')
#5 /srv/www/ File->storeFiles()
#6 /srv/www/ File_ProcessUploadJob->perform()
#7 /srv/www/ Omeka_Job_Dispatcher_Adapter_Synchronous->send('{"className":"F...', Array)
#8 /srv/www/ Omeka_Job_Dispatcher_Default->send('File_ProcessUpl...', Array)
#9 [internal function]: File->afterInsert()
#10 /srv/www/ call_user_func_array(Array, Array)
#11 /srv/www/ Omeka_Record->runCallbacks('afterInsert')
#12 /srv/www/ Omeka_Record->save()
#13 /srv/www/ Omeka_Record->forceSave()
#14 /srv/www/ Item->saveFiles()
#15 /srv/www/ ItemBuilder->addFiles('Upload', 'file', Array)
#16 /srv/www/ insert_files_for_item(Object(Item), 'Upload', 'file', Array)
#17 /srv/www/ Item->_uploadFiles()
#18 [internal function]: Item->beforeSaveForm(Object(ArrayObject))
#19 /srv/www/ call_user_func_array(Array, Array)
#20 /srv/www/ Omeka_Record->runCallbacks('beforeSaveForm', Object(ArrayObject))
#21 /srv/www/ Omeka_Record->saveForm(Array)
#22 /srv/www/ Omeka_Controller_Action->editAction()
#23 /srv/www/ ItemsController->editAction()
#24 /srv/www/ Zend_Controller_Action->dispatch('editAction')
#25 /srv/www/ Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#26 /srv/www/ Zend_Controller_Front->dispatch()
#27 /srv/www/ Zend_Application_Bootstrap_Bootstrap->run()
#28 /srv/www/ Zend_Application->run()
#29 /srv/www/ Omeka_Core->run()
#30 {main}

Sorry Sheila, the forum was not letting me post the above error code along with a message.

And sorry for the delay.
I have been able to add items by uploading all of their metadata using the CSV import plugin. But I was not able to include files during that process. And now when I try to manually add files to each item, I get the above error code.

This looks like the kind of error you might get if your archive directory (or one of its subdirectories) wasn't writable.

Can you check to make sure the permissions didn't get lost on those folders when you moved them around during the upgrade?

Also, do you get this error when clicking "Add an Item," and before you try to submit the item form, or after? This error is one I'd expect to see when submitting the item form.

Thanks John! I changed the permissions settings, and have successfully uploaded the image files.