Error when submitting content

Permalink
On a new install, when I submit content to a block I get the following error:

Fatal error: Uncaught exception 'ADODB_Exception' with message 'mysql error: [1062: Duplicate entry '1-1' for key 1] in EXECUTE("insert into CollectionVersionBlockStyles (cID, cvID, bID, arHandle, csrID) values ('1', '14', '1', 'Header Nav', 0)") ' in /home/stover5/public_html/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php:78 Stack trace: #0 /home/stover5/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(1037): adodb_throw('mysql', 'EXECUTE', 1062, 'Duplicate entry...', 'insert into Col...', false, Object(ADODB_mysql)) #1 /home/stover5/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(993): ADOConnection->_Execute('insert into Col...') #2 [internal function]: ADOConnection->Execute('insert into Col...', Array) #3 /home/stover5/public_html/concrete/libraries/database.php(73): call_user_func_array(Array, Array) #4 [internal function]: Database->__call('Execute', Array) #5 /home/stover5/public_html/concrete/models/block.php(404): Database->Execute('insert into Col...', Array) #6 /home/stover5/ in /home/stover5/public_html/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php on line 78


--------------------------------------------------------------------------------

After getting the error I can submit that content again and it applies the change to the page. Then when I publish it my new content appears and every other block on the page is deleted. I've done dozens of installs of C5 and never seen this. I've tried re-uploading my /concrete folder but with no change in results. Any ideas? This one has got me stumped.

pixo
 
Mnkras replied on at Permalink Reply
Mnkras
i think thats more a db problem, in the dashboard in sitewide settings refresh the db.xml file
pixo replied on at Permalink Reply
pixo
Thanks for the reply. I tried that but still getting the same error. I think I'm going to try to re-insall the database and see what that does.