PDOException Object
(
[message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'customer_form_attribute' already exists
[string:private] =>
[code:protected] => 42S01
[file:protected] => /var/www/vhosts/beautyally.com/httpdocs/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line:protected] => 277
[trace:private] => Array
(
[0] => Array
(
[file] => /var/www/vhosts/beautyally.com/httpdocs/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 277
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => CREATE TABLE `customer_form_attribute` (
`form_code` char(32) NOT NULL,
`attribute_id` smallint UNSIGNED NOT NULL,
PRIMARY KEY(`form_code`, `attribute_id`),
KEY `IDX_CUSTOMER_FORM_ATTRIBUTE_ATTRIBUTE` (`attribute_id`),
CONSTRAINT `FK_CUSTOMER_FORM_ATTRIBUTE_ATTRIBUTE` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Customer attributes/forms relations'
)
)
[1] => Array
(
[file] => /var/www/vhosts/beautyally.com/httpdocs/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 401
[function] => raw_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => CREATE TABLE `customer_form_attribute` (
`form_code` char(32) NOT NULL,
`attribute_id` smallint UNSIGNED NOT NULL,
PRIMARY KEY(`form_code`, `attribute_id`),
KEY `IDX_CUSTOMER_FORM_ATTRIBUTE_ATTRIBUTE` (`attribute_id`),
CONSTRAINT `FK_CUSTOMER_FORM_ATTRIBUTE_ATTRIBUTE` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Customer attributes/forms relations'
)
)
[2] => Array
(
[file] => /var/www/vhosts/beautyally.com/httpdocs/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 636
[function] => multi_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] =>
CREATE TABLE `customer_form_attribute` (
`form_code` char(32) NOT NULL,
`attribute_id` smallint UNSIGNED NOT NULL,
PRIMARY KEY(`form_code`, `attribute_id`),
KEY `IDX_CUSTOMER_FORM_ATTRIBUTE_ATTRIBUTE` (`attribute_id`),
CONSTRAINT `FK_CUSTOMER_FORM_ATTRIBUTE_ATTRIBUTE` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Customer attributes/forms relations';
)
)
[3] => Array
(
[file] => /var/www/vhosts/beautyally.com/httpdocs/app/code/core/Mage/Customer/sql/customer_setup/mysql4-upgrade-1.4.0.0.7-1.4.0.0.8.php
[line] => 39
[function] => run
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] =>
CREATE TABLE `customer_form_attribute` (
`form_code` char(32) NOT NULL,
`attribute_id` smallint UNSIGNED NOT NULL,
PRIMARY KEY(`form_code`, `attribute_id`),
KEY `IDX_CUSTOMER_FORM_ATTRIBUTE_ATTRIBUTE` (`attribute_id`),
CONSTRAINT `FK_CUSTOMER_FORM_ATTRIBUTE_ATTRIBUTE` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Customer attributes/forms relations';
)
)
[4] => Array
(
[file] => /var/www/vhosts/beautyally.com/httpdocs/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 376
[args] => Array
(
[0] => /var/www/vhosts/beautyally.com/httpdocs/app/code/core/Mage/Customer/sql/customer_setup/mysql4-upgrade-1.4.0.0.7-1.4.0.0.8.php
)
[function] => include
)
[5] => Array
(
[file] => /var/www/vhosts/beautyally.com/httpdocs/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 289
[function] => _modifyResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => upgrade
[1] => 1.4.0.0.7
[2] => 1.4.0.0.14
)
)
[6] => Array
(
[file] => /var/www/vhosts/beautyally.com/httpdocs/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 233
[function] => _upgradeResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => 1.4.0.0.7
[1] => 1.4.0.0.14
)
)
[7] => Array
(
[file] => /var/www/vhosts/beautyally.com/httpdocs/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 161
[function] => applyUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
)
)
[8] => Array
(
[file] => /var/www/vhosts/beautyally.com/httpdocs/app/code/core/Mage/Core/Model/App.php
[line] => 399
[function] => applyAllUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ::
[args] => Array
(
)
)
[9] => Array
(
[file] => /var/www/vhosts/beautyally.com/httpdocs/app/code/core/Mage/Core/Model/App.php
[line] => 329
[function] => _initModules
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
)
)
[10] => Array
(
[file] => /var/www/vhosts/beautyally.com/httpdocs/app/Mage.php
[line] => 627
[function] => run
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
[0] => Array
(
[scope_code] =>
[scope_type] => store
[options] => Array
(
)
)
)
)
[11] => Array
(
[file] => /var/www/vhosts/beautyally.com/httpdocs/index.php
[line] => 80
[function] => run
[class] => Mage
[type] => ::
[args] => Array
(
[0] =>
[1] => store
)
)
)
[errorInfo] => Array
(
[0] => 42S01
[1] => 1050
[2] => Table 'customer_form_attribute' already exists
)
)