PDOException Object
(
[message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'blog_tag' already exists
[string:private] =>
[code:protected] => 42S01
[file:protected] => /home/petstuff/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line:protected] => 187
[trace:private] => Array
(
[0] => Array
(
[file] => /home/petstuff/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 187
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => CREATE TABLE blog_tag (
`id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`tag` VARCHAR( 255 ) NOT NULL ,
`tag_count` INT( 11 ) NOT NULL DEFAULT '0',
`store_id` TINYINT( 4 ) NOT NULL ,
INDEX ( `tag` , `tag_count` , `store_id` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8
)
)
[1] => Array
(
[file] => /home/petstuff/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 249
[function] => raw_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => CREATE TABLE blog_tag (
`id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`tag` VARCHAR( 255 ) NOT NULL ,
`tag_count` INT( 11 ) NOT NULL DEFAULT '0',
`store_id` TINYINT( 4 ) NOT NULL ,
INDEX ( `tag` , `tag_count` , `store_id` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8
)
)
[2] => Array
(
[file] => /home/petstuff/public_html/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 blog_tag (
`id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`tag` VARCHAR( 255 ) NOT NULL ,
`tag_count` INT( 11 ) NOT NULL DEFAULT '0',
`store_id` TINYINT( 4 ) NOT NULL ,
INDEX ( `tag` , `tag_count` , `store_id` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8;
)
)
[3] => Array
(
[file] => /home/petstuff/public_html/app/code/community/AW/Blog/sql/blog_setup/mysql4-install-1.0.php
[line] => 99
[function] => run
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] =>
CREATE TABLE blog_tag (
`id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`tag` VARCHAR( 255 ) NOT NULL ,
`tag_count` INT( 11 ) NOT NULL DEFAULT '0',
`store_id` TINYINT( 4 ) NOT NULL ,
INDEX ( `tag` , `tag_count` , `store_id` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8;
)
)
[4] => Array
(
[file] => /home/petstuff/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 268
[args] => Array
(
[0] => /home/petstuff/public_html/app/code/community/AW/Blog/sql/blog_setup/mysql4-install-1.0.php
)
[function] => include
)
[5] => Array
(
[file] => /home/petstuff/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 166
[function] => _modifyResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => install
[1] =>
[2] => 1.0.15
)
)
[6] => Array
(
[file] => /home/petstuff/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 154
[function] => _installResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => 1.0.15
)
)
[7] => Array
(
[file] => /home/petstuff/public_html/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] => /home/petstuff/public_html/app/code/core/Mage/Core/Model/Config.php
[line] => 215
[function] => applyAllUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ::
[args] => Array
(
)
)
[9] => Array
(
[file] => /home/petstuff/public_html/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] => /home/petstuff/public_html/app/Mage.php
[line] => 424
[function] => init
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
[0] =>
[1] => store
[2] => Array
(
)
)
)
[11] => Array
(
[file] => /home/petstuff/public_html/app/Mage.php
[line] => 443
[function] => app
[class] => Mage
[type] => ::
[args] => Array
(
[0] =>
[1] => store
[2] => Array
(
)
)
)
[12] => Array
(
[file] => /home/petstuff/public_html/index.php
[line] => 52
[function] => run
[class] => Mage
[type] => ::
[args] => Array
(
)
)
)
[errorInfo] => Array
(
[0] => 42S01
[1] => 1050
[2] => Table 'blog_tag' already exists
)
)