We are attempting to use CSV 2.0 on a Omeka 2.0.1 installation. Our files keep getting an error and they show up as queued, no records imported. We ran the included "test.csv" and the following messages show in the error_log:
PHP Warning: Invalid argument supplied for foreach() in /--/--/public_html/history/omeka/plugins/CsvImport/forms/Mapping.php on line 292
(above line 12 times for test.csv)
PHP Notice: Undefined offset: 1 in /--/--/public_html/history/omeka/application/libraries/Omeka/Job/Process/Dispatcher.php on line 120
PHP Notice: Undefined offset: 2 in /--/--/public_html/history/omeka/application/libraries/Omeka/Job/Process/Dispatcher.php on line 121
The following is our server environment:
PHP/Zend Info is as follows:
PHP 5.4.12 (cli) (built: Mar 15 2013 00:52:24)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
Linux (CentOS) info:
Linux host2.--.-- 2.6.18-194.17.1.el5 #1 SMP Wed Sep 29 12:50:31 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
Apache2 info:
Server version: Apache/2.0.64
Server built: Mar 15 2013 00:43:10
Cpanel::Easy::Apache v3.18.6 rev9999
MySQL info:
mysql Ver 14.12 Distrib 5.0.96, for unknown-linux-gnu (x86_64) using readline 5.1
I read through the other CSV 2.0 messages on the Troubleshooting forum and tried some of their "solutions", none of which worked. Also, we disabled and uninstalled all other plugins. We were not running the Social Bookmarking plugin which has appeared as a potential culprit in a number of messages.
Any help / suggestions would be appreciated!
Jim Metzger