Getting an error
Posted by: xXEric702xX (---.lv.lv.cox.net)
Date: April 24, 2012 06:10AM

Hey guys! I'm getting an error : Duplicate entry '0' for key 'PRIMARY'
Can someone please tell me how to fix it, or even teamviewer me to help fix it. Any help will be appreciated!

Options: ReplyQuote
Re: Getting an error
Posted by: RiggsFolly (---.as13285.net)
Date: April 25, 2012 11:31AM

What are you doing to get this error?

What are you running?

Options: ReplyQuote
Re: Getting an error
Posted by: xXEric702xX (---.lv.lv.cox.net)
Date: April 26, 2012 01:16AM

I am currently running a CMS on my wamp. I believe this is an SQL error for a duplicate value that is not needed?

Options: ReplyQuote
Re: Getting an error
Posted by: RiggsFolly (---.as13285.net)
Date: April 27, 2012 12:12AM

It is a MySQL error.

It say you have a field defined as unique ( all primary columns are supposed to be unique) and you are trying to repeat an already used value in that field on a new row.

Did you manually create the DB or did the cms do it for you?

Look at your php and mysql error logs to find out which field is causing the problem, that may just give you a clue to the solution.

Options: ReplyQuote
Re: Getting an error
Posted by: xXEric702xX (---.lv.lv.cox.net)
Date: April 27, 2012 12:48AM

Hmmm, i'll look into it, the CMS made the DB for me.

Options: ReplyQuote


Sorry, only registered users may post in this forum.