PDOException Object
(
    [message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'mgor_temando_carrier' already exists
    [string:Exception:private] => 
    [code:protected] => 42S01
    [file:protected] => /home2/grace/public_html/lib/Zend/Db/Statement/Pdo.php
    [line:protected] => 228
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home2/grace/public_html/lib/Zend/Db/Statement/Pdo.php
                    [line] => 228
                    [function] => execute
                    [class] => PDOStatement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home2/grace/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php
                    [line] => 110
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /home2/grace/public_html/app/code/core/Zend/Db/Statement.php
                    [line] => 291
                    [function] => _execute
                    [class] => Varien_Db_Statement_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /home2/grace/public_html/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 479
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /home2/grace/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 238
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE TABLE mgor_temando_carrier (
  `id` int(13) UNSIGNED NOT NULL AUTO_INCREMENT,
  `carrier_id` bigint(20) NOT NULL,
  `company_name` varchar(250) NOT NULL,
  `company_contact` text NOT NULL,
  `street_address` text NOT NULL,
  `street_suburb` varchar(255) NOT NULL,
  `street_city` varchar(255) NOT NULL,
  `street_state` varchar(255) NOT NULL,
  `street_postcode` varchar(255) NOT NULL,
  `street_country` varchar(255) NOT NULL,
  `postal_address` text NOT NULL,
  `postal_suburb` varchar(255) NOT NULL,
  `postal_city` varchar(255) NOT NULL,
  `postal_state` varchar(255) NOT NULL,
  `postal_postcode` varchar(255) NOT NULL,
  `postal_country` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `website` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
                            [1] => Array
                                (
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /home2/grace/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 419
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE TABLE mgor_temando_carrier (
  `id` int(13) UNSIGNED NOT NULL AUTO_INCREMENT,
  `carrier_id` bigint(20) NOT NULL,
  `company_name` varchar(250) NOT NULL,
  `company_contact` text NOT NULL,
  `street_address` text NOT NULL,
  `street_suburb` varchar(255) NOT NULL,
  `street_city` varchar(255) NOT NULL,
  `street_state` varchar(255) NOT NULL,
  `street_postcode` varchar(255) NOT NULL,
  `street_country` varchar(255) NOT NULL,
  `postal_address` text NOT NULL,
  `postal_suburb` varchar(255) NOT NULL,
  `postal_city` varchar(255) NOT NULL,
  `postal_state` varchar(255) NOT NULL,
  `postal_postcode` varchar(255) NOT NULL,
  `postal_country` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `website` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
                            [1] => Array
                                (
                                )

                        )

                )

            [6] => Array
                (
                    [file] => /home2/grace/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 340
                    [function] => query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE TABLE mgor_temando_carrier (
  `id` int(13) UNSIGNED NOT NULL AUTO_INCREMENT,
  `carrier_id` bigint(20) NOT NULL,
  `company_name` varchar(250) NOT NULL,
  `company_contact` text NOT NULL,
  `street_address` text NOT NULL,
  `street_suburb` varchar(255) NOT NULL,
  `street_city` varchar(255) NOT NULL,
  `street_state` varchar(255) NOT NULL,
  `street_postcode` varchar(255) NOT NULL,
  `street_country` varchar(255) NOT NULL,
  `postal_address` text NOT NULL,
  `postal_suburb` varchar(255) NOT NULL,
  `postal_city` varchar(255) NOT NULL,
  `postal_state` varchar(255) NOT NULL,
  `postal_postcode` varchar(255) NOT NULL,
  `postal_country` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `website` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
                        )

                )

            [7] => Array
                (
                    [file] => /home2/grace/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 608
                    [function] => raw_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE TABLE mgor_temando_carrier (
  `id` int(13) UNSIGNED NOT NULL AUTO_INCREMENT,
  `carrier_id` bigint(20) NOT NULL,
  `company_name` varchar(250) NOT NULL,
  `company_contact` text NOT NULL,
  `street_address` text NOT NULL,
  `street_suburb` varchar(255) NOT NULL,
  `street_city` varchar(255) NOT NULL,
  `street_state` varchar(255) NOT NULL,
  `street_postcode` varchar(255) NOT NULL,
  `street_country` varchar(255) NOT NULL,
  `postal_address` text NOT NULL,
  `postal_suburb` varchar(255) NOT NULL,
  `postal_city` varchar(255) NOT NULL,
  `postal_state` varchar(255) NOT NULL,
  `postal_postcode` varchar(255) NOT NULL,
  `postal_country` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `website` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
                        )

                )

            [8] => Array
                (
                    [file] => /home2/grace/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 590
                    [function] => multi_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
DROP TABLE IF EXISTS mgor_temando_carrierinfo;
CREATE TABLE mgor_temando_carrier (
  `id` int(13) UNSIGNED NOT NULL AUTO_INCREMENT,
  `carrier_id` bigint(20) NOT NULL,
  `company_name` varchar(250) NOT NULL,
  `company_contact` text NOT NULL,
  `street_address` text NOT NULL,
  `street_suburb` varchar(255) NOT NULL,
  `street_city` varchar(255) NOT NULL,
  `street_state` varchar(255) NOT NULL,
  `street_postcode` varchar(255) NOT NULL,
  `street_country` varchar(255) NOT NULL,
  `postal_address` text NOT NULL,
  `postal_suburb` varchar(255) NOT NULL,
  `postal_city` varchar(255) NOT NULL,
  `postal_state` varchar(255) NOT NULL,
  `postal_postcode` varchar(255) NOT NULL,
  `postal_country` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `website` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

INSERT INTO mgor_temando_carrier (`id`, `carrier_id`, `company_name`) VALUES
(1, 54381, 'Allied Express'),
(2, 54426, 'Allied Express (Bulk)'),
(3, 54359, 'Australian Air Express'),
(4, 54396, 'Australian Air Express-residential'),
(5, 54360, 'Bluestar Logistics'),
(6, 54429, 'Bluestar Logistics Bulk'),
(7, 54433, 'Capital Transport Courier'),
(8, 54432, 'Capital Transport HDS'),
(9, 54425, 'Couriers Please'),
(10, 54343, 'DHL'),
(11, 54430, 'DHL MultiZone'),
(12, 54431, 'DHL SingleZone'),
(13, 54427, 'Fastway Couriers Adhoc'),
(14, 54428, 'Fastway Couriers Bulk'),
(15, 54344, 'Hunter Express'),
(16, 54398, 'Hunter Express (bulk)'),
(17, 54358, 'Mainfreight'),
(18, 54410, 'Northline'),
(19, 10000, 'Flat Rate'),
(20, 10001, 'FREE Shipping');

                        )

                )

            [9] => Array
                (
                    [file] => /home2/grace/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 933
                    [function] => multiQuery
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
DROP TABLE IF EXISTS mgor_temando_carrierinfo;
CREATE TABLE mgor_temando_carrier (
  `id` int(13) UNSIGNED NOT NULL AUTO_INCREMENT,
  `carrier_id` bigint(20) NOT NULL,
  `company_name` varchar(250) NOT NULL,
  `company_contact` text NOT NULL,
  `street_address` text NOT NULL,
  `street_suburb` varchar(255) NOT NULL,
  `street_city` varchar(255) NOT NULL,
  `street_state` varchar(255) NOT NULL,
  `street_postcode` varchar(255) NOT NULL,
  `street_country` varchar(255) NOT NULL,
  `postal_address` text NOT NULL,
  `postal_suburb` varchar(255) NOT NULL,
  `postal_city` varchar(255) NOT NULL,
  `postal_state` varchar(255) NOT NULL,
  `postal_postcode` varchar(255) NOT NULL,
  `postal_country` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `website` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

INSERT INTO mgor_temando_carrier (`id`, `carrier_id`, `company_name`) VALUES
(1, 54381, 'Allied Express'),
(2, 54426, 'Allied Express (Bulk)'),
(3, 54359, 'Australian Air Express'),
(4, 54396, 'Australian Air Express-residential'),
(5, 54360, 'Bluestar Logistics'),
(6, 54429, 'Bluestar Logistics Bulk'),
(7, 54433, 'Capital Transport Courier'),
(8, 54432, 'Capital Transport HDS'),
(9, 54425, 'Couriers Please'),
(10, 54343, 'DHL'),
(11, 54430, 'DHL MultiZone'),
(12, 54431, 'DHL SingleZone'),
(13, 54427, 'Fastway Couriers Adhoc'),
(14, 54428, 'Fastway Couriers Bulk'),
(15, 54344, 'Hunter Express'),
(16, 54398, 'Hunter Express (bulk)'),
(17, 54358, 'Mainfreight'),
(18, 54410, 'Northline'),
(19, 10000, 'Flat Rate'),
(20, 10001, 'FREE Shipping');

                        )

                )

            [10] => Array
                (
                    [file] => /home2/grace/public_html/app/code/community/Ewave/Temando/sql/temando_setup/mysql4-upgrade-1.1.0-1.1.1.php
                    [line] => 36
                    [function] => run
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
DROP TABLE IF EXISTS mgor_temando_carrierinfo;
CREATE TABLE mgor_temando_carrier (
  `id` int(13) UNSIGNED NOT NULL AUTO_INCREMENT,
  `carrier_id` bigint(20) NOT NULL,
  `company_name` varchar(250) NOT NULL,
  `company_contact` text NOT NULL,
  `street_address` text NOT NULL,
  `street_suburb` varchar(255) NOT NULL,
  `street_city` varchar(255) NOT NULL,
  `street_state` varchar(255) NOT NULL,
  `street_postcode` varchar(255) NOT NULL,
  `street_country` varchar(255) NOT NULL,
  `postal_address` text NOT NULL,
  `postal_suburb` varchar(255) NOT NULL,
  `postal_city` varchar(255) NOT NULL,
  `postal_state` varchar(255) NOT NULL,
  `postal_postcode` varchar(255) NOT NULL,
  `postal_country` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `website` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

INSERT INTO mgor_temando_carrier (`id`, `carrier_id`, `company_name`) VALUES
(1, 54381, 'Allied Express'),
(2, 54426, 'Allied Express (Bulk)'),
(3, 54359, 'Australian Air Express'),
(4, 54396, 'Australian Air Express-residential'),
(5, 54360, 'Bluestar Logistics'),
(6, 54429, 'Bluestar Logistics Bulk'),
(7, 54433, 'Capital Transport Courier'),
(8, 54432, 'Capital Transport HDS'),
(9, 54425, 'Couriers Please'),
(10, 54343, 'DHL'),
(11, 54430, 'DHL MultiZone'),
(12, 54431, 'DHL SingleZone'),
(13, 54427, 'Fastway Couriers Adhoc'),
(14, 54428, 'Fastway Couriers Bulk'),
(15, 54344, 'Hunter Express'),
(16, 54398, 'Hunter Express (bulk)'),
(17, 54358, 'Mainfreight'),
(18, 54410, 'Northline'),
(19, 10000, 'Flat Rate'),
(20, 10001, 'FREE Shipping');

                        )

                )

            [11] => Array
                (
                    [file] => /home2/grace/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 624
                    [args] => Array
                        (
                            [0] => /home2/grace/public_html/app/code/community/Ewave/Temando/sql/temando_setup/mysql4-upgrade-1.1.0-1.1.1.php
                        )

                    [function] => include
                )

            [12] => Array
                (
                    [file] => /home2/grace/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 437
                    [function] => _modifyResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => upgrade
                            [1] => 1.1.0
                            [2] => 1.7.13
                        )

                )

            [13] => Array
                (
                    [file] => /home2/grace/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 320
                    [function] => _upgradeResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 1.1.0
                            [1] => 1.7.13
                        )

                )

            [14] => Array
                (
                    [file] => /home2/grace/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 235
                    [function] => applyUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [15] => Array
                (
                    [file] => /home2/grace/public_html/app/code/core/Mage/Core/Model/App.php
                    [line] => 417
                    [function] => applyAllUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [16] => Array
                (
                    [file] => /home2/grace/public_html/app/code/core/Mage/Core/Model/App.php
                    [line] => 343
                    [function] => _initModules
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [17] => Array
                (
                    [file] => /home2/grace/public_html/app/Mage.php
                    [line] => 682
                    [function] => run
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [scope_code] => 
                                    [scope_type] => store
                                    [options] => Array
                                        (
                                        )

                                )

                        )

                )

            [18] => Array
                (
                    [file] => /home2/grace/public_html/index.php
                    [line] => 72
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                            [1] => store
                        )

                )

        )

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

)
Error in file: "/home2/grace/public_html/app/code/community/Ewave/Temando/sql/temando_setup/mysql4-upgrade-1.1.0-1.1.1.php" - SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'mgor_temando_carrier' already exists

#0 /home2/grace/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(645): Mage::exception('Mage_Core', 'Error in file: ...')
#1 /home2/grace/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(437): Mage_Core_Model_Resource_Setup->_modifyResourceDb('upgrade', '1.1.0', '1.7.13')
#2 /home2/grace/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(320): Mage_Core_Model_Resource_Setup->_upgradeResourceDb('1.1.0', '1.7.13')
#3 /home2/grace/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 /home2/grace/public_html/app/code/core/Mage/Core/Model/App.php(417): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 /home2/grace/public_html/app/code/core/Mage/Core/Model/App.php(343): Mage_Core_Model_App->_initModules()
#6 /home2/grace/public_html/app/Mage.php(682): Mage_Core_Model_App->run(Array)
#7 /home2/grace/public_html/index.php(72): Mage::run('', 'store')
#8 {main}