PDOException Object
(
[message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'sendfriend_log' already exists
[string:private] =>
[code:protected] => 42S01
[file:protected] => /home1/imugoco1/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line:protected] => 276
[trace:private] => Array
(
[0] => Array
(
[file] => /home1/imugoco1/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 276
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => -- DROP TABLE IF EXISTS sendfriend_log;
CREATE TABLE sendfriend_log (
`log_id` int(11) NOT NULL auto_increment,
`ip` int(11) NOT NULL default '0',
`time` int(11) NOT NULL default '0',
PRIMARY KEY (`log_id`),
KEY `ip` (`ip`),
KEY `time` (`time`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Send to friend function log storage table'
)
)
[1] => Array
(
[file] => /home1/imugoco1/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 397
[function] => raw_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => -- DROP TABLE IF EXISTS sendfriend_log;
CREATE TABLE sendfriend_log (
`log_id` int(11) NOT NULL auto_increment,
`ip` int(11) NOT NULL default '0',
`time` int(11) NOT NULL default '0',
PRIMARY KEY (`log_id`),
KEY `ip` (`ip`),
KEY `time` (`time`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Send to friend function log storage table'
)
)
[2] => Array
(
[file] => /home1/imugoco1/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 636
[function] => multi_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] =>
-- DROP TABLE IF EXISTS sendfriend_log;
CREATE TABLE sendfriend_log (
`log_id` int(11) NOT NULL auto_increment,
`ip` int(11) NOT NULL default '0',
`time` int(11) NOT NULL default '0',
PRIMARY KEY (`log_id`),
KEY `ip` (`ip`),
KEY `time` (`time`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Send to friend function log storage table';
)
)
[3] => Array
(
[file] => /home1/imugoco1/public_html/app/code/core/Mage/Sendfriend/sql/sendfriend_setup/mysql4-install-0.7.0.php
[line] => 42
[function] => run
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] =>
-- DROP TABLE IF EXISTS sendfriend_log;
CREATE TABLE sendfriend_log (
`log_id` int(11) NOT NULL auto_increment,
`ip` int(11) NOT NULL default '0',
`time` int(11) NOT NULL default '0',
PRIMARY KEY (`log_id`),
KEY `ip` (`ip`),
KEY `time` (`time`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Send to friend function log storage table';
)
)
[4] => Array
(
[file] => /home1/imugoco1/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 376
[args] => Array
(
[0] => /home1/imugoco1/public_html/app/code/core/Mage/Sendfriend/sql/sendfriend_setup/mysql4-install-0.7.0.php
)
[function] => include
)
[5] => Array
(
[file] => /home1/imugoco1/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 276
[function] => _modifyResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => install
[1] =>
[2] => 0.7.4
)
)
[6] => Array
(
[file] => /home1/imugoco1/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 240
[function] => _installResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => 0.7.4
)
)
[7] => Array
(
[file] => /home1/imugoco1/public_html/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] => /home1/imugoco1/public_html/app/code/core/Mage/Core/Model/App.php
[line] => 363
[function] => applyAllUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ::
[args] => Array
(
)
)
[9] => Array
(
[file] => /home1/imugoco1/public_html/app/code/core/Mage/Core/Model/App.php
[line] => 295
[function] => _initModules
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
)
)
[10] => Array
(
[file] => /home1/imugoco1/public_html/app/Mage.php
[line] => 596
[function] => run
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
[0] => Array
(
[scope_code] =>
[scope_type] => store
[options] => Array
(
)
)
)
)
[11] => Array
(
[file] => /home1/imugoco1/public_html/index.php
[line] => 78
[function] => run
[class] => Mage
[type] => ::
[args] => Array
(
[0] =>
[1] => store
)
)
)
[errorInfo] => Array
(
[0] => 42S01
[1] => 1050
[2] => Table 'sendfriend_log' already exists
)
)