Similar to http://omeka.org/forums/topic/csv-20-import-error, but with a twist.
Getting an "Omeka has encountered an error" message when running CSV Import 2.0, after mapping CSV columns to Dublin categories in Omeka 2.0.2.
My web host's config-n:
PHP 5.3.13 (cgi-fcgi)
OS Linux 3.0.9-bl3-grsec i686
MySQL Server 5.0.91
MySQL Client 5.0.51a
I prepared a custom CSV file, but also tried with test.csv that comes with the plugin, with same result.
I've activated error reporting as suggested in htaccess and config.ini. The Omeka interface still gives only the same general "Omeka has encountered an error" message, so the only detailed message is in errors.log, below.
The problem is, 2 service reps and 1 senior tech at the host confirm that the PHP path is indeed correct (they have provided it in the first place and double-triple checked it -- so I pasted it into config.ini as "background.php.path = "/usr/local/bin/php5–cli"). The error still suggests the problem is with the PHP path, though. No idea where to go from here?!
I have a CSV file waiting, with over 500 items I would like to load.
I have tried changing the
jobs.dispatcher.longRunning = "Omeka_Job_Dispatcher_Adapter_BackgroundProcess" to "Adapter_Synchronous" as suggested in earlier post (http://omeka.org/forums/topic/csv-import-import-stays-queued#post-28262). This processes about 10 rows from my custom CSV file (I use stable URLs to pull .jpg image files into items), but it takes about a minute and it invariably shows 'completed' after only 10 items or so...so not really a solution..
--------------------
2013-04-09T13:01:46-04:00 ERR (3): exception 'RuntimeException' with message 'The configured PHP path (/usr/local/bin/php5–cli) is invalid.' in /hermes/bosweb25b/b1246/nf.ourmove/public_html/csite/omeka/application/libraries/Omeka/Job/Process/Dispatcher.php:115
Stack trace:
#0 /hermes/bosweb25b/b1246/nf.ourmove/public_html/csite/omeka/application/libraries/Omeka/Job/Process/Dispatcher.php(94): Omeka_Job_Process_Dispatcher::_checkCliPath('/usr/local/bin/...')
#1 /hermes/bosweb25b/b1246/nf.ourmove/public_html/csite/omeka/application/libraries/Omeka/Job/Process/Dispatcher.php(28): Omeka_Job_Process_Dispatcher::getPHPCliPath()
#2 /hermes/bosweb25b/b1246/nf.ourmove/public_html/csite/omeka/application/libraries/Omeka/Job/Dispatcher/Adapter/BackgroundProcess.php(31): Omeka_Job_Process_Dispatcher::startProcess('Omeka_Job_Proce...', Object(User), Array)
#3 /hermes/bosweb25b/b1246/nf.ourmove/public_html/csite/omeka/application/libraries/Omeka/Job/Dispatcher/Default.php(150): Omeka_Job_Dispatcher_Adapter_BackgroundProcess->send('{"className":"C...', Array)
#4 /hermes/bosweb25b/b1246/nf.ourmove/public_html/csite/omeka/plugins/CsvImport/controllers/IndexController.php(388): Omeka_Job_Dispatcher_Default->sendLongRunning('CsvImport_Impor...', Array)
#5 /hermes/bosweb25b/b1246/nf.ourmove/public_html/csite/omeka/plugins/CsvImport/controllers/IndexController.php(128): CsvImport_IndexController->_dispatchImportTask(Object(CsvImport_Import), 'start')
#6 /hermes/bosweb25b/b1246/nf.ourmove/public_html/csite/omeka/application/libraries/Zend/Controller/Action.php(516): CsvImport_IndexController->mapColumnsAction()
#7 /hermes/bosweb25b/b1246/nf.ourmove/public_html/csite/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('mapColumnsActio...')
#8 /hermes/bosweb25b/b1246/nf.ourmove/public_html/csite/omeka/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /hermes/bosweb25b/b1246/nf.ourmove/public_html/csite/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#10 /hermes/bosweb25b/b1246/nf.ourmove/public_html/csite/omeka/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#11 /hermes/bosweb25b/b1246/nf.ourmove/public_html/csite/omeka/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#12 /hermes/bosweb25b/b1246/nf.ourmove/public_html/csite/omeka/admin/index.php(28): Omeka_Application->run()
#13 {main}
----------------------
Thanks for any help...if there is some other setting I can change, or can provide info, just let me know. I can also setup another admin acct to use to test, if that would help (just email).