An unexpected error occurred
Permalink
I get this error everytime I visit my site. I click again and then it goes to the site and everythings fine. I do not know code but I am wondering if there is an easy fix for this. I will have to start the website over and want to avoid that.Here is the error -
mysql error: [2006: MySQL server has gone away] in EXECUTE("insert into Logs (logType, logText, logIsInternal) values ('exceptions', 'Exception Occurred: mysql error: [2006: MySQL server has gone away] in EXECUTE("select arID, arOverrideCollectionPermissions, arInheritPermissionsFromAreaOnCID, arIsGlobal from Areas where cID = \'1\' and arHandle = \'Main : Layout 2 : Cell 3\'")\n\n#0 /home/u906097435/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(1037): adodb_throw(\'mysql\', \'EXECUTE\', 2006, \'MySQL server ha...\', \'select arID, ar...\', false, Object(ADODB_mysql))\n#1 /home/u906097435/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(993): ADOConnection->_Execute(\'select arID, ar...\')\n#2 /home/u906097435/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(1605): ADOConnection->Execute(\'select arID, ar...\', Array)\n#3 /home/u906097435/public_html/concrete/models/area.php(134): ADOConnection->GetRow(\'select arID, ar...\', Array)\n#4 /home/u906097435/public_html/concrete/models/area.php(158): Area::get(Object(Page), \'Main : Layout 2...\')\n#5 /home/u906097435/public_html/concrete/models/block.php(59): Area::getOrCreate(Object(Page), \'Main : Layout 2...\')\n#6 /home/u906097435/public_html/concrete/models/collection.php(764): Block::getByID(\'101\', Object(Page), \'Main : Layout 2...\')\n#7 /home/u906097435/public_html/concrete/libraries/view.php(768): Collection->getBlocks()\n#8 /home/u906097435/public_html/concrete/dispatcher.php(273): View->render(Object(Page))\n#9 /home/u906097435/public_html/index.php(2): require(\'/home/u90609743...\')\n#10 {main}\n', 1)")
mysql error: [2006: MySQL server has gone away] in EXECUTE("insert into Logs (logType, logText, logIsInternal) values ('exceptions', 'Exception Occurred: mysql error: [2006: MySQL server has gone away] in EXECUTE("select arID, arOverrideCollectionPermissions, arInheritPermissionsFromAreaOnCID, arIsGlobal from Areas where cID = \'1\' and arHandle = \'Main : Layout 2 : Cell 3\'")\n\n#0 /home/u906097435/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(1037): adodb_throw(\'mysql\', \'EXECUTE\', 2006, \'MySQL server ha...\', \'select arID, ar...\', false, Object(ADODB_mysql))\n#1 /home/u906097435/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(993): ADOConnection->_Execute(\'select arID, ar...\')\n#2 /home/u906097435/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(1605): ADOConnection->Execute(\'select arID, ar...\', Array)\n#3 /home/u906097435/public_html/concrete/models/area.php(134): ADOConnection->GetRow(\'select arID, ar...\', Array)\n#4 /home/u906097435/public_html/concrete/models/area.php(158): Area::get(Object(Page), \'Main : Layout 2...\')\n#5 /home/u906097435/public_html/concrete/models/block.php(59): Area::getOrCreate(Object(Page), \'Main : Layout 2...\')\n#6 /home/u906097435/public_html/concrete/models/collection.php(764): Block::getByID(\'101\', Object(Page), \'Main : Layout 2...\')\n#7 /home/u906097435/public_html/concrete/libraries/view.php(768): Collection->getBlocks()\n#8 /home/u906097435/public_html/concrete/dispatcher.php(273): View->render(Object(Page))\n#9 /home/u906097435/public_html/index.php(2): require(\'/home/u90609743...\')\n#10 {main}\n', 1)")
It appears there is an issue with whatever is on your main page in main, layout 2, cell 3 from the error message. Personally, I would start digging there. Remove whatever is in that area and see if any errors still occur. Hopefully you can narrow it down from there and figure out what is wrong!!
Thank you so much thats just the info I needed!
Do you have a ufo/alien website i could promote for you? I would be happy to put a link and tweet about anything paranormal because I want to thank you for helping me.
I have similar issue when updating to 5.6.2.1 from 5.5.1
An unexpected error occurred.
mysql error: [2006: MySQL server has gone away] in EXECUTE("insert into Logs (logType, logText, logIsInternal) values ('exceptions', 'Exception Occurred: mysql error: [2006: MySQL server has gone away] in EXECUTE("select stName from Stacks where Stacks.stType = 20")\n\n#0 /home/kjbs/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(1037): adodb_throw(\'mysql\', \'EXECUTE\', 2006, \'MySQL server ha...\', \'select stName f...\', false, Object(ADODB_mysql))\n#1 /home/kjbs/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(993): ADOConnection->_Execute(\'select stName f...\')\n#2 /home/kjbs/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(1465): ADOConnection->Execute(\'select stName f...\', Array)\n#3 /home/kjbs/public_html/concrete/models/collection.php(706): ADOConnection->GetCol(\'select stName f...\', Array)\n#4 /home/kjbs/public_html/concrete/libraries/view.php(771): Collection->getGlobalBlocks()\n#5 /home/kjbs/public_html/concrete/dispatcher.php(283): View->render(Object(Page))\n#6 /home/kjbs/public_html/index.php(2): require(\'/home/kjbs/publ...\')\n#7 {main}\n', 1)")
Any idea where the problem might be
Thanks
An unexpected error occurred.
mysql error: [2006: MySQL server has gone away] in EXECUTE("insert into Logs (logType, logText, logIsInternal) values ('exceptions', 'Exception Occurred: mysql error: [2006: MySQL server has gone away] in EXECUTE("select stName from Stacks where Stacks.stType = 20")\n\n#0 /home/kjbs/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(1037): adodb_throw(\'mysql\', \'EXECUTE\', 2006, \'MySQL server ha...\', \'select stName f...\', false, Object(ADODB_mysql))\n#1 /home/kjbs/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(993): ADOConnection->_Execute(\'select stName f...\')\n#2 /home/kjbs/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(1465): ADOConnection->Execute(\'select stName f...\', Array)\n#3 /home/kjbs/public_html/concrete/models/collection.php(706): ADOConnection->GetCol(\'select stName f...\', Array)\n#4 /home/kjbs/public_html/concrete/libraries/view.php(771): Collection->getGlobalBlocks()\n#5 /home/kjbs/public_html/concrete/dispatcher.php(283): View->render(Object(Page))\n#6 /home/kjbs/public_html/index.php(2): require(\'/home/kjbs/publ...\')\n#7 {main}\n', 1)")
Any idea where the problem might be
Thanks