cancel
Showing results for 
Search instead for 
Did you mean: 

Exception printing is disabled by default for security reasons.

Exception printing is disabled by default for security reasons.

a:5:{i:0;s:1751:"Error in file: "C:\xampp\htdocs\magento\app\code\core\Mage\Eav\sql\eav_setup\install-1.6.0.0.php" - SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'eav_entity_type' already exists, query was: CREATE TABLE `eav_entity_type` (
`entity_type_id` smallint UNSIGNED NOT NULL auto_increment COMMENT 'Entity Type Id' ,
`entity_type_code` varchar(50) NOT NULL COMMENT 'Entity Type Code' ,
`entity_model` varchar(255) NOT NULL COMMENT 'Entity Model' ,
`attribute_model` varchar(255) NULL COMMENT 'Attribute Model' ,
`entity_table` varchar(255) NULL COMMENT 'Entity Table' ,
`value_table_prefix` varchar(255) NULL COMMENT 'Value Table Prefix' ,
`entity_id_field` varchar(255) NULL COMMENT 'Entity Id Field' ,
`is_data_sharing` smallint UNSIGNED NOT NULL default '1' COMMENT 'Defines Is Data Sharing' ,
`data_sharing_key` varchar(100) NULL default 'default' COMMENT 'Data Sharing Key' ,
`default_attribute_set_id` smallint UNSIGNED NOT NULL default '0' COMMENT 'Default Attribute Set Id' ,
`increment_model` varchar(255) NULL default '' COMMENT 'Increment Model' ,
`increment_per_store` smallint UNSIGNED NOT NULL default '0' COMMENT 'Increment Per Store' ,
`increment_pad_length` smallint UNSIGNED NOT NULL default '8' COMMENT 'Increment Pad Length' ,
`increment_pad_char` varchar(1) NOT NULL default '0' COMMENT 'Increment Pad Char' ,
`additional_attribute_table` varchar(255) NULL default '' COMMENT 'Additional Attribute Table' ,
`entity_attribute_collection` varchar(255) NULL default NULL COMMENT 'Entity Attribute Collection' ,
PRIMARY KEY (`entity_type_id`),
INDEX `IDX_EAV_ENTITY_TYPE_ENTITY_TYPE_CODE` (`entity_type_code`)
) COMMENT='Eav Entity Type' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci";i:1;s:944:"#0 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(644): Mage::exception('Mage_Core', 'Error in file: ...')
#1 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(421): Mage_Core_Model_Resource_Setup->_modifyResourceDb('install', '', '1.6.0.1')
#2 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(327): Mage_Core_Model_Resource_Setup->_installResourceDb('1.6.0.1')
#3 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\App.php(428): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\App.php(354): Mage_Core_Model_App->_initModules()
#6 C:\xampp\htdocs\magento\app\Mage.php(683): Mage_Core_Model_App->run(Array)
#7 C:\xampp\htdocs\magento\index.php(83): Mage::run('', 'store')
#8 {main}";s:3:"url";s:18:"/magento/index.php";s:11:"script_name";s:18:"/magento/index.php";s:4:"skin";s:7:"default";}

1 REPLY 1

Re: Exception printing is disabled by default for security reasons.

Hi @farhanriasat,

 

Your Magento instance is trying to install (and create) a table that already exists. Maybe your installation has failed at the first time?