Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install error : Mysqli statement execute error : Invalid default value for 'added' #15

Open
kepon85 opened this issue Jun 23, 2022 · 0 comments

Comments

@kepon85
Copy link

kepon85 commented Jun 23, 2022

Hello,

I have an Omeka Classic 2.8 on a PHP 5.6 server, Mariadb 15.1

And when I try to install the plugin I get the following message:

Omeka a rencontré une erreur

Zend_Db_Statement_Mysqli_Exception

Mysqli statement execute error : Invalid default value for 'added'

exception 'Zend_Db_Statement_Mysqli_Exception' with message 'Mysqli statement execute error : Invalid default value for 'added'' in /srv/quimper/application/libraries/Zend/Db/Statement/Mysqli.php:215
Stack trace:
#0 /srv/quimper/application/libraries/Zend/Db/Statement.php(303): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /srv/quimper/application/libraries/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 [internal function]: Zend_Db_Adapter_Abstract->query('\n        CREATE...')
#3 /srv/quimper/application/libraries/Omeka/Db.php(80): call_user_func_array(Array, Array)
#4 /srv/quimper/plugins/Stats/StatsPlugin.php(125): Omeka_Db->__call('query', Array)
#5 /srv/quimper/plugins/Stats/StatsPlugin.php(125): Omeka_Db->query('\n        CREATE...')
#6 [internal function]: StatsPlugin->hookInstall(Array)
#7 /srv/quimper/application/libraries/Omeka/Plugin/Broker.php(142): call_user_func(Array, Array)
#8 /srv/quimper/application/libraries/Omeka/Plugin/Installer.php(126): Omeka_Plugin_Broker->callHook('install', Array, Object(Plugin))
#9 /srv/quimper/application/controllers/PluginsController.php(95): Omeka_Plugin_Installer->install(Object(Plugin))
#10 /srv/quimper/application/libraries/Zend/Controller/Action.php(516): PluginsController->installAction()
#11 /srv/quimper/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('installAction')
#12 /srv/quimper/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#13 /srv/quimper/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#14 /srv/quimper/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#15 /srv/quimper/application/libraries/Omeka/Application.php(73): Zend_Application->run()
#16 /srv/quimper/admin/index.php(28): Omeka_Application->run()
#17 {main}

I specify that I have another Omeka (2.7) and that the installation of the plugin stats did not pose a problem... Do you have a track for me?

Thank you for this plugin,
David

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant