I am trying to install the Api Import plugin. Every time, I get the dreaded "Omeka has encountered an error" message. The error log says:-
2015-10-12T14:01:55+00:00 ERR (3): exception 'Zend_Db_Statement_Mysqli_Exception' with message 'Mysqli prepare error: Table 'omeka.omeka_omeka_api_import_record_id_maps' doesn't exist' in /var/www/omeka/application/libraries/Zend/Db/Statement/Mysqli.php:77
Stack trace:
#0 /var/www/omeka/application/libraries/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('SELECT
omeka_a...')#1 /var/www/omeka/application/libraries/Zend/Db/Adapter/Mysqli.php(388): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'SELECT `omeka_a...')
#2 /var/www/omeka/application/libraries/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Adapter_Mysqli->prepare('SELECT `omeka_a...')
#3 [internal function]: Zend_Db_Adapter_Abstract->query(Object(Omeka_Db_Select), Array)
#4 /var/www/omeka/application/libraries/Omeka/Db.php(79): call_user_func_array(Array, Array)
#5 /var/www/omeka/application/libraries/Omeka/Db/Table.php(648): Omeka_Db->__call('query', Array)
#6 /var/www/omeka/application/libraries/Omeka/Db/Table.php(648): Omeka_Db->query(Object(Omeka_Db_Select), Array)
#7 /var/www/omeka/application/libraries/Omeka/Db/Table.php(281): Omeka_Db_Table->fetchObjects(Object(Omeka_Db_Select))
#8 /var/www/omeka/plugins/OmekaApiImport/OmekaApiImportPlugin.php(113): Omeka_Db_Table->findBy(Array)
#9 [internal function]: OmekaApiImportPlugin->hookAfterDeleteRecord(Array)
#10 /var/www/omeka/application/libraries/Omeka/Plugin/Broker.php(157): call_user_func(Array, Array)
#11 /var/www/omeka/application/libraries/Omeka/Record/AbstractRecord.php(295): Omeka_Plugin_Broker->callHook('after_delete_re...', Array)
#12 /var/www/omeka/application/libraries/Omeka/Record/AbstractRecord.php(593): Omeka_Record_AbstractRecord->runCallbacks('afterDelete')
#13 /var/www/omeka/application/libraries/Omeka/Plugin/Installer.php(133): Omeka_Record_AbstractRecord->delete()
#14 /var/www/omeka/application/controllers/PluginsController.php(97): Omeka_Plugin_Installer->install(Object(Plugin))
#15 /var/www/omeka/application/libraries/Zend/Controller/Action.php(516): PluginsController->installAction()
#16 /var/www/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('installAction')
#17 /var/www/omeka/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#18 /var/www/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#19 /var/www/omeka/application/libraries/Zend/Application.php(382): Zend_Application_Bootstrap_Bootstrap->run()
#20 /var/www/omeka/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#21 /var/www/omeka/admin/index.php(28): Omeka_Application->run()
#22 {main}`
(Hopefully the error log appears as sanely - this is my first post to the Omeka forums.)
I take it that the plugin is trying to access a non-existent table. I have tried this installation on two systems, including a newly created one, and the error is the same. The table certainly does not exist in the database, but my php knowledge does not extend to debugging exactly where the error occurs.
The only similar error I have found on the forums is someone who was trying to install simple pages, and the error occurred because the plugin had already been installed. This is not the case with the problem I am having.
Has anyone got any pointers for me?
The background to this requirement is that I have multiple groups wanting to archive information while remaining autonomous of each other, but we want to aggregate the results. The granular control over "communities" is available in dspace, but we are trying to replicate the facility in Omeka. Happy to accept procedural suggestions in the absence of a technical resolution to the API plugin problem.
Many thanks