PDOException Object
(
    [message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'op_avatax_log' already exists
    [string:Exception:private] => 
    [code:protected] => 42S01
    [file:protected] => /chroot/home/mjquickc/greensector.com/html/includes/src/__default.php
    [line:protected] => 73322
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/includes/src/__default.php
                    [line] => 73322
                    [function] => execute
                    [class] => PDOStatement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/includes/src/Varien_Db_Statement_Pdo_Mysql.php
                    [line] => 110
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/includes/src/__default.php
                    [line] => 72910
                    [function] => _execute
                    [class] => Varien_Db_Statement_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/includes/src/__default.php
                    [line] => 62574
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/includes/src/__default.php
                    [line] => 63611
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE TABLE `op_avatax_log` (
    `log_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `store_id` smallint(5) unsigned DEFAULT NULL,
    `level` varchar(50) DEFAULT NULL,
    `type` varchar(50) DEFAULT NULL,
    `request` text,
    `result` text,
    `additional` text,
    `created_at` datetime DEFAULT NULL,
    PRIMARY KEY (`log_id`),
    KEY `FK_OP_AVATAX_LOG_STORE_ID_CORE_STORE_STORE_ID` (`store_id`),
    KEY `IDX_OP_AVATAX_LOG_LEVEL` (`level`),
    KEY `IDX_OP_AVATAX_LOG_TYPE` (`type`),
    KEY `IDX_OP_AVATAX_LOG_CREATED_AT` (`created_at`),
    CONSTRAINT `FK_OP_AVATAX_LOG_STORE_ID_CORE_STORE_STORE_ID` FOREIGN KEY (`store_id`)
      REFERENCES `core_store` (`store_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB COMMENT='Used by One Pica AvaTax extension'
                            [1] => Array
                                (
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/includes/src/__default.php
                    [line] => 64547
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE TABLE `op_avatax_log` (
    `log_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `store_id` smallint(5) unsigned DEFAULT NULL,
    `level` varchar(50) DEFAULT NULL,
    `type` varchar(50) DEFAULT NULL,
    `request` text,
    `result` text,
    `additional` text,
    `created_at` datetime DEFAULT NULL,
    PRIMARY KEY (`log_id`),
    KEY `FK_OP_AVATAX_LOG_STORE_ID_CORE_STORE_STORE_ID` (`store_id`),
    KEY `IDX_OP_AVATAX_LOG_LEVEL` (`level`),
    KEY `IDX_OP_AVATAX_LOG_TYPE` (`type`),
    KEY `IDX_OP_AVATAX_LOG_CREATED_AT` (`created_at`),
    CONSTRAINT `FK_OP_AVATAX_LOG_STORE_ID_CORE_STORE_STORE_ID` FOREIGN KEY (`store_id`)
      REFERENCES `core_store` (`store_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB COMMENT='Used by One Pica AvaTax extension'
                            [1] => Array
                                (
                                )

                        )

                )

            [6] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/includes/src/__default.php
                    [line] => 64466
                    [function] => query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE TABLE `op_avatax_log` (
    `log_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `store_id` smallint(5) unsigned DEFAULT NULL,
    `level` varchar(50) DEFAULT NULL,
    `type` varchar(50) DEFAULT NULL,
    `request` text,
    `result` text,
    `additional` text,
    `created_at` datetime DEFAULT NULL,
    PRIMARY KEY (`log_id`),
    KEY `FK_OP_AVATAX_LOG_STORE_ID_CORE_STORE_STORE_ID` (`store_id`),
    KEY `IDX_OP_AVATAX_LOG_LEVEL` (`level`),
    KEY `IDX_OP_AVATAX_LOG_TYPE` (`type`),
    KEY `IDX_OP_AVATAX_LOG_CREATED_AT` (`created_at`),
    CONSTRAINT `FK_OP_AVATAX_LOG_STORE_ID_CORE_STORE_STORE_ID` FOREIGN KEY (`store_id`)
      REFERENCES `core_store` (`store_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB COMMENT='Used by One Pica AvaTax extension'
                        )

                )

            [7] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/includes/src/__default.php
                    [line] => 64736
                    [function] => raw_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE TABLE `op_avatax_log` (
    `log_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `store_id` smallint(5) unsigned DEFAULT NULL,
    `level` varchar(50) DEFAULT NULL,
    `type` varchar(50) DEFAULT NULL,
    `request` text,
    `result` text,
    `additional` text,
    `created_at` datetime DEFAULT NULL,
    PRIMARY KEY (`log_id`),
    KEY `FK_OP_AVATAX_LOG_STORE_ID_CORE_STORE_STORE_ID` (`store_id`),
    KEY `IDX_OP_AVATAX_LOG_LEVEL` (`level`),
    KEY `IDX_OP_AVATAX_LOG_TYPE` (`type`),
    KEY `IDX_OP_AVATAX_LOG_CREATED_AT` (`created_at`),
    CONSTRAINT `FK_OP_AVATAX_LOG_STORE_ID_CORE_STORE_STORE_ID` FOREIGN KEY (`store_id`)
      REFERENCES `core_store` (`store_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB COMMENT='Used by One Pica AvaTax extension'
                        )

                )

            [8] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/includes/src/__default.php
                    [line] => 64718
                    [function] => multi_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 

CREATE TABLE `op_avatax_log` (
    `log_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `store_id` smallint(5) unsigned DEFAULT NULL,
    `level` varchar(50) DEFAULT NULL,
    `type` varchar(50) DEFAULT NULL,
    `request` text,
    `result` text,
    `additional` text,
    `created_at` datetime DEFAULT NULL,
    PRIMARY KEY (`log_id`),
    KEY `FK_OP_AVATAX_LOG_STORE_ID_CORE_STORE_STORE_ID` (`store_id`),
    KEY `IDX_OP_AVATAX_LOG_LEVEL` (`level`),
    KEY `IDX_OP_AVATAX_LOG_TYPE` (`type`),
    KEY `IDX_OP_AVATAX_LOG_CREATED_AT` (`created_at`),
    CONSTRAINT `FK_OP_AVATAX_LOG_STORE_ID_CORE_STORE_STORE_ID` FOREIGN KEY (`store_id`)
      REFERENCES `core_store` (`store_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB COMMENT='Used by One Pica AvaTax extension';


                        )

                )

            [9] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/includes/src/__default.php
                    [line] => 8406
                    [function] => multiQuery
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 

CREATE TABLE `op_avatax_log` (
    `log_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `store_id` smallint(5) unsigned DEFAULT NULL,
    `level` varchar(50) DEFAULT NULL,
    `type` varchar(50) DEFAULT NULL,
    `request` text,
    `result` text,
    `additional` text,
    `created_at` datetime DEFAULT NULL,
    PRIMARY KEY (`log_id`),
    KEY `FK_OP_AVATAX_LOG_STORE_ID_CORE_STORE_STORE_ID` (`store_id`),
    KEY `IDX_OP_AVATAX_LOG_LEVEL` (`level`),
    KEY `IDX_OP_AVATAX_LOG_TYPE` (`type`),
    KEY `IDX_OP_AVATAX_LOG_CREATED_AT` (`created_at`),
    CONSTRAINT `FK_OP_AVATAX_LOG_STORE_ID_CORE_STORE_STORE_ID` FOREIGN KEY (`store_id`)
      REFERENCES `core_store` (`store_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB COMMENT='Used by One Pica AvaTax extension';


                        )

                )

            [10] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/app/code/community/OnePica/AvaTax/sql/avatax_records_setup/mysql4-upgrade-0.1.4-0.1.5.php
                    [line] => 41
                    [function] => run
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 

CREATE TABLE `op_avatax_log` (
    `log_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `store_id` smallint(5) unsigned DEFAULT NULL,
    `level` varchar(50) DEFAULT NULL,
    `type` varchar(50) DEFAULT NULL,
    `request` text,
    `result` text,
    `additional` text,
    `created_at` datetime DEFAULT NULL,
    PRIMARY KEY (`log_id`),
    KEY `FK_OP_AVATAX_LOG_STORE_ID_CORE_STORE_STORE_ID` (`store_id`),
    KEY `IDX_OP_AVATAX_LOG_LEVEL` (`level`),
    KEY `IDX_OP_AVATAX_LOG_TYPE` (`type`),
    KEY `IDX_OP_AVATAX_LOG_CREATED_AT` (`created_at`),
    CONSTRAINT `FK_OP_AVATAX_LOG_STORE_ID_CORE_STORE_STORE_ID` FOREIGN KEY (`store_id`)
      REFERENCES `core_store` (`store_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB COMMENT='Used by One Pica AvaTax extension';


                        )

                )

            [11] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/includes/src/__default.php
                    [line] => 8097
                    [args] => Array
                        (
                            [0] => /chroot/home/mjquickc/greensector.com/html/app/code/community/OnePica/AvaTax/sql/avatax_records_setup/mysql4-upgrade-0.1.4-0.1.5.php
                        )

                    [function] => include
                )

            [12] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/includes/src/__default.php
                    [line] => 7910
                    [function] => _modifyResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => upgrade
                            [1] => 0.1.0
                            [2] => 2.6.9.0
                        )

                )

            [13] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/includes/src/__default.php
                    [line] => 7793
                    [function] => _upgradeResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 0.1.0
                            [1] => 2.6.9.0
                        )

                )

            [14] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/includes/src/__default.php
                    [line] => 7708
                    [function] => applyUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [15] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/includes/src/__default.php
                    [line] => 31105
                    [function] => applyAllUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [16] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/includes/src/__default.php
                    [line] => 31031
                    [function] => _initModules
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [17] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/app/Mage.php
                    [line] => 684
                    [function] => run
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [scope_code] => 
                                    [scope_type] => store
                                    [options] => Array
                                        (
                                        )

                                )

                        )

                )

            [18] => Array
                (
                    [file] => /chroot/home/mjquickc/greensector.com/html/index.php
                    [line] => 68
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                            [1] => store
                        )

                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => 42S01
            [1] => 1050
            [2] => Table 'op_avatax_log' already exists
        )

)