-
- Bhaumik

-
Total Posts: 3
Joined: 2010-05-31
|
i’m getting same problem but after altering the those table i got following erros. plz Help
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘1256653’ for key ‘PRIMARY’
#0 G:\vhost\thecar\lib\Zend\Db\Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 G:\vhost\thecar\lib\Zend\Db\Adapter\Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 G:\vhost\thecar\lib\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query(’INSERT INTO `lo...’, Array)
#3 G:\vhost\thecar\lib\Varien\Db\Adapter\Pdo\Mysql.php(333): Zend_Db_Adapter_Pdo_Abstract->query(’INSERT INTO `lo...’, Array)
#4 G:\vhost\thecar\lib\Zend\Db\Adapter\Abstract.php(574): Varien_Db_Adapter_Pdo_Mysql->query(’INSERT INTO `lo...’, Array)
#5 G:\vhost\thecar\app\code\core\Mage\Log\Model\Mysql4\Visitor.php(125): Zend_Db_Adapter_Abstract->insert(’log_visitor_inf...’, Array)
#6 G:\vhost\thecar\app\code\core\Mage\Log\Model\Mysql4\Visitor.php(79): Mage_Log_Model_Mysql4_Visitor->_saveVisitorInfo(Object(Mage_Log_Model_Visitor))
#7 G:\vhost\thecar\app\code\core\Mage\Core\Model\Mysql4\Abstract.php(422): Mage_Log_Model_Mysql4_Visitor->_afterSave(Object(Mage_Log_Model_Visitor))
#8 G:\vhost\thecar\app\code\core\Mage\Core\Model\Abstract.php(318): Mage_Core_Model_Mysql4_Abstract->save(Object(Mage_Log_Model_Visitor))
#9 G:\vhost\thecar\app\code\core\Mage\Log\Model\Visitor.php(149): Mage_Core_Model_Abstract->save()
#10 G:\vhost\thecar\app\code\core\Mage\Core\Model\App.php(1265): Mage_Log_Model_Visitor->initByRequest(Object(Varien_Event_Observer))
#11 G:\vhost\thecar\app\code\core\Mage\Core\Model\App.php(1246): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Log_Model_Visitor), ‘initByRequest’, Object(Varien_Event_Observer))
#12 G:\vhost\thecar\app\Mage.php(418): Mage_Core_Model_App->dispatchEvent(’controller_acti...’, Array)
#13 G:\vhost\thecar\app\code\core\Mage\Core\Controller\Varien\Action.php(502): Mage::dispatchEvent(’controller_acti...’, Array)
#14 G:\vhost\thecar\app\code\core\Mage\Core\Controller\Front\Action.php(59): Mage_Core_Controller_Varien_Action->preDispatch()
#15 G:\vhost\thecar\app\code\core\Mage\Core\Controller\Varien\Action.php(407): Mage_Core_Controller_Front_Action->preDispatch()
#16 G:\vhost\thecar\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch(’index’)
#17 G:\vhost\thecar\app\code\core\Mage\Core\Controller\Varien\Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#18 G:\vhost\thecar\app\code\core\Mage\Core\Model\App.php(340): Mage_Core_Controller_Varien_Front->dispatch()
#19 G:\vhost\thecar\app\Mage.php(629): Mage_Core_Model_App->run(Array)
#20 G:\vhost\thecar\index.php(80): Mage::run(’’, ‘store’)
#21 {main}
SQL DATA DUMP for Ref:
INSERT INTO `core_website` (`website_id`, `code`, `name`, `sort_order`, `default_group_id`, `is_default`) VALUES (1, ‘base’, ‘Main Website’, 0, 1, 1);
INSERT INTO `core_website` (`website_id`, `code`, `name`, `sort_order`, `default_group_id`, `is_default`) VALUES (0, ‘admin’, ‘Admin’, 0, 0, 0);
INSERT INTO `core_store` (`store_id`, `code`, `website_id`, `group_id`, `name`, `sort_order`, `is_active`) VALUES (0, ‘admin’, 0, 2, ‘Admin’, 0, 1);
INSERT INTO `core_store` (`store_id`, `code`, `website_id`, `group_id`, `name`, `sort_order`, `is_active`) VALUES (1, ‘default’, 1, 1, ‘Default Store View’, 0, 1);
INSERT INTO `core_store_group` (`group_id`, `website_id`, `name`, `root_category_id`, `default_store_id`) VALUES (1, 1, ‘The Car Cover’, 2, 1);
INSERT INTO `core_store_group` (`group_id`, `website_id`, `name`, `root_category_id`, `default_store_id`) VALUES (2, 0, ‘Default’, 0, 0);
|