Jump to content


Click here to lend your support to: Traq and make a donation at pledgie.com !
Photo

Duplicate entry '0' for key 'PRIMARY' errors


  • Please log in to reply
2 replies to this topic

#1 markus

markus

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 27 June 2012 - 03:01 AM

We keep getting these "Duplicate entry '0' for key 'PRIMARY'" messages whenever we try to create new records - might that be for tickets, or milestones, projects, etc.

E.g. for tickets now the message is always

Database Error
#1062: Duplicate entry '0' for key 'PRIMARY'
INSERT INTO traq_timeline VALUES( 0, '1', '14', 'open_ticket', '4', '1', 'markus', '1340764389', NOW() )

- the ticket is created - but then users retry it and create duplicates.

What might be the problem?

#2 Jack

Jack

    Project Founder

  • Administrators
  • 673 posts
  • LocationAustralia

Posted 27 June 2012 - 03:51 AM

Which version of Traq are you using? 2.3 or are you trying to use 3.0?

#3 markus

markus

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 27 June 2012 - 07:57 AM

Which version of Traq are you using? 2.3 or are you trying to use 3.0?


I am using Traq 2.3.6.
PHP Version is 5.3.2, MySQL Version is 5.1.61.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users