You are viewing the PKP Support Forum | PKP Home Wiki

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
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

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: 1
Joined: Wed Jan 19, 2011 10:17 am

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.
Posts: 945
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: No registered users and 2 guests