PDOException Object
(
[message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'core_flag' already exists
[string:private] =>
[code:protected] => 42S01
[file:protected] => /home1/shomemon/public_html/store/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line:protected] => 208
[trace:private] => Array
(
[0] => Array
(
[file] => /home1/shomemon/public_html/store/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 208
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => CREATE TABLE core_flag (
`flag_id` smallint(5) unsigned NOT NULL auto_increment,
`flag_code` varchar(255) NOT NULL,
`state` smallint(5) unsigned NOT NULL default '0',
`flag_data` text,
`last_update` datetime NOT NULL,
PRIMARY KEY (`flag_id`),
KEY (`last_update`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
)
)
[1] => Array
(
[file] => /home1/shomemon/public_html/store/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 311
[function] => raw_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => CREATE TABLE core_flag (
`flag_id` smallint(5) unsigned NOT NULL auto_increment,
`flag_code` varchar(255) NOT NULL,
`state` smallint(5) unsigned NOT NULL default '0',
`flag_data` text,
`last_update` datetime NOT NULL,
PRIMARY KEY (`flag_id`),
KEY (`last_update`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
)
)
[2] => Array
(
[file] => /home1/shomemon/public_html/store/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 507
[function] => multi_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] =>
CREATE TABLE core_flag (
`flag_id` smallint(5) unsigned NOT NULL auto_increment,
`flag_code` varchar(255) NOT NULL,
`state` smallint(5) unsigned NOT NULL default '0',
`flag_data` text,
`last_update` datetime NOT NULL,
PRIMARY KEY (`flag_id`),
KEY (`last_update`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
)
)
[3] => Array
(
[file] => /home1/shomemon/public_html/store/app/code/core/Mage/Core/sql/core_setup/mysql4-upgrade-0.8.9-0.8.10_sav.php
[line] => 42
[function] => run
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] =>
CREATE TABLE core_flag (
`flag_id` smallint(5) unsigned NOT NULL auto_increment,
`flag_code` varchar(255) NOT NULL,
`state` smallint(5) unsigned NOT NULL default '0',
`flag_data` text,
`last_update` datetime NOT NULL,
PRIMARY KEY (`flag_id`),
KEY (`last_update`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
)
)
[4] => Array
(
[file] => /home1/shomemon/public_html/store/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 274
[args] => Array
(
[0] => /home1/shomemon/public_html/store/app/code/core/Mage/Core/sql/core_setup/mysql4-upgrade-0.8.9-0.8.10_sav.php
)
[function] => include
)
[5] => Array
(
[file] => /home1/shomemon/public_html/store/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 179
[function] => _modifyResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => upgrade
[1] => 0.8.9
[2] => 0.8.12
)
)
[6] => Array
(
[file] => /home1/shomemon/public_html/store/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 146
[function] => _upgradeResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => 0.8.9
[1] => 0.8.12
)
)
[7] => Array
(
[file] => /home1/shomemon/public_html/store/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 121
[function] => applyUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
)
)
[8] => Array
(
[file] => /home1/shomemon/public_html/store/app/code/core/Mage/Core/Model/Config.php
[line] => 205
[function] => applyAllUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ::
[args] => Array
(
)
)
[9] => Array
(
[file] => /home1/shomemon/public_html/store/app/code/core/Mage/Core/Model/App.php
[line] => 242
[function] => init
[class] => Mage_Core_Model_Config
[type] => ->
[args] => Array
(
[0] => Array
(
)
)
)
[10] => Array
(
[file] => /home1/shomemon/public_html/store/app/Mage.php
[line] => 432
[function] => init
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
[0] =>
[1] => store
[2] => Array
(
)
)
)
[11] => Array
(
[file] => /home1/shomemon/public_html/store/app/Mage.php
[line] => 453
[function] => app
[class] => Mage
[type] => ::
[args] => Array
(
[0] =>
[1] => store
[2] => Array
(
)
)
)
[12] => Array
(
[file] => /home1/shomemon/public_html/store/index.php
[line] => 52
[function] => run
[class] => Mage
[type] => ::
[args] => Array
(
)
)
)
[errorInfo] => Array
(
[0] => 42S01
[1] => 1050
[2] => Table 'core_flag' already exists
)
)