PDOException Object
(
[message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'catalog_eav_attribute' already exists
[string:private] =>
[code:protected] => 42S01
[file:protected] => /home/francegr/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line:protected] => 276
[trace:private] => Array
(
[0] => Array
(
[file] => /home/francegr/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 276
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => CREATE TABLE `catalog_eav_attribute` (
`attribute_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
`frontend_input_renderer` varchar(255) DEFAULT NULL,
`is_global` tinyint(1) unsigned NOT NULL DEFAULT '1',
`is_visible` tinyint(1) unsigned NOT NULL DEFAULT '1',
`is_searchable` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_filterable` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_comparable` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_visible_on_front` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_html_allowed_on_front` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_used_for_price_rules` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_filterable_in_search` tinyint(1) unsigned NOT NULL DEFAULT '0',
`used_in_product_listing` tinyint(1) unsigned NOT NULL DEFAULT '0',
`used_for_sort_by` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_configurable` tinyint(1) unsigned NOT NULL DEFAULT '1',
`apply_to` varchar(255) NOT NULL,
`is_visible_in_advanced_search` tinyint(1) unsigned NOT NULL DEFAULT '0',
`position` int(11) NOT NULL,
PRIMARY KEY (`attribute_id`),
KEY `IDX_USED_FOR_SORT_BY` (`used_for_sort_by`),
KEY `IDX_USED_IN_PRODUCT_LISTING` (`used_in_product_listing`),
CONSTRAINT `FK_CATALOG_EAV_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8
)
)
[1] => Array
(
[file] => /home/francegr/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 397
[function] => raw_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => CREATE TABLE `catalog_eav_attribute` (
`attribute_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
`frontend_input_renderer` varchar(255) DEFAULT NULL,
`is_global` tinyint(1) unsigned NOT NULL DEFAULT '1',
`is_visible` tinyint(1) unsigned NOT NULL DEFAULT '1',
`is_searchable` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_filterable` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_comparable` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_visible_on_front` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_html_allowed_on_front` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_used_for_price_rules` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_filterable_in_search` tinyint(1) unsigned NOT NULL DEFAULT '0',
`used_in_product_listing` tinyint(1) unsigned NOT NULL DEFAULT '0',
`used_for_sort_by` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_configurable` tinyint(1) unsigned NOT NULL DEFAULT '1',
`apply_to` varchar(255) NOT NULL,
`is_visible_in_advanced_search` tinyint(1) unsigned NOT NULL DEFAULT '0',
`position` int(11) NOT NULL,
PRIMARY KEY (`attribute_id`),
KEY `IDX_USED_FOR_SORT_BY` (`used_for_sort_by`),
KEY `IDX_USED_IN_PRODUCT_LISTING` (`used_in_product_listing`),
CONSTRAINT `FK_CATALOG_EAV_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8
)
)
[2] => Array
(
[file] => /home/francegr/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 612
[function] => multi_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] =>
CREATE TABLE `catalog_eav_attribute` (
`attribute_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
`frontend_input_renderer` varchar(255) DEFAULT NULL,
`is_global` tinyint(1) unsigned NOT NULL DEFAULT '1',
`is_visible` tinyint(1) unsigned NOT NULL DEFAULT '1',
`is_searchable` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_filterable` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_comparable` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_visible_on_front` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_html_allowed_on_front` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_used_for_price_rules` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_filterable_in_search` tinyint(1) unsigned NOT NULL DEFAULT '0',
`used_in_product_listing` tinyint(1) unsigned NOT NULL DEFAULT '0',
`used_for_sort_by` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_configurable` tinyint(1) unsigned NOT NULL DEFAULT '1',
`apply_to` varchar(255) NOT NULL,
`is_visible_in_advanced_search` tinyint(1) unsigned NOT NULL DEFAULT '0',
`position` int(11) NOT NULL,
PRIMARY KEY (`attribute_id`),
KEY `IDX_USED_FOR_SORT_BY` (`used_for_sort_by`),
KEY `IDX_USED_IN_PRODUCT_LISTING` (`used_in_product_listing`),
CONSTRAINT `FK_CATALOG_EAV_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
)
)
[3] => Array
(
[file] => /home/francegr/public_html/app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-0.7.73-1.4.0.0.0.php
[line] => 60
[function] => run
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] =>
CREATE TABLE `catalog_eav_attribute` (
`attribute_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
`frontend_input_renderer` varchar(255) DEFAULT NULL,
`is_global` tinyint(1) unsigned NOT NULL DEFAULT '1',
`is_visible` tinyint(1) unsigned NOT NULL DEFAULT '1',
`is_searchable` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_filterable` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_comparable` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_visible_on_front` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_html_allowed_on_front` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_used_for_price_rules` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_filterable_in_search` tinyint(1) unsigned NOT NULL DEFAULT '0',
`used_in_product_listing` tinyint(1) unsigned NOT NULL DEFAULT '0',
`used_for_sort_by` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_configurable` tinyint(1) unsigned NOT NULL DEFAULT '1',
`apply_to` varchar(255) NOT NULL,
`is_visible_in_advanced_search` tinyint(1) unsigned NOT NULL DEFAULT '0',
`position` int(11) NOT NULL,
PRIMARY KEY (`attribute_id`),
KEY `IDX_USED_FOR_SORT_BY` (`used_for_sort_by`),
KEY `IDX_USED_IN_PRODUCT_LISTING` (`used_in_product_listing`),
CONSTRAINT `FK_CATALOG_EAV_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
)
)
[4] => Array
(
[file] => /home/francegr/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 360
[args] => Array
(
[0] => /home/francegr/public_html/app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-0.7.73-1.4.0.0.0.php
)
[function] => include
)
[5] => Array
(
[file] => /home/francegr/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 273
[function] => _modifyResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => upgrade
[1] => 0.7.73
[2] => 1.4.0.0.21
)
)
[6] => Array
(
[file] => /home/francegr/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 217
[function] => _upgradeResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => 0.7.73
[1] => 1.4.0.0.21
)
)
[7] => Array
(
[file] => /home/francegr/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 153
[function] => applyUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
)
)
[8] => Array
(
[file] => /home/francegr/public_html/app/code/core/Mage/Core/Model/App.php
[line] => 363
[function] => applyAllUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ::
[args] => Array
(
)
)
[9] => Array
(
[file] => /home/francegr/public_html/app/code/core/Mage/Core/Model/App.php
[line] => 295
[function] => _initModules
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
)
)
[10] => Array
(
[file] => /home/francegr/public_html/app/Mage.php
[line] => 596
[function] => run
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
[0] => Array
(
[scope_code] =>
[scope_type] => store
[options] => Array
(
)
)
)
)
[11] => Array
(
[file] => /home/francegr/public_html/index.php
[line] => 78
[function] => run
[class] => Mage
[type] => ::
[args] => Array
(
[0] =>
[1] => store
)
)
)
[errorInfo] => Array
(
[0] => 42S01
[1] => 1050
[2] => Table 'catalog_eav_attribute' already exists
)
)