Problem with the plugin Carta

Hello,

Omeka have updated to version 2.5. Before I updated Oemka, I uninstalled plugin Carta. When I try to install the plugin Carta 2.1.1., gets the message “Omeka has encountered an error.” This happens when I press the Install button on the Plugins page.
What could be wrong?

Have you tried turning on error messages or activating error logging?

When I turn Display Error Messages is displayed message:

Omeka has encountered an error

Zend_Db_Statement_Mysqli_Exception

Mysqli statement execute error : Field 'accesstoken' doesn't have a default value
exception 'Zend_Db_Statement_Mysqli_Exception' with message 'Mysqli statement execute error : Field 'accesstoken' doesn't have a default value' in /var/www/html/application/libraries/Zend/Db/Statement/Mysqli.php:214
Stack trace:
#0 /var/www/html/application/libraries/Zend/Db/Statement.php(303): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /var/www/html/application/libraries/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 [internal function]: Zend_Db_Adapter_Abstract->query('INSERT INTO `om...')
#3 /var/www/html/application/libraries/Omeka/Db.php(79): call_user_func_array(Array, Array)
#4 /var/www/html/plugins/Carta/install.php(96): Omeka_Db->__call('query', Array)
#5 /var/www/html/plugins/Carta/install.php(96): Omeka_Db->query('INSERT INTO `om...')
#6 /var/www/html/plugins/Carta/CartaPlugin.php(42): include('/var/www/html/p...')
#7 [internal function]: CartaPlugin->hookInstall(Array)
#8 /var/www/html/application/libraries/Omeka/Plugin/Broker.php(145): call_user_func(Array, Array)
#9 /var/www/html/application/libraries/Omeka/Plugin/Installer.php(130): Omeka_Plugin_Broker->callHook('install', Array, Object(Plugin))
#10 /var/www/html/application/controllers/PluginsController.php(97): Omeka_Plugin_Installer->install(Object(Plugin))
#11 /var/www/html/application/libraries/Zend/Controller/Action.php(516): PluginsController->installAction()
#12 /var/www/html/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('installAction')
#13 /var/www/html/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#14 /var/www/html/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#15 /var/www/html/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#16 /var/www/html/application/libraries/Omeka/Application.php(77): Zend_Application->run()
#17 /var/www/html/admin/index.php(28): Omeka_Application->run()
#18 {main}

Same issue here. Upgrade to 2.5 and Carta throws errors.
I had two previous Carta ID’s created and they still work … just unable to create new ID’s.
I’ll continue poking around with this plug and see if I can come up with more data.

/.d

Below follows log:

2017-03-21T09:03:16-04:00 ERR (3): exception 'Zend_Db_Statement_Mysqli_Exception' with message 'Mysqli statement execute error : Incorrect integer value: '' for column 'show_cluster' at row 1' in /home/bissklnv/public_html/archive/application/libraries/Zend/Db/Statement/Mysqli.php:214
Stack trace:
#0 /home/public_html/archive/application/libraries/Zend/Db/Statement.php(303): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/public_html/archive/application/libraries/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 [internal function]: Zend_Db_Adapter_Abstract->query('INSERT INTO ome...')
#3 /home/public_html/archive/application/libraries/Omeka/Db.php(79): call_user_func_array(Array, Array)
#4 /home/public_html/archive/plugins/Carta/models/Table/Carta.php(35): Omeka_Db->__call('query', Array)
#5 /home/public_html/archive/plugins/Carta/models/Table/Carta.php(35): Omeka_Db->query('INSERT INTO ome...')
#6 /home/public_html/archive/plugins/Carta/controllers/IndexController.php(50): Table_Carta->insert(Array)
#7 /home/public_html/archive/application/libraries/Zend/Controller/Action.php(516): Carta_IndexController->saveAction()
#8 /home/public_html/archive/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('saveAction')
#9 /home/public_html/archive/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /home/public_html/archive/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#11 /home/public_html/archive/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#12 /home/public_html/archive/application/libraries/Omeka/Application.php(77): Zend_Application->run()
#13 /home/public_html/archive/admin/index.php(28): Omeka_Application->run()
#14 {main}
2017-03-21T09:04:51-04:00 ERR (3): exception 'Zend_Db_Statement_Mysqli_Exception' with message 'Mysqli statement execute error : Incorrect integer value: '' for column 'show_cluster' at row 1' in /home/public_html/archive/application/libraries/Zend/Db/Statement/Mysqli.php:214
Stack trace:
#0 /home/public_html/archive/application/libraries/Zend/Db/Statement.php(303): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/public_html/archive/application/libraries/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 [internal function]: Zend_Db_Adapter_Abstract->query('INSERT INTO ome...')
#3 /home/public_html/archive/application/libraries/Omeka/Db.php(79): call_user_func_array(Array, Array)
#4 /home/public_html/archive/plugins/Carta/models/Table/Carta.php(35): Omeka_Db->__call('query', Array)
#5 /home/public_html/archive/plugins/Carta/models/Table/Carta.php(35): Omeka_Db->query('INSERT INTO ome...')
#6 /home/public_html/archive/plugins/Carta/controllers/IndexController.php(50): Table_Carta->insert(Array)
#7 /home/public_html/archive/application/libraries/Zend/Controller/Action.php(516): Carta_IndexController->saveAction()
#8 /home/public_html/archive/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('saveAction')
#9 /home/public_html/archive/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /home/public_html/archive/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#11 /home/public_html/archive/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#12 /home/public_html/archive/application/libraries/Omeka/Application.php(77): Zend_Application->run()
#13 /home/public_html/archive/admin/index.php(28): Omeka_Application->run()
#14 {main}



Issue resolved over here. Was running v1.2.2 (duh head/palm emoticon) … upgraded to v2.1.1 … we’re back on course.
More info here: https://github.com/AcuGIS/Carta/commit/a9b4a6a61fa99f16c55d8eff9e854e9f05b91879
and
http://omeka.org/add-ons/plugins/carta/

Hope this helps. /.d

Sorry for going AWOL.
Ill get this updated in the Omeka Plugin Downloads page.
Thanks,
David

Hi, I’m having trouble installing Carta on Omeka 2.6. I got version 1.2.2 from the GitHub repo at https://github.com/AcuGIS/Carta (using the Clone or Download button) and got a “primary key” error:

`Zend_Db_Statement_Mysqli_Exception
Mysqli statement execute error : Duplicate entry ‘1’ for key ‘PRIMARY’

Then after reading this thread I copied over a version of Carta 2.1.1 from another installation. There is no version of Carta listed on the Omeka Classic plugins page at http://omeka.org/classic/plugins/ by the way. But I’m still getting the primary key error. Help?

This might be worth filing an issue in their GitHub repo, just to make sure they see it.

In our recent remake of the Omeka web site, we went to a new system for registering and deploying submitted, so that likely explains why it is no longer listed. For the error itself, they’ll be better able to respond, but it looks like an issue in the upgrade hook.

Thanks, Patrick! Sorry, didn’t see your reply. I’ll file an issue with them.