I took about a month off from working on an Omeka site and when I returned, I found two unfamiliar errors in the admin area. Hopefully, the two errors are related and perhaps I simply deleted a file somewhere. Here they are...
*** Error #1, encountered when attempting to edit an existing item to make it featured:
Zend_File_Transfer_Exception
The given destination is not a directory or does not exist
exception 'Zend_File_Transfer_Exception' with message 'The given destination is not a directory or does not exist' in /home/histor10/public_html/nationbynumbers.com/omeka/application/libraries/Zend/File/Transfer/Adapter/Abstract.php:1035
Stack trace:
#0 /home/histor10/public_html/nationbynumbers.com/omeka/application/libraries/Omeka/File/Ingest/Upload.php(41): Zend_File_Transfer_Adapter_Abstract->setDestination('/tmp')
#1 /home/histor10/public_html/nationbynumbers.com/omeka/application/libraries/Omeka/File/Ingest/Upload.php(113): Omeka_File_Ingest_Upload->_buildAdapter()
#2 /home/histor10/public_html/nationbynumbers.com/omeka/application/libraries/Omeka/File/Ingest/Abstract.php(181): Omeka_File_Ingest_Upload->_parseFileInfo('file')
#3 /home/histor10/public_html/nationbynumbers.com/omeka/application/models/ItemBuilder.php(210): Omeka_File_Ingest_Abstract->ingest('file')
#4 /home/histor10/public_html/nationbynumbers.com/omeka/application/libraries/globals.php(491): ItemBuilder->addFiles('Upload', 'file', Array)
#5 /home/histor10/public_html/nationbynumbers.com/omeka/application/models/Item.php(270): insert_files_for_item()
#6 /home/histor10/public_html/nationbynumbers.com/omeka/application/models/Item.php(154): Item->_uploadFiles(Object(Item), 'Upload', 'file', Array)
#7 /home/histor10/public_html/nationbynumbers.com/omeka/application/libraries/Omeka/Record.php(284): Item->beforeSaveForm()
#8 /home/histor10/public_html/nationbynumbers.com/omeka/application/libraries/Omeka/Record.php(805): Omeka_Record->runCallbacks(Object(ArrayObject))
#9 /home/histor10/public_html/nationbynumbers.com/omeka/application/libraries/Omeka/Controller/Action.php(483): Omeka_Record->saveForm(Array, Array)
#10 /home/histor10/public_html/nationbynumbers.com/omeka/application/controllers/ItemsController.php(100): Omeka_Controller_Action->editAction('beforeSaveForm', Object(ArrayObject))
#11 /home/histor10/public_html/nationbynumbers.com/omeka/application/libraries/Zend/Controller/Action.php(513): ItemsController->editAction(Array)
#12 /home/histor10/public_html/nationbynumbers.com/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch()
#13 /home/histor10/public_html/nationbynumbers.com/omeka/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch()
#14 /home/histor10/public_html/nationbynumbers.com/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch('editAction')
#15 /home/histor10/public_html/nationbynumbers.com/omeka/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#16 /home/histor10/public_html/nationbynumbers.com/omeka/application/libraries/Omeka/Core.php(166): Zend_Application->run()
#17 /home/histor10/public_html/nationbynumbers.com/omeka/admin/index.php(45): Omeka_Core->run()
#18 {main}
*** Error #2, encountered when attempting to navigate to CSV Import. As for this error, this was one that I faced earlier problems with and successfully fixed. I changed the path to /usr/local/bin/php in the configuration file, successfully imported several sets of images and metadata with it, but now it reports that the path is invalid.
Your PHP-CLI path setting is invalid.
Please change the setting in /home/histor10/public_html/nationbynumbers.com/omeka/application/config/config.ini`
Any help would be greatly appreciated!
Rachel