Error when using CSV Import

I just tried to upload a CSV file using CSV Import, and received the following error. Any ideas what is happening?

Omeka has encountered an error
RuntimeException
The configured PHP path (/usr/bin/php) does not point to a PHP-CLI binary.

exception ‘RuntimeException’ with message ‘The configured PHP path (/usr/bin/php) does not point to a PHP-CLI binary.’ in /home/digital8/public_html/application/libraries/Omeka/Job/Process/Dispatcher.php:124
Stack trace:
#0 /home/digital8/public_html/application/libraries/Omeka/Job/Process/Dispatcher.php(93): Omeka_Job_Process_Dispatcher::_checkCliPath(’/usr/bin/php’)
#1 /home/digital8/public_html/application/libraries/Omeka/Job/Process/Dispatcher.php(28): Omeka_Job_Process_Dispatcher::getPHPCliPath()
#2 /home/digital8/public_html/application/libraries/Omeka/Job/Dispatcher/Adapter/BackgroundProcess.php(31): Omeka_Job_Process_Dispatcher::startProcess(‘Omeka_Job_Proce…’, Object(User), Array)
#3 /home/digital8/public_html/application/libraries/Omeka/Job/Dispatcher/Default.php(151): Omeka_Job_Dispatcher_Adapter_BackgroundProcess->send(’{“className”:"C…’, Array)
#4 /home/digital8/public_html/plugins/CsvImport/controllers/IndexController.php(393): Omeka_Job_Dispatcher_Default->sendLongRunning(‘CsvImport_Impor…’, Array)
#5 /home/digital8/public_html/plugins/CsvImport/controllers/IndexController.php(135): CsvImport_IndexController->_dispatchImportTask(Object(CsvImport_Import), ‘start’)
#6 /home/digital8/public_html/application/libraries/Zend/Controller/Action.php(516): CsvImport_IndexController->mapColumnsAction()
#7 /home/digital8/public_html/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(‘mapColumnsActio…’)
#8 /home/digital8/public_html/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /home/digital8/public_html/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#10 /home/digital8/public_html/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#11 /home/digital8/public_html/application/libraries/Omeka/Application.php(73): Zend_Application->run()
#12 /home/digital8/public_html/admin/index.php(28): Omeka_Application->run()
#13 {main}

What output do you get when you run /usr/bin/php -v on your server? The error message you quoted is what you get when there’s something at /usr/bin/php but the output doesn’t look like what’s expected.

There was another issue with our website, and I just restored to a previous backup. This fixed the problem as stated.

I’m glad to hear it.

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