Neatline Time does not install

I’ve been unable to install Neatline Time (2.1.1) in Omeka 2.7.1 (PHP 7.2.24 (fpm-fcgi), OS Linux 4.18.0-193.13.2.el8_2.x86_64 x86_64, MySQL Server 5.5.65, MySQL Client mysqlnd 5.0.12-dev). The base Neatline plugin (2.6.3) installed successfully. The error is:

Omeka has encountered an error


Mysqli statement execute error : Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause

Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause in /srv/www/

Stack trace:

#0 /srv/www/ Zend_Db_Statement_Mysqli->_execute(Array)

#1 /srv/www/ Zend_Db_Statement->execute(Array)

#2 /srv/www/ Zend_Db_Adapter_Abstract->query(‘CREATE TABLE IF…’)

#3 /srv/www/ Omeka_Db->__call(‘query’, Array)

#4 /srv/www/ NeatlineTimePlugin->hookInstall(Array)

#5 /srv/www/ Omeka_Plugin_Broker->callHook(‘install’, Array, Object(Plugin))

#6 /srv/www/ Omeka_Plugin_Installer->install(Object(Plugin))

#7 /srv/www/ PluginsController->installAction()

#8 /srv/www/ Zend_Controller_Action->dispatch(‘installAction’)

#9 /srv/www/ Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))

#10 /srv/www/ Zend_Controller_Front->dispatch()

#11 /srv/www/ Zend_Application_Bootstrap_Bootstrap->run()

#12 /srv/www/ Zend_Application->run()

#13 /srv/www/ Omeka_Application->run()

#14 {main}

Googling “there can be only one TIMESTAMP column with CURRENT_TIMESTAMP” and suggest that the problem is that the Neatline Time SQL won’t run in my server’s version of MySQL.

Can the Neatline Time code be edited so that this plugin can install and run successfully on the Omeka I’m setting up?

Hi cosine,

If you don’t mind to test, try replacing CURRENT_TIMESTAMP to ‘2000-01-01 00:00:00’ on line 59 of NeatlineTimePlugin.php. I think this should allow you to install on MySQL 5.5. I’ll test this myself once I can get a container running with that version of MySQL.


Hi cosine,

My suggestion does seem to work, at least from testing my own installation. However, it also appears the SIMILE timeline libraries are no longer hosted where they used to be, which means none of the javascript necessary to create a timeline will work. I’m afraid this means we’ll need to deprecate NeatlineTime as currently written, and possibly look into alternative timeline libraries. I’m sorry for the trouble.

(Update: Daniel KM has a fork of NeatlineTime available at that includes an option for the KnightLabs timeline library. I suggest trying Daniel’s plugin out.)


Thank you very much for troubleshooting my problem installing the Neatline Time plugin, and doing it so quickly as well! I deleted the plugin and successfully installed Daniel KM’s fork of Neatline Time as you suggested, selecting the KnightLabs library. Everything looks good!

That’s great to hear cosine. I did hop on to say, thanks to help from the Omeka team, we have made an updated release that should address the issues you ran into. If you’re happy with Daniel’s version of the plugin, definitely keep using it! But thanks for reporting the issue.

I see the the new version 2.1.2 on the Omeka Classic Plugins page! This is great work – thanks again!

This topic was automatically closed after 250 days. New replies are no longer allowed.