Magento Forum

   
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘72834’ for key 1
 
xgabo
Member
 
Total Posts:  40
Joined:  2008-09-11
 

My store was working fine. I have not changed anything in weeks, I processed an order fine yesterday.  Today I go to my site and I see this error on the front page,, the admin still works fine though---

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘72834’ for key 1
Trace:
#0 /home/xgabocom/public_html/cmscglobal/lib/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/xgabocom/public_html/cmscglobal/lib/Zend/Db/Adapter/Abstract.php(406): Zend_Db_Statement->execute(Array)
#2 /home/xgabocom/public_html/cmscglobal/lib/Zend/Db/Adapter/Pdo/Abstract.php(206): Zend_Db_Adapter_Abstract->query(’INSERT INTO `lo...’, Array)
#3 /home/xgabocom/public_html/cmscglobal/lib/Varien/Db/Adapter/Pdo/Mysql.php(193): Zend_Db_Adapter_Pdo_Abstract->query(’INSERT INTO `lo...’, Array)
#4 /home/xgabocom/public_html/cmscglobal/lib/Zend/Db/Adapter/Abstract.php(484): Varien_Db_Adapter_Pdo_Mysql->query(’INSERT INTO `lo...’, Array)
#5 /home/xgabocom/public_html/cmscglobal/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(343): Zend_Db_Adapter_Abstract->insert(’log_visitor’, Array)
#6 /home/xgabocom/public_html/cmscglobal/app/code/core/Mage/Core/Model/Abstract.php(235): Mage_Core_Model_Mysql4_Abstract->save(Object(Mage_Log_Model_Visitor))
#7 /home/xgabocom/public_html/cmscglobal/app/code/core/Mage/Log/Model/Visitor.php(149): Mage_Core_Model_Abstract->save()
#8 /home/xgabocom/public_html/cmscglobal/app/code/core/Mage/Core/Model/App.php(1096): Mage_Log_Model_Visitor->initByRequest(Object(Varien_Event_Observer))
#9 /home/xgabocom/public_html/cmscglobal/app/Mage.php(271): Mage_Core_Model_App->dispatchEvent(’controller_acti...’, Array)
#10 /home/xgabocom/public_html/cmscglobal/app/code/core/Mage/Core/Controller/Varien/Action.php(385): Mage::dispatchEvent(’controller_acti...’, Array)
#11 /home/xgabocom/public_html/cmscglobal/app/code/core/Mage/Core/Controller/Front/Action.php(40): Mage_Core_Controller_Varien_Action->preDispatch()
#12 /home/xgabocom/public_html/cmscglobal/app/code/core/Mage/Core/Controller/Varien/Action.php(336): Mage_Core_Controller_Front_Action->preDispatch()
#13 /home/xgabocom/public_html/cmscglobal/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(144): Mage_Core_Controller_Varien_Action->dispatch(’index’)
#14 /home/xgabocom/public_html/cmscglobal/app/code/core/Mage/Core/Controller/Varien/Front.php(168): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#15 /home/xgabocom/public_html/cmscglobal/app/Mage.php(420): Mage_Core_Controller_Varien_Front->dispatch()
#16 /home/xgabocom/public_html/cmscglobal/index.php(28): Mage::run()
#17 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top