PDOException Object
(
[message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'log_visitor_online' already exists
[string:private] =>
[code:protected] => 42S01
[file:protected] => /home/jdorman/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line:protected] => 230
[trace:private] => Array
(
[0] => Array
(
[file] => /home/jdorman/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 230
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => CREATE TABLE `log_visitor_online` (
`visitor_id` bigint(20) unsigned NOT NULL auto_increment,
`visitor_type` char(1) NOT NULL,
`remote_addr` int(11) NOT NULL,
`first_visit_at` datetime default NULL,
`last_visit_at` datetime default NULL,
`customer_id` int(10) unsigned default NULL,
`last_url` varchar(255) default NULL,
PRIMARY KEY (`visitor_id`),
KEY `IDX_VISITOR_TYPE` (`visitor_type`),
KEY `IDX_VISIT_TIME` (`first_visit_at`,`last_visit_at`),
KEY `IDX_CUSTOMER` (`customer_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
)
)
[1] => Array
(
[file] => /home/jdorman/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 339
[function] => raw_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => CREATE TABLE `log_visitor_online` (
`visitor_id` bigint(20) unsigned NOT NULL auto_increment,
`visitor_type` char(1) NOT NULL,
`remote_addr` int(11) NOT NULL,
`first_visit_at` datetime default NULL,
`last_visit_at` datetime default NULL,
`customer_id` int(10) unsigned default NULL,
`last_url` varchar(255) default NULL,
PRIMARY KEY (`visitor_id`),
KEY `IDX_VISITOR_TYPE` (`visitor_type`),
KEY `IDX_VISIT_TIME` (`first_visit_at`,`last_visit_at`),
KEY `IDX_CUSTOMER` (`customer_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
)
)
[2] => Array
(
[file] => /home/jdorman/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 535
[function] => multi_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] =>
CREATE TABLE `log_visitor_online` (
`visitor_id` bigint(20) unsigned NOT NULL auto_increment,
`visitor_type` char(1) NOT NULL,
`remote_addr` int(11) NOT NULL,
`first_visit_at` datetime default NULL,
`last_visit_at` datetime default NULL,
`customer_id` int(10) unsigned default NULL,
`last_url` varchar(255) default NULL,
PRIMARY KEY (`visitor_id`),
KEY `IDX_VISITOR_TYPE` (`visitor_type`),
KEY `IDX_VISIT_TIME` (`first_visit_at`,`last_visit_at`),
KEY `IDX_CUSTOMER` (`customer_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
)
)
[3] => Array
(
[file] => /home/jdorman/public_html/app/code/core/Mage/Log/sql/log_setup/mysql4-upgrade-0.7.4-0.7.5.php
[line] => 46
[function] => run
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] =>
CREATE TABLE `log_visitor_online` (
`visitor_id` bigint(20) unsigned NOT NULL auto_increment,
`visitor_type` char(1) NOT NULL,
`remote_addr` int(11) NOT NULL,
`first_visit_at` datetime default NULL,
`last_visit_at` datetime default NULL,
`customer_id` int(10) unsigned default NULL,
`last_url` varchar(255) default NULL,
PRIMARY KEY (`visitor_id`),
KEY `IDX_VISITOR_TYPE` (`visitor_type`),
KEY `IDX_VISIT_TIME` (`first_visit_at`,`last_visit_at`),
KEY `IDX_CUSTOMER` (`customer_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
)
)
[4] => Array
(
[file] => /home/jdorman/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 274
[args] => Array
(
[0] => /home/jdorman/public_html/app/code/core/Mage/Log/sql/log_setup/mysql4-upgrade-0.7.4-0.7.5.php
)
[function] => include
)
[5] => Array
(
[file] => /home/jdorman/public_html/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.7.4
[2] => 0.7.6
)
)
[6] => Array
(
[file] => /home/jdorman/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 146
[function] => _upgradeResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => 0.7.4
[1] => 0.7.6
)
)
[7] => Array
(
[file] => /home/jdorman/public_html/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] => /home/jdorman/public_html/app/code/core/Mage/Core/Model/Config.php
[line] => 263
[function] => applyAllUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ::
[args] => Array
(
)
)
[9] => Array
(
[file] => /home/jdorman/public_html/app/code/core/Mage/Core/Model/App.php
[line] => 263
[function] => init
[class] => Mage_Core_Model_Config
[type] => ->
[args] => Array
(
[0] => Array
(
)
)
)
[10] => Array
(
[file] => /home/jdorman/public_html/app/Mage.php
[line] => 434
[function] => init
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
[0] =>
[1] => store
[2] => Array
(
)
)
)
[11] => Array
(
[file] => /home/jdorman/public_html/app/Mage.php
[line] => 455
[function] => app
[class] => Mage
[type] => ::
[args] => Array
(
[0] =>
[1] => store
[2] => Array
(
)
)
)
[12] => Array
(
[file] => /home/jdorman/public_html/index.php
[line] => 65
[function] => run
[class] => Mage
[type] => ::
[args] => Array
(
)
)
)
[errorInfo] => Array
(
[0] => 42S01
[1] => 1050
[2] => Table 'log_visitor_online' already exists
)
)