Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Omeka Install Problems

Featured Replies

Hi All,

 

I am trying to do a fresh install of Omeka 1.3.2 on Orion 7.0.1 and it keeps failing on the following:

 

Fatal error: Uncaught exception 'Zend_Db_Statement_Mysqli_Exception' with message 'Mysqli statement execute error : Duplicate entry '1' for key 'PRIMARY'' in C:\UniServer\www\omeka\application\libraries\Zend\Db\Statement\Mysqli.php:214 Stack trace: #0 C:\UniServer\www\omeka\application\libraries\Zend\Db\Statement.php(300): Zend_Db_Statement_Mysqli->_execute(Array) #1 C:\UniServer\www\omeka\application\libraries\Zend\Db\Adapter\Abstract.php(468): Zend_Db_Statement->execute(Array) #2 [internal function]: Zend_Db_Adapter_Abstract->query('?INSERT INTO `o...', Array) #3 C:\UniServer\www\omeka\application\libraries\Omeka\Db.php(82): call_user_func_array(Array, Array) #4 C:\UniServer\www\omeka\application\libraries\Omeka\Db.php(284): Omeka_Db->__call('query', Array) #5 C:\UniServer\www\omeka\application\libraries\Omeka\Db.php(284): Omeka_Db->query('?INSERT INTO `o...', Array) #6 C:\UniServer\www\omeka\application\libraries\Omeka\Db.php(300): Omeka_Db->exec('?INSERT INTO `o...') #7 C:\UniServer\www\omeka\application\libraries\Ome in C:\UniServer\www\omeka\application\libraries\Zend\Db\Statement\Mysqli.php on line 214

 

This is the response I have gotten so far from the omeka devs:

 

It looks like you need to drop or truncate or otherwise clear out your database.

 

That error shows that the installer is trying to add a duplicate row to a table, which means you've got old data already sitting around in the database you're trying to install to.

 

You can drop the tables from your database, or make a new database and point Omeka at that one, or just change the "prefix" setting in db.ini. Any of those option will make sure that there's no old tables floating around.

 

However, I these are fresh installs of both Uniform Server and Omeka.

 

Anyone have any clues?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.