Fatal Error when Pressing Update After Editing a Content Block

Permalink
Hi,

I'm recieveing the following error when I press the update button after editing a content block:

Fatal error: Uncaught exception 'ADODB_Exception' with message 'mysql error: [1062: Duplicate entry '56-62-1-7' for key 'PRIMARY'] in EXECUTE("insert into CollectionAttributeValues (cID, cvID, akID, avID) values ('56', 62, '1', '7')") ' in /home/chen/public_html/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php:78 Stack trace: #0 /home/chen/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(1042): adodb_throw('mysql', 'EXECUTE', 1062, 'Duplicate entry...', 'insert into Col...', false, Object(ADODB_mysql)) #1 /home/chen/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(998): ADOConnection->_Execute('insert into Col...') #2 /home/chen/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(766): ADOConnection->Execute('insert into Col...', Array) #3 /home/chen/public_html/concrete/libraries/database.php(73): ADOConnection->Query('insert into Col...', Array) #4 /home/chen/public_html/concrete/models/collection_version.php(189): Database->__call(Array, Array) #5 /home/chen/public_html/concrete/ in /home/chen/public_html/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php on line 78

Any help would be greatly appreciated. Thanks!

kevinschueller
 
Brainakazariua replied on at Permalink Reply
Brainakazariua
Most likely something went wrong during your install/upgrade of concrete.

I suggest you remove/rename the /concrete folder and upload a new one. (to avoid the site going down upload the new one as concretex, then rename the old one before renaming concretex to concrete)
then add /tools/upgrade?force=1 or /index.php/tools/upgrade?force=1 behind your domain name (in the browser you use, not in the site.php) to run an "upgrade".

if you upload the same /concrete as the version you are running it still "upgrades" to that version.
jordanlev replied on at Permalink Reply
jordanlev