Zend_Db_Statement_Exception Object
(
[_previous:Zend_Exception:private] =>
[message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'mage_enterprise_catalog_category_rewrite' already exists
[string:Exception:private] =>
[code:protected] => 42
[file:protected] => /home/overstock/lib/Zend/Db/Statement/Pdo.php
[line:protected] => 234
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/overstock/lib/Varien/Db/Statement/Pdo/Mysql.php
[line] => 110
[function] => _execute
[class] => Zend_Db_Statement_Pdo
[type] => ->
[args] => Array
(
[0] => Array
(
)
)
)
[1] => Array
(
[file] => /home/overstock/app/code/core/Zend/Db/Statement.php
[line] => 291
[function] => _execute
[class] => Varien_Db_Statement_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => Array
(
)
)
)
[2] => Array
(
[file] => /home/overstock/lib/Zend/Db/Adapter/Abstract.php
[line] => 479
[function] => execute
[class] => Zend_Db_Statement
[type] => ->
[args] => Array
(
[0] => Array
(
)
)
)
[3] => Array
(
[file] => /home/overstock/lib/Zend/Db/Adapter/Pdo/Abstract.php
[line] => 238
[function] => query
[class] => Zend_Db_Adapter_Abstract
[type] => ->
[args] => Array
(
[0] => CREATE TABLE `mage_enterprise_catalog_category_rewrite` (
`id` int UNSIGNED NOT NULL auto_increment COMMENT 'Relation Id',
`category_id` int UNSIGNED NOT NULL COMMENT 'Category Id',
`store_id` smallint UNSIGNED NOT NULL COMMENT 'Store Id',
`url_rewrite_id` int UNSIGNED NOT NULL COMMENT 'Rewrite Id',
PRIMARY KEY (`id`),
UNIQUE `UNQ_MAGE_ENT_CAT_CTGR_REWRITE_CTGR_ID_STORE_ID` (`category_id`, `store_id`),
CONSTRAINT `FK_E5C48C6B1C2C061E85C850D29B1ECF50` FOREIGN KEY (`url_rewrite_id`) REFERENCES `mage_enterprise_url_rewrite` (`url_rewrite_id`) ON DELETE CASCADE ON UPDATE NO ACTION
) COMMENT='Relation between rewrites and categories' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci
[1] => Array
(
)
)
)
[4] => Array
(
[file] => /home/overstock/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 419
[function] => query
[class] => Zend_Db_Adapter_Pdo_Abstract
[type] => ->
[args] => Array
(
[0] => CREATE TABLE `mage_enterprise_catalog_category_rewrite` (
`id` int UNSIGNED NOT NULL auto_increment COMMENT 'Relation Id',
`category_id` int UNSIGNED NOT NULL COMMENT 'Category Id',
`store_id` smallint UNSIGNED NOT NULL COMMENT 'Store Id',
`url_rewrite_id` int UNSIGNED NOT NULL COMMENT 'Rewrite Id',
PRIMARY KEY (`id`),
UNIQUE `UNQ_MAGE_ENT_CAT_CTGR_REWRITE_CTGR_ID_STORE_ID` (`category_id`, `store_id`),
CONSTRAINT `FK_E5C48C6B1C2C061E85C850D29B1ECF50` FOREIGN KEY (`url_rewrite_id`) REFERENCES `mage_enterprise_url_rewrite` (`url_rewrite_id`) ON DELETE CASCADE ON UPDATE NO ACTION
) COMMENT='Relation between rewrites and categories' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci
[1] => Array
(
)
)
)
[5] => Array
(
[file] => /home/overstock/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 2039
[function] => query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => CREATE TABLE `mage_enterprise_catalog_category_rewrite` (
`id` int UNSIGNED NOT NULL auto_increment COMMENT 'Relation Id',
`category_id` int UNSIGNED NOT NULL COMMENT 'Category Id',
`store_id` smallint UNSIGNED NOT NULL COMMENT 'Store Id',
`url_rewrite_id` int UNSIGNED NOT NULL COMMENT 'Rewrite Id',
PRIMARY KEY (`id`),
UNIQUE `UNQ_MAGE_ENT_CAT_CTGR_REWRITE_CTGR_ID_STORE_ID` (`category_id`, `store_id`),
CONSTRAINT `FK_E5C48C6B1C2C061E85C850D29B1ECF50` FOREIGN KEY (`url_rewrite_id`) REFERENCES `mage_enterprise_url_rewrite` (`url_rewrite_id`) ON DELETE CASCADE ON UPDATE NO ACTION
) COMMENT='Relation between rewrites and categories' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci
)
)
[6] => Array
(
[file] => /home/overstock/app/code/core/Enterprise/Catalog/sql/enterprise_catalog_setup/install-1.13.0.0.php
[line] => 72
[function] => createTable
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => Varien_Db_Ddl_Table Object
(
[_tableName:protected] => mage_enterprise_catalog_category_rewrite
[_schemaName:protected] =>
[_tableComment:protected] => Relation between rewrites and categories
[_columns:protected] => Array
(
[ID] => Array
(
[COLUMN_NAME] => id
[COLUMN_TYPE] => integer
[COLUMN_POSITION] => 0
[DATA_TYPE] => integer
[DEFAULT] =>
[NULLABLE] =>
[LENGTH] =>
[SCALE] =>
[PRECISION] =>
[UNSIGNED] => 1
[PRIMARY] => 1
[PRIMARY_POSITION] => 0
[IDENTITY] => 1
[COMMENT] => Relation Id
)
[CATEGORY_ID] => Array
(
[COLUMN_NAME] => category_id
[COLUMN_TYPE] => integer
[COLUMN_POSITION] => 1
[DATA_TYPE] => integer
[DEFAULT] =>
[NULLABLE] =>
[LENGTH] =>
[SCALE] =>
[PRECISION] =>
[UNSIGNED] => 1
[PRIMARY] =>
[PRIMARY_POSITION] => 0
[IDENTITY] =>
[COMMENT] => Category Id
)
[STORE_ID] => Array
(
[COLUMN_NAME] => store_id
[COLUMN_TYPE] => smallint
[COLUMN_POSITION] => 2
[DATA_TYPE] => smallint
[DEFAULT] =>
[NULLABLE] =>
[LENGTH] =>
[SCALE] =>
[PRECISION] =>
[UNSIGNED] => 1
[PRIMARY] =>
[PRIMARY_POSITION] => 0
[IDENTITY] =>
[COMMENT] => Store Id
)
[URL_REWRITE_ID] => Array
(
[COLUMN_NAME] => url_rewrite_id
[COLUMN_TYPE] => integer
[COLUMN_POSITION] => 3
[DATA_TYPE] => integer
[DEFAULT] =>
[NULLABLE] =>
[LENGTH] =>
[SCALE] =>
[PRECISION] =>
[UNSIGNED] => 1
[PRIMARY] =>
[PRIMARY_POSITION] => 0
[IDENTITY] =>
[COMMENT] => Rewrite Id
)
)
[_indexes:protected] => Array
(
[UNQ_MAGE_ENT_CAT_CTGR_REWRITE_CTGR_ID_STORE_ID] => Array
(
[INDEX_NAME] => UNQ_MAGE_ENT_CAT_CTGR_REWRITE_CTGR_ID_STORE_ID
[COLUMNS] => Array
(
[CATEGORY_ID] => Array
(
[NAME] => category_id
[SIZE] =>
[POSITION] => 0
)
[STORE_ID] => Array
(
[NAME] => store_id
[SIZE] =>
[POSITION] => 1
)
)
[TYPE] => unique
)
)
[_foreignKeys:protected] => Array
(
[FK_E5C48C6B1C2C061E85C850D29B1ECF50] => Array
(
[FK_NAME] => FK_E5C48C6B1C2C061E85C850D29B1ECF50
[COLUMN_NAME] => url_rewrite_id
[REF_TABLE_NAME] => mage_enterprise_url_rewrite
[REF_COLUMN_NAME] => url_rewrite_id
[ON_DELETE] => CASCADE
[ON_UPDATE] => NO ACTION
)
)
[_options:protected] => Array
(
[type] => INNODB
[charset] => utf8
[collate] => utf8_general_ci
)
)
)
)
[7] => Array
(
[file] => /home/overstock/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 624
[args] => Array
(
[0] => /home/overstock/app/code/core/Enterprise/Catalog/sql/enterprise_catalog_setup/install-1.13.0.0.php
)
[function] => include
)
[8] => Array
(
[file] => /home/overstock/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 421
[function] => _modifyResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => install
[1] =>
[2] => 1.13.0.5
)
)
[9] => Array
(
[file] => /home/overstock/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 327
[function] => _installResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => 1.13.0.5
)
)
[10] => Array
(
[file] => /home/overstock/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 235
[function] => applyUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
)
)
[11] => Array
(
[file] => /home/overstock/app/code/core/Mage/Core/Model/App.php
[line] => 417
[function] => applyAllUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ::
[args] => Array
(
)
)
[12] => Array
(
[file] => /home/overstock/app/code/core/Mage/Core/Model/App.php
[line] => 343
[function] => _initModules
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
)
)
[13] => Array
(
[file] => /home/overstock/app/Mage.php
[line] => 683
[function] => run
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
[0] => Array
(
[scope_code] => plumbing
[scope_type] => website
[options] => Array
(
)
)
)
)
[14] => Array
(
[file] => /home/plumbing/index.php
[line] => 87
[function] => run
[class] => Mage
[type] => ::
[args] => Array
(
[0] => plumbing
[1] => website
)
)
)
[previous:Exception:private] => PDOException Object
(
[message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'mage_enterprise_catalog_category_rewrite' already exists
[string:Exception:private] =>
[code:protected] => 42S01
[file:protected] => /home/overstock/lib/Zend/Db/Statement/Pdo.php
[line:protected] => 228
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/overstock/lib/Zend/Db/Statement/Pdo.php
[line] => 228
[function] => execute
[class] => PDOStatement
[type] => ->
[args] => Array
(
[0] => Array
(
)
)
)
[1] => Array
(
[file] => /home/overstock/lib/Varien/Db/Statement/Pdo/Mysql.php
[line] => 110
[function] => _execute
[class] => Zend_Db_Statement_Pdo
[type] => ->
[args] => Array
(
[0] => Array
(
)
)
)
[2] => Array
(
[file] => /home/overstock/app/code/core/Zend/Db/Statement.php
[line] => 291
[function] => _execute
[class] => Varien_Db_Statement_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => Array
(
)
)
)
[3] => Array
(
[file] => /home/overstock/lib/Zend/Db/Adapter/Abstract.php
[line] => 479
[function] => execute
[class] => Zend_Db_Statement
[type] => ->
[args] => Array
(
[0] => Array
(
)
)
)
[4] => Array
(
[file] => /home/overstock/lib/Zend/Db/Adapter/Pdo/Abstract.php
[line] => 238
[function] => query
[class] => Zend_Db_Adapter_Abstract
[type] => ->
[args] => Array
(
[0] => CREATE TABLE `mage_enterprise_catalog_category_rewrite` (
`id` int UNSIGNED NOT NULL auto_increment COMMENT 'Relation Id',
`category_id` int UNSIGNED NOT NULL COMMENT 'Category Id',
`store_id` smallint UNSIGNED NOT NULL COMMENT 'Store Id',
`url_rewrite_id` int UNSIGNED NOT NULL COMMENT 'Rewrite Id',
PRIMARY KEY (`id`),
UNIQUE `UNQ_MAGE_ENT_CAT_CTGR_REWRITE_CTGR_ID_STORE_ID` (`category_id`, `store_id`),
CONSTRAINT `FK_E5C48C6B1C2C061E85C850D29B1ECF50` FOREIGN KEY (`url_rewrite_id`) REFERENCES `mage_enterprise_url_rewrite` (`url_rewrite_id`) ON DELETE CASCADE ON UPDATE NO ACTION
) COMMENT='Relation between rewrites and categories' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci
[1] => Array
(
)
)
)
[5] => Array
(
[file] => /home/overstock/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 419
[function] => query
[class] => Zend_Db_Adapter_Pdo_Abstract
[type] => ->
[args] => Array
(
[0] => CREATE TABLE `mage_enterprise_catalog_category_rewrite` (
`id` int UNSIGNED NOT NULL auto_increment COMMENT 'Relation Id',
`category_id` int UNSIGNED NOT NULL COMMENT 'Category Id',
`store_id` smallint UNSIGNED NOT NULL COMMENT 'Store Id',
`url_rewrite_id` int UNSIGNED NOT NULL COMMENT 'Rewrite Id',
PRIMARY KEY (`id`),
UNIQUE `UNQ_MAGE_ENT_CAT_CTGR_REWRITE_CTGR_ID_STORE_ID` (`category_id`, `store_id`),
CONSTRAINT `FK_E5C48C6B1C2C061E85C850D29B1ECF50` FOREIGN KEY (`url_rewrite_id`) REFERENCES `mage_enterprise_url_rewrite` (`url_rewrite_id`) ON DELETE CASCADE ON UPDATE NO ACTION
) COMMENT='Relation between rewrites and categories' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci
[1] => Array
(
)
)
)
[6] => Array
(
[file] => /home/overstock/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 2039
[function] => query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => CREATE TABLE `mage_enterprise_catalog_category_rewrite` (
`id` int UNSIGNED NOT NULL auto_increment COMMENT 'Relation Id',
`category_id` int UNSIGNED NOT NULL COMMENT 'Category Id',
`store_id` smallint UNSIGNED NOT NULL COMMENT 'Store Id',
`url_rewrite_id` int UNSIGNED NOT NULL COMMENT 'Rewrite Id',
PRIMARY KEY (`id`),
UNIQUE `UNQ_MAGE_ENT_CAT_CTGR_REWRITE_CTGR_ID_STORE_ID` (`category_id`, `store_id`),
CONSTRAINT `FK_E5C48C6B1C2C061E85C850D29B1ECF50` FOREIGN KEY (`url_rewrite_id`) REFERENCES `mage_enterprise_url_rewrite` (`url_rewrite_id`) ON DELETE CASCADE ON UPDATE NO ACTION
) COMMENT='Relation between rewrites and categories' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci
)
)
[7] => Array
(
[file] => /home/overstock/app/code/core/Enterprise/Catalog/sql/enterprise_catalog_setup/install-1.13.0.0.php
[line] => 72
[function] => createTable
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => Varien_Db_Ddl_Table Object
(
[_tableName:protected] => mage_enterprise_catalog_category_rewrite
[_schemaName:protected] =>
[_tableComment:protected] => Relation between rewrites and categories
[_columns:protected] => Array
(
[ID] => Array
(
[COLUMN_NAME] => id
[COLUMN_TYPE] => integer
[COLUMN_POSITION] => 0
[DATA_TYPE] => integer
[DEFAULT] =>
[NULLABLE] =>
[LENGTH] =>
[SCALE] =>
[PRECISION] =>
[UNSIGNED] => 1
[PRIMARY] => 1
[PRIMARY_POSITION] => 0
[IDENTITY] => 1
[COMMENT] => Relation Id
)
[CATEGORY_ID] => Array
(
[COLUMN_NAME] => category_id
[COLUMN_TYPE] => integer
[COLUMN_POSITION] => 1
[DATA_TYPE] => integer
[DEFAULT] =>
[NULLABLE] =>
[LENGTH] =>
[SCALE] =>
[PRECISION] =>
[UNSIGNED] => 1
[PRIMARY] =>
[PRIMARY_POSITION] => 0
[IDENTITY] =>
[COMMENT] => Category Id
)
[STORE_ID] => Array
(
[COLUMN_NAME] => store_id
[COLUMN_TYPE] => smallint
[COLUMN_POSITION] => 2
[DATA_TYPE] => smallint
[DEFAULT] =>
[NULLABLE] =>
[LENGTH] =>
[SCALE] =>
[PRECISION] =>
[UNSIGNED] => 1
[PRIMARY] =>
[PRIMARY_POSITION] => 0
[IDENTITY] =>
[COMMENT] => Store Id
)
[URL_REWRITE_ID] => Array
(
[COLUMN_NAME] => url_rewrite_id
[COLUMN_TYPE] => integer
[COLUMN_POSITION] => 3
[DATA_TYPE] => integer
[DEFAULT] =>
[NULLABLE] =>
[LENGTH] =>
[SCALE] =>
[PRECISION] =>
[UNSIGNED] => 1
[PRIMARY] =>
[PRIMARY_POSITION] => 0
[IDENTITY] =>
[COMMENT] => Rewrite Id
)
)
[_indexes:protected] => Array
(
[UNQ_MAGE_ENT_CAT_CTGR_REWRITE_CTGR_ID_STORE_ID] => Array
(
[INDEX_NAME] => UNQ_MAGE_ENT_CAT_CTGR_REWRITE_CTGR_ID_STORE_ID
[COLUMNS] => Array
(
[CATEGORY_ID] => Array
(
[NAME] => category_id
[SIZE] =>
[POSITION] => 0
)
[STORE_ID] => Array
(
[NAME] => store_id
[SIZE] =>
[POSITION] => 1
)
)
[TYPE] => unique
)
)
[_foreignKeys:protected] => Array
(
[FK_E5C48C6B1C2C061E85C850D29B1ECF50] => Array
(
[FK_NAME] => FK_E5C48C6B1C2C061E85C850D29B1ECF50
[COLUMN_NAME] => url_rewrite_id
[REF_TABLE_NAME] => mage_enterprise_url_rewrite
[REF_COLUMN_NAME] => url_rewrite_id
[ON_DELETE] => CASCADE
[ON_UPDATE] => NO ACTION
)
)
[_options:protected] => Array
(
[type] => INNODB
[charset] => utf8
[collate] => utf8_general_ci
)
)
)
)
[8] => Array
(
[file] => /home/overstock/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 624
[args] => Array
(
[0] => /home/overstock/app/code/core/Enterprise/Catalog/sql/enterprise_catalog_setup/install-1.13.0.0.php
)
[function] => include
)
[9] => Array
(
[file] => /home/overstock/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 421
[function] => _modifyResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => install
[1] =>
[2] => 1.13.0.5
)
)
[10] => Array
(
[file] => /home/overstock/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 327
[function] => _installResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => 1.13.0.5
)
)
[11] => Array
(
[file] => /home/overstock/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 235
[function] => applyUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
)
)
[12] => Array
(
[file] => /home/overstock/app/code/core/Mage/Core/Model/App.php
[line] => 417
[function] => applyAllUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ::
[args] => Array
(
)
)
[13] => Array
(
[file] => /home/overstock/app/code/core/Mage/Core/Model/App.php
[line] => 343
[function] => _initModules
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
)
)
[14] => Array
(
[file] => /home/overstock/app/Mage.php
[line] => 683
[function] => run
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
[0] => Array
(
[scope_code] => plumbing
[scope_type] => website
[options] => Array
(
)
)
)
)
[15] => Array
(
[file] => /home/plumbing/index.php
[line] => 87
[function] => run
[class] => Mage
[type] => ::
[args] => Array
(
[0] => plumbing
[1] => website
)
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => 42S01
[1] => 1050
[2] => Table 'mage_enterprise_catalog_category_rewrite' already exists
)
)
)