Zend_Db_Statement_Exception Object ( [_previous:Zend_Exception:private] => [message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'checkout_agreement' already exists [string:Exception:private] => [code:protected] => 42 [file:protected] => /www/wwwroot/kiwilighting.com/lib/Zend/Db/Statement/Pdo.php [line:protected] => 234 [trace:Exception:private] => Array ( [0] => Array ( [file] => /www/wwwroot/kiwilighting.com/lib/Varien/Db/Statement/Pdo/Mysql.php [line] => 110 [function] => _execute [class] => Zend_Db_Statement_Pdo [type] => -> [args] => Array ( [0] => Array ( ) ) ) [1] => Array ( [file] => /www/wwwroot/kiwilighting.com/app/code/core/Zend/Db/Statement.php [line] => 291 [function] => _execute [class] => Varien_Db_Statement_Pdo_Mysql [type] => -> [args] => Array ( [0] => Array ( ) ) ) [2] => Array ( [file] => /www/wwwroot/kiwilighting.com/lib/Zend/Db/Adapter/Abstract.php [line] => 479 [function] => execute [class] => Zend_Db_Statement [type] => -> [args] => Array ( [0] => Array ( ) ) ) [3] => Array ( [file] => /www/wwwroot/kiwilighting.com/lib/Zend/Db/Adapter/Pdo/Abstract.php [line] => 238 [function] => query [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => CREATE TABLE `checkout_agreement` ( `agreement_id` int UNSIGNED NOT NULL auto_increment COMMENT 'Agreement Id', `name` varchar(255) NULL COMMENT 'Name', `content` text NULL COMMENT 'Content', `content_height` varchar(25) NULL COMMENT 'Content Height', `checkbox_text` text NULL COMMENT 'Checkbox Text', `is_active` smallint NOT NULL default '0' COMMENT 'Is Active', `is_html` smallint NOT NULL default '0' COMMENT 'Is Html', PRIMARY KEY (`agreement_id`) ) COMMENT='Checkout Agreement' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci [1] => Array ( ) ) ) [4] => Array ( [file] => /www/wwwroot/kiwilighting.com/lib/Varien/Db/Adapter/Pdo/Mysql.php [line] => 428 [function] => query [class] => Zend_Db_Adapter_Pdo_Abstract [type] => -> [args] => Array ( [0] => CREATE TABLE `checkout_agreement` ( `agreement_id` int UNSIGNED NOT NULL auto_increment COMMENT 'Agreement Id', `name` varchar(255) NULL COMMENT 'Name', `content` text NULL COMMENT 'Content', `content_height` varchar(25) NULL COMMENT 'Content Height', `checkbox_text` text NULL COMMENT 'Checkbox Text', `is_active` smallint NOT NULL default '0' COMMENT 'Is Active', `is_html` smallint NOT NULL default '0' COMMENT 'Is Html', PRIMARY KEY (`agreement_id`) ) COMMENT='Checkout Agreement' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci [1] => Array ( ) ) ) [5] => Array ( [file] => /www/wwwroot/kiwilighting.com/lib/Varien/Db/Adapter/Pdo/Mysql.php [line] => 2048 [function] => query [class] => Varien_Db_Adapter_Pdo_Mysql [type] => -> [args] => Array ( [0] => CREATE TABLE `checkout_agreement` ( `agreement_id` int UNSIGNED NOT NULL auto_increment COMMENT 'Agreement Id', `name` varchar(255) NULL COMMENT 'Name', `content` text NULL COMMENT 'Content', `content_height` varchar(25) NULL COMMENT 'Content Height', `checkbox_text` text NULL COMMENT 'Checkbox Text', `is_active` smallint NOT NULL default '0' COMMENT 'Is Active', `is_html` smallint NOT NULL default '0' COMMENT 'Is Html', PRIMARY KEY (`agreement_id`) ) COMMENT='Checkout Agreement' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci ) ) [6] => Array ( [file] => /www/wwwroot/kiwilighting.com/app/code/core/Mage/Checkout/sql/checkout_setup/install-1.6.0.0.php [line] => 59 [function] => createTable [class] => Varien_Db_Adapter_Pdo_Mysql [type] => -> [args] => Array ( [0] => Varien_Db_Ddl_Table Object ( [_tableName:protected] => checkout_agreement [_schemaName:protected] => [_tableComment:protected] => Checkout Agreement [_columns:protected] => Array ( [AGREEMENT_ID] => Array ( [COLUMN_NAME] => agreement_id [COLUMN_TYPE] => integer [COLUMN_POSITION] => 0 [DATA_TYPE] => integer [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => 1 [PRIMARY] => 1 [PRIMARY_POSITION] => 0 [IDENTITY] => 1 [COMMENT] => Agreement Id ) [NAME] => Array ( [COLUMN_NAME] => name [COLUMN_TYPE] => text [COLUMN_POSITION] => 1 [DATA_TYPE] => text [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 255 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => 0 [IDENTITY] => [COMMENT] => Name ) [CONTENT] => Array ( [COLUMN_NAME] => content [COLUMN_TYPE] => text [COLUMN_POSITION] => 2 [DATA_TYPE] => text [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 64k [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => 0 [IDENTITY] => [COMMENT] => Content ) [CONTENT_HEIGHT] => Array ( [COLUMN_NAME] => content_height [COLUMN_TYPE] => text [COLUMN_POSITION] => 3 [DATA_TYPE] => text [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 25 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => 0 [IDENTITY] => [COMMENT] => Content Height ) [CHECKBOX_TEXT] => Array ( [COLUMN_NAME] => checkbox_text [COLUMN_TYPE] => text [COLUMN_POSITION] => 4 [DATA_TYPE] => text [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 64k [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => 0 [IDENTITY] => [COMMENT] => Checkbox Text ) [IS_ACTIVE] => Array ( [COLUMN_NAME] => is_active [COLUMN_TYPE] => smallint [COLUMN_POSITION] => 5 [DATA_TYPE] => smallint [DEFAULT] => 0 [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => 0 [IDENTITY] => [COMMENT] => Is Active ) [IS_HTML] => Array ( [COLUMN_NAME] => is_html [COLUMN_TYPE] => smallint [COLUMN_POSITION] => 6 [DATA_TYPE] => smallint [DEFAULT] => 0 [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => 0 [IDENTITY] => [COMMENT] => Is Html ) ) [_indexes:protected] => Array ( ) [_foreignKeys:protected] => Array ( ) [_options:protected] => Array ( [type] => INNODB [charset] => utf8 [collate] => utf8_general_ci ) ) ) ) [7] => Array ( [file] => /www/wwwroot/kiwilighting.com/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 624 [args] => Array ( [0] => /www/wwwroot/kiwilighting.com/app/code/core/Mage/Checkout/sql/checkout_setup/install-1.6.0.0.php ) [function] => include ) [8] => Array ( [file] => /www/wwwroot/kiwilighting.com/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 421 [function] => _modifyResourceDb [class] => Mage_Core_Model_Resource_Setup [type] => -> [args] => Array ( [0] => install [1] => [2] => 1.6.0.0 ) ) [9] => Array ( [file] => /www/wwwroot/kiwilighting.com/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 327 [function] => _installResourceDb [class] => Mage_Core_Model_Resource_Setup [type] => -> [args] => Array ( [0] => 1.6.0.0 ) ) [10] => Array ( [file] => /www/wwwroot/kiwilighting.com/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 235 [function] => applyUpdates [class] => Mage_Core_Model_Resource_Setup [type] => -> [args] => Array ( ) ) [11] => Array ( [file] => /www/wwwroot/kiwilighting.com/app/code/core/Mage/Core/Model/App.php [line] => 417 [function] => applyAllUpdates [class] => Mage_Core_Model_Resource_Setup [type] => :: [args] => Array ( ) ) [12] => Array ( [file] => /www/wwwroot/kiwilighting.com/app/code/core/Mage/Core/Model/App.php [line] => 343 [function] => _initModules [class] => Mage_Core_Model_App [type] => -> [args] => Array ( ) ) [13] => Array ( [file] => /www/wwwroot/kiwilighting.com/app/Mage.php [line] => 683 [function] => run [class] => Mage_Core_Model_App [type] => -> [args] => Array ( [0] => Array ( [scope_code] => [scope_type] => store [options] => Array ( ) ) ) ) [14] => Array ( [file] => /www/wwwroot/kiwilighting.com/index.php [line] => 87 [function] => run [class] => Mage [type] => :: [args] => Array ( [0] => [1] => store ) ) ) [previous:Exception:private] => PDOException Object ( [message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'checkout_agreement' already exists [string:Exception:private] => [code:protected] => 42S01 [file:protected] => /www/wwwroot/kiwilighting.com/lib/Zend/Db/Statement/Pdo.php [line:protected] => 228 [trace:Exception:private] => Array ( [0] => Array ( [file] => /www/wwwroot/kiwilighting.com/lib/Zend/Db/Statement/Pdo.php [line] => 228 [function] => execute [class] => PDOStatement [type] => -> [args] => Array ( [0] => Array ( ) ) ) [1] => Array ( [file] => /www/wwwroot/kiwilighting.com/lib/Varien/Db/Statement/Pdo/Mysql.php [line] => 110 [function] => _execute [class] => Zend_Db_Statement_Pdo [type] => -> [args] => Array ( [0] => Array ( ) ) ) [2] => Array ( [file] => /www/wwwroot/kiwilighting.com/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] => /www/wwwroot/kiwilighting.com/lib/Zend/Db/Adapter/Abstract.php [line] => 479 [function] => execute [class] => Zend_Db_Statement [type] => -> [args] => Array ( [0] => Array ( ) ) ) [4] => Array ( [file] => /www/wwwroot/kiwilighting.com/lib/Zend/Db/Adapter/Pdo/Abstract.php [line] => 238 [function] => query [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => CREATE TABLE `checkout_agreement` ( `agreement_id` int UNSIGNED NOT NULL auto_increment COMMENT 'Agreement Id', `name` varchar(255) NULL COMMENT 'Name', `content` text NULL COMMENT 'Content', `content_height` varchar(25) NULL COMMENT 'Content Height', `checkbox_text` text NULL COMMENT 'Checkbox Text', `is_active` smallint NOT NULL default '0' COMMENT 'Is Active', `is_html` smallint NOT NULL default '0' COMMENT 'Is Html', PRIMARY KEY (`agreement_id`) ) COMMENT='Checkout Agreement' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci [1] => Array ( ) ) ) [5] => Array ( [file] => /www/wwwroot/kiwilighting.com/lib/Varien/Db/Adapter/Pdo/Mysql.php [line] => 428 [function] => query [class] => Zend_Db_Adapter_Pdo_Abstract [type] => -> [args] => Array ( [0] => CREATE TABLE `checkout_agreement` ( `agreement_id` int UNSIGNED NOT NULL auto_increment COMMENT 'Agreement Id', `name` varchar(255) NULL COMMENT 'Name', `content` text NULL COMMENT 'Content', `content_height` varchar(25) NULL COMMENT 'Content Height', `checkbox_text` text NULL COMMENT 'Checkbox Text', `is_active` smallint NOT NULL default '0' COMMENT 'Is Active', `is_html` smallint NOT NULL default '0' COMMENT 'Is Html', PRIMARY KEY (`agreement_id`) ) COMMENT='Checkout Agreement' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci [1] => Array ( ) ) ) [6] => Array ( [file] => /www/wwwroot/kiwilighting.com/lib/Varien/Db/Adapter/Pdo/Mysql.php [line] => 2048 [function] => query [class] => Varien_Db_Adapter_Pdo_Mysql [type] => -> [args] => Array ( [0] => CREATE TABLE `checkout_agreement` ( `agreement_id` int UNSIGNED NOT NULL auto_increment COMMENT 'Agreement Id', `name` varchar(255) NULL COMMENT 'Name', `content` text NULL COMMENT 'Content', `content_height` varchar(25) NULL COMMENT 'Content Height', `checkbox_text` text NULL COMMENT 'Checkbox Text', `is_active` smallint NOT NULL default '0' COMMENT 'Is Active', `is_html` smallint NOT NULL default '0' COMMENT 'Is Html', PRIMARY KEY (`agreement_id`) ) COMMENT='Checkout Agreement' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci ) ) [7] => Array ( [file] => /www/wwwroot/kiwilighting.com/app/code/core/Mage/Checkout/sql/checkout_setup/install-1.6.0.0.php [line] => 59 [function] => createTable [class] => Varien_Db_Adapter_Pdo_Mysql [type] => -> [args] => Array ( [0] => Varien_Db_Ddl_Table Object ( [_tableName:protected] => checkout_agreement [_schemaName:protected] => [_tableComment:protected] => Checkout Agreement [_columns:protected] => Array ( [AGREEMENT_ID] => Array ( [COLUMN_NAME] => agreement_id [COLUMN_TYPE] => integer [COLUMN_POSITION] => 0 [DATA_TYPE] => integer [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => 1 [PRIMARY] => 1 [PRIMARY_POSITION] => 0 [IDENTITY] => 1 [COMMENT] => Agreement Id ) [NAME] => Array ( [COLUMN_NAME] => name [COLUMN_TYPE] => text [COLUMN_POSITION] => 1 [DATA_TYPE] => text [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 255 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => 0 [IDENTITY] => [COMMENT] => Name ) [CONTENT] => Array ( [COLUMN_NAME] => content [COLUMN_TYPE] => text [COLUMN_POSITION] => 2 [DATA_TYPE] => text [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 64k [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => 0 [IDENTITY] => [COMMENT] => Content ) [CONTENT_HEIGHT] => Array ( [COLUMN_NAME] => content_height [COLUMN_TYPE] => text [COLUMN_POSITION] => 3 [DATA_TYPE] => text [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 25 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => 0 [IDENTITY] => [COMMENT] => Content Height ) [CHECKBOX_TEXT] => Array ( [COLUMN_NAME] => checkbox_text [COLUMN_TYPE] => text [COLUMN_POSITION] => 4 [DATA_TYPE] => text [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 64k [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => 0 [IDENTITY] => [COMMENT] => Checkbox Text ) [IS_ACTIVE] => Array ( [COLUMN_NAME] => is_active [COLUMN_TYPE] => smallint [COLUMN_POSITION] => 5 [DATA_TYPE] => smallint [DEFAULT] => 0 [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => 0 [IDENTITY] => [COMMENT] => Is Active ) [IS_HTML] => Array ( [COLUMN_NAME] => is_html [COLUMN_TYPE] => smallint [COLUMN_POSITION] => 6 [DATA_TYPE] => smallint [DEFAULT] => 0 [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => 0 [IDENTITY] => [COMMENT] => Is Html ) ) [_indexes:protected] => Array ( ) [_foreignKeys:protected] => Array ( ) [_options:protected] => Array ( [type] => INNODB [charset] => utf8 [collate] => utf8_general_ci ) ) ) ) [8] => Array ( [file] => /www/wwwroot/kiwilighting.com/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 624 [args] => Array ( [0] => /www/wwwroot/kiwilighting.com/app/code/core/Mage/Checkout/sql/checkout_setup/install-1.6.0.0.php ) [function] => include ) [9] => Array ( [file] => /www/wwwroot/kiwilighting.com/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 421 [function] => _modifyResourceDb [class] => Mage_Core_Model_Resource_Setup [type] => -> [args] => Array ( [0] => install [1] => [2] => 1.6.0.0 ) ) [10] => Array ( [file] => /www/wwwroot/kiwilighting.com/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 327 [function] => _installResourceDb [class] => Mage_Core_Model_Resource_Setup [type] => -> [args] => Array ( [0] => 1.6.0.0 ) ) [11] => Array ( [file] => /www/wwwroot/kiwilighting.com/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 235 [function] => applyUpdates [class] => Mage_Core_Model_Resource_Setup [type] => -> [args] => Array ( ) ) [12] => Array ( [file] => /www/wwwroot/kiwilighting.com/app/code/core/Mage/Core/Model/App.php [line] => 417 [function] => applyAllUpdates [class] => Mage_Core_Model_Resource_Setup [type] => :: [args] => Array ( ) ) [13] => Array ( [file] => /www/wwwroot/kiwilighting.com/app/code/core/Mage/Core/Model/App.php [line] => 343 [function] => _initModules [class] => Mage_Core_Model_App [type] => -> [args] => Array ( ) ) [14] => Array ( [file] => /www/wwwroot/kiwilighting.com/app/Mage.php [line] => 683 [function] => run [class] => Mage_Core_Model_App [type] => -> [args] => Array ( [0] => Array ( [scope_code] => [scope_type] => store [options] => Array ( ) ) ) ) [15] => Array ( [file] => /www/wwwroot/kiwilighting.com/index.php [line] => 87 [function] => run [class] => Mage [type] => :: [args] => Array ( [0] => [1] => store ) ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => 42S01 [1] => 1050 [2] => Table 'checkout_agreement' already exists ) ) )