Install/upgrade DublinCoreExtended has a LAST_INSERT_ID() error

Hi there, I just upgraded to 2.1 and when I went to install the DublinCoreExtended plugin, it tells me I have the following error:

LAST_INSERT_ID() did not return a numeric ID when saving the record.

Any way I can get this installed? I tried installing both the version I had (which I didn't actually mean to do initially) and then the updated version but same thing happens.

Can you share the trace that should have come along with that error?

That should include things like the specific line of code that caused the error, which will make it easier to see what's happening.

Hi John, thanks for the response. I hope you mean this bit (if not just let me know what to grab).

Omeka has encountered an error


LAST_INSERT_ID() did not return a numeric ID when saving the record.

#0 /home/tas6wes8/public_html/omeka/application/libraries/Omeka/Plugin/Installer.php(122): Omeka_Record_AbstractRecord->save()
#1 /home/tas6wes8/public_html/omeka/application/controllers/PluginsController.php(77): Omeka_Plugin_Installer->install(Object(Plugin))
#2 /home/tas6wes8/public_html/omeka/application/libraries/Zend/Controller/Action.php(516): PluginsController->installAction()
#3 /home/tas6wes8/public_html/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('installAction')
#4 /home/tas6wes8/public_html/omeka/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#5 /home/tas6wes8/public_html/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#6 /home/tas6wes8/public_html/omeka/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#7 /home/tas6wes8/public_html/omeka/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#8 /home/tas6wes8/public_html/omeka/admin/index.php(28): Omeka_Application->run()
#9 {main}

Yes, that's the right part.

This is a strange problem, because it seems to be an issue with us saving just the small record that says the plugin is installed. This isn't normally an area that causes problems.

Can you install and uninstall other plugins without problems? (Coins is a good example of one that can be installed and uninstalled without causing any data changes.)

I was able to install/uninstall coins, csv import and exhibit builder. It only seems to be the dublin core one.

I can't reproduce any problems with installing Dublin Core Extended.

If you just wipe away the DublinCoreExtended folder completely and redownload and unzip a fresh copy of the 2.0.1 version of the plugin, does anything change?