DB Error: Duplicate entry 'NULL' for key 2

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 1
Joined: Wed Jan 19, 2011 10:17 am

DB Error: Duplicate entry 'NULL' for key 2

Postby traiger » Wed Jan 19, 2011 10:25 am

After six months of using OJS, I suddenly can't login and get this error:

DB Error: Duplicate entry 'NULL' for key 2

My hosting service says they have not made any changes.

Please help!


Saul Traiger

Posts: 945
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Re: DB Error: Duplicate entry 'NULL' for key 2

Postby ramon » Mon Jan 31, 2011 10:38 am

Hello traiger,

There used to be a lot of info on the forum about this type of issue.
I've searched and came across a few.
From my experience, this usually happens when using custom identifiers for issues, sections and articles, with only numbers.
Since OJS uses a numeric standard, you will eventually run into problems with custom numeric identifiers.

Return to “OJS Editorial Support and Discussion”

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 2 guests