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] => /var/www/html/www.kanegraphical.com/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line:protected] => 187
[trace:private] => Array
(
[0] => Array
(
[file] => /var/www/html/www.kanegraphical.com/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 187
[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] => /var/www/html/www.kanegraphical.com/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 249
[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] => /var/www/html/www.kanegraphical.com/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 493
[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] => /var/www/html/www.kanegraphical.com/app/code/core/Mage/Core/sql/core_setup/mysql4-upgrade-0.8.9-0.8.10.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] => /var/www/html/www.kanegraphical.com/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 268
[args] => Array
(
[0] => /var/www/html/www.kanegraphical.com/app/code/core/Mage/Core/sql/core_setup/mysql4-upgrade-0.8.9-0.8.10.php
)
[function] => include
)
[5] => Array
(
[file] => /var/www/html/www.kanegraphical.com/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 178
[function] => _modifyResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => upgrade
[1] => 0.8.7
[2] => 0.8.12
)
)
[6] => Array
(
[file] => /var/www/html/www.kanegraphical.com/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 145
[function] => _upgradeResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => 0.8.7
[1] => 0.8.12
)
)
[7] => Array
(
[file] => /var/www/html/www.kanegraphical.com/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 120
[function] => applyUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
)
)
[8] => Array
(
[file] => /var/www/html/www.kanegraphical.com/app/code/core/Mage/Core/Model/Config.php
[line] => 215
[function] => applyAllUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ::
[args] => Array
(
)
)
[9] => Array
(
[file] => /var/www/html/www.kanegraphical.com/app/code/core/Mage/Core/Model/App.php
[line] => 243
[function] => init
[class] => Mage_Core_Model_Config
[type] => ->
[args] => Array
(
[0] => Array
(
)
)
)
[10] => Array
(
[file] => /var/www/html/www.kanegraphical.com/app/Mage.php
[line] => 424
[function] => init
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
[0] =>
[1] => store
[2] => Array
(
)
)
)
[11] => Array
(
[file] => /var/www/html/www.kanegraphical.com/app/Mage.php
[line] => 443
[function] => app
[class] => Mage
[type] => ::
[args] => Array
(
[0] =>
[1] => store
[2] => Array
(
)
)
)
[12] => Array
(
[file] => /var/www/html/www.kanegraphical.com/index.php
[line] => 46
[function] => run
[class] => Mage
[type] => ::
[args] => Array
(
)
)
)
[errorInfo] => Array
(
[0] => 42S01
[1] => 1050
[2] => Table 'core_flag' already exists
)
)
Error in file: "/var/www/html/www.kanegraphical.com/app/code/core/Mage/Core/sql/core_setup/mysql4-upgrade-0.8.9-0.8.10.php" - SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'core_flag' already exists
#0 /var/www/html/www.kanegraphical.com/app/code/core/Mage/Core/Model/Resource/Setup.php(286): Mage::exception('Mage_Core', 'Error in file: ...')
#1 /var/www/html/www.kanegraphical.com/app/code/core/Mage/Core/Model/Resource/Setup.php(178): Mage_Core_Model_Resource_Setup->_modifyResourceDb('upgrade', '0.8.7', '0.8.12')
#2 /var/www/html/www.kanegraphical.com/app/code/core/Mage/Core/Model/Resource/Setup.php(145): Mage_Core_Model_Resource_Setup->_upgradeResourceDb('0.8.7', '0.8.12')
#3 /var/www/html/www.kanegraphical.com/app/code/core/Mage/Core/Model/Resource/Setup.php(120): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 /var/www/html/www.kanegraphical.com/app/code/core/Mage/Core/Model/Config.php(215): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 /var/www/html/www.kanegraphical.com/app/code/core/Mage/Core/Model/App.php(243): Mage_Core_Model_Config->init(Array)
#6 /var/www/html/www.kanegraphical.com/app/Mage.php(424): Mage_Core_Model_App->init('', 'store', Array)
#7 /var/www/html/www.kanegraphical.com/app/Mage.php(443): Mage::app('', 'store', Array)
#8 /var/www/html/www.kanegraphical.com/index.php(46): Mage::run()
#9 {main}