Adding Block to Child Page from Scrapbook
Permalink
I was trying to add a block to child pages from the Dashboard default page type and got this error:
Fatal error: Uncaught exception 'ADODB_Exception' with message 'mysql error: [1062: Duplicate entry '51-17-199-Header' for key 'PRIMARY'] in EXECUTE("insert into CollectionVersionBlockStyles (cID, cvID, bID, arHandle, csrID) values ('51', '17', '199', 'Header', '0')") ' in /home2/kmgprope/public_html/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php:78 Stack trace: #0 /home2/kmgprope/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 /home2/kmgprope/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(993): ADOConnection->_Execute('insert into Col...') #2 /home2/kmgprope/public_html/concrete/libraries/database.php(73): ADOConnection->Execute('insert into Col...', Array) #3 [internal function]: Database->__call(Array, Array) #4 /home2/kmgprope/public_html/concrete/models/block.php(393): Database->Execute('Execute', Array) #5 /home2/kmgprope/public_html/concrete/startup/process.php in /home2/kmgprope/public_html/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php on line 78
Any ideas??
Fatal error: Uncaught exception 'ADODB_Exception' with message 'mysql error: [1062: Duplicate entry '51-17-199-Header' for key 'PRIMARY'] in EXECUTE("insert into CollectionVersionBlockStyles (cID, cvID, bID, arHandle, csrID) values ('51', '17', '199', 'Header', '0')") ' in /home2/kmgprope/public_html/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php:78 Stack trace: #0 /home2/kmgprope/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 /home2/kmgprope/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(993): ADOConnection->_Execute('insert into Col...') #2 /home2/kmgprope/public_html/concrete/libraries/database.php(73): ADOConnection->Execute('insert into Col...', Array) #3 [internal function]: Database->__call(Array, Array) #4 /home2/kmgprope/public_html/concrete/models/block.php(393): Database->Execute('Execute', Array) #5 /home2/kmgprope/public_html/concrete/startup/process.php in /home2/kmgprope/public_html/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php on line 78
Any ideas??