Adding first item results in "Omeka_Storage_Exception" error

After initial setup of Omeka I got the "Zend_File_Transfer_Exception" error when I would attempt to change themes. I fixed that problem, using instructions from your forum, by changing the "Storage.tempDir" to equal "/tmp", which is where my tmp folder is located. After that I was able to change themes just fine.

Then I added a collection, that worked. Then I went to add an item, two photos, that I connected to the collection. It gave me the error "Omeka_Storage_Exception" "-The storage adapter is not initialized". The log that it displays is:

--------------------------------------------
#0 /home/content/j/o/n/jone4330/html/DigitalArchive/application/models/File.php(232): Omeka_Storage->__call('delete', Array)
#1 /home/content/j/o/n/jone4330/html/DigitalArchive/application/models/File.php(232): Omeka_Storage->delete('files/9d97e8be3...')
#2 /home/content/j/o/n/jone4330/html/DigitalArchive/application/models/File.php(238): File->unlinkFile()
#3 /home/content/j/o/n/jone4330/html/DigitalArchive/application/libraries/Omeka/Record.php(620): File->_delete()
#4 /home/content/j/o/n/jone4330/html/DigitalArchive/application/models/File/ProcessUploadJob.php(27): Omeka_Record->delete()
#5 /home/content/j/o/n/jone4330/html/DigitalArchive/application/libraries/Omeka/Job/Dispatcher/Adapter/Synchronous.php(25): File_ProcessUploadJob->perform()
#6 /home/content/j/o/n/jone4330/html/DigitalArchive/application/libraries/Omeka/Job/Dispatcher/Default.php(95): Omeka_Job_Dispatcher_Adapter_Synchronous->send('{"className":"F...', Array)
#7 /home/content/j/o/n/jone4330/html/DigitalArchive/application/models/File.php(70): Omeka_Job_Dispatcher_Default->send('File_ProcessUpl...', Array)
#8 [internal function]: File->afterInsert()
#9 /home/content/j/o/n/jone4330/html/DigitalArchive/application/libraries/Omeka/Record.php(282): call_user_func_array(Array, Array)
#10 /home/content/j/o/n/jone4330/html/DigitalArchive/application/libraries/Omeka/Record.php(561): Omeka_Record->runCallbacks('afterInsert')
#11 /home/content/j/o/n/jone4330/html/DigitalArchive/application/libraries/Omeka/Record.php(581): Omeka_Record->save()
#12 /home/content/j/o/n/jone4330/html/DigitalArchive/application/models/Item.php(303): Omeka_Record->forceSave()
#13 /home/content/j/o/n/jone4330/html/DigitalArchive/application/models/Item.php(239): Item->saveFiles()
#14 [internal function]: Item->afterSave()
#15 /home/content/j/o/n/jone4330/html/DigitalArchive/application/libraries/Omeka/Record.php(282): call_user_func_array(Array, Array)
#16 /home/content/j/o/n/jone4330/html/DigitalArchive/application/libraries/Omeka/Record.php(566): Omeka_Record->runCallbacks('afterSave')
#17 /home/content/j/o/n/jone4330/html/DigitalArchive/application/libraries/Omeka/Record.php(807): Omeka_Record->save()
#18 /home/content/j/o/n/jone4330/html/DigitalArchive/application/libraries/Omeka/Controller/Action.php(419): Omeka_Record->saveForm(Array)
#19 /home/content/j/o/n/jone4330/html/DigitalArchive/application/controllers/ItemsController.php(133): Omeka_Controller_Action->addAction()
#20 /home/content/j/o/n/jone4330/html/DigitalArchive/application/libraries/Zend/Controller/Action.php(516): ItemsController->addAction()
#21 /home/content/j/o/n/jone4330/html/DigitalArchive/application/libraries/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('addAction')
#22 /home/content/j/o/n/jone4330/html/DigitalArchive/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#23 /home/content/j/o/n/jone4330/html/DigitalArchive/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#24 /home/content/j/o/n/jone4330/html/DigitalArchive/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#25 /home/content/j/o/n/jone4330/html/DigitalArchive/application/libraries/Omeka/Core.php(165): Zend_Application->run()
#26 /home/content/j/o/n/jone4330/html/DigitalArchive/admin/index.php(44): Omeka_Core->run()
#27 {main}
--------------------------------------------

Can you help me get this thing working?

Thanks,

Marc Jones

I'm not sure which thread exactly you were reading, but at least one thread sounds exactly like your situation.

Try adding

storage.adapter = "Omeka_Storage_Adapter_Filesystem"

to config.ini.

I know, I saw that and that is the one I used to attempt to fix my problem. I looked at my config.ini file and saw that it already had a storage.adapter entry in it as follows:

storage.adapter = "Omeka_Storage_Adapter_ZendS3"

I changed it to match what was in the forum post, and that you directed above, and there was no change. So, I put it back to the original setting.

I'm sorry about not putting that info in my last post.

I appreciate your help.

That line you saw in the file usually has a semicolon (;) at the front of the line.

Semicolons mark comments in INI files.

Make sure that the line you're creating or the line you're editing doesn't start with a semicolon.

Ahhhh. That was it. Thank you!