PDOException Object ( [message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'atoz_product_history' already exists [string:Exception:private] => [code:protected] => 42S01 [file:protected] => /data1/web/missydress.no/lib/Zend/Db/Statement/Pdo.php [line:protected] => 228 [trace:Exception:private] => Array ( [0] => Array ( [file] => /data1/web/missydress.no/lib/Zend/Db/Statement/Pdo.php [line] => 228 [function] => execute [class] => PDOStatement [type] => -> [args] => Array ( [0] => Array ( ) ) ) [1] => Array ( [file] => /data1/web/missydress.no/lib/Varien/Db/Statement/Pdo/Mysql.php [line] => 110 [function] => _execute [class] => Zend_Db_Statement_Pdo [type] => -> [args] => Array ( [0] => Array ( ) ) ) [2] => Array ( [file] => /data1/web/missydress.no/lib/Zend/Db/Statement.php [line] => 300 [function] => _execute [class] => Varien_Db_Statement_Pdo_Mysql [type] => -> [args] => Array ( [0] => Array ( ) ) ) [3] => Array ( [file] => /data1/web/missydress.no/lib/Zend/Db/Adapter/Abstract.php [line] => 479 [function] => execute [class] => Zend_Db_Statement [type] => -> [args] => Array ( [0] => Array ( ) ) ) [4] => Array ( [file] => /data1/web/missydress.no/lib/Zend/Db/Adapter/Pdo/Abstract.php [line] => 238 [function] => query [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => CREATE TABLE `atoz_product_history` ( `product_id` int(11) NOT NULL , INDEX `index` (`product_id`) ) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=COMPACT [1] => Array ( ) ) ) [5] => Array ( [file] => /data1/web/missydress.no/lib/Varien/Db/Adapter/Pdo/Mysql.php [line] => 419 [function] => query [class] => Zend_Db_Adapter_Pdo_Abstract [type] => -> [args] => Array ( [0] => CREATE TABLE `atoz_product_history` ( `product_id` int(11) NOT NULL , INDEX `index` (`product_id`) ) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=COMPACT [1] => Array ( ) ) ) [6] => Array ( [file] => /data1/web/missydress.no/lib/Varien/Db/Adapter/Pdo/Mysql.php [line] => 340 [function] => query [class] => Varien_Db_Adapter_Pdo_Mysql [type] => -> [args] => Array ( [0] => CREATE TABLE `atoz_product_history` ( `product_id` int(11) NOT NULL , INDEX `index` (`product_id`) ) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=COMPACT ) ) [7] => Array ( [file] => /data1/web/missydress.no/lib/Varien/Db/Adapter/Pdo/Mysql.php [line] => 608 [function] => raw_query [class] => Varien_Db_Adapter_Pdo_Mysql [type] => -> [args] => Array ( [0] => CREATE TABLE `atoz_product_history` ( `product_id` int(11) NOT NULL , INDEX `index` (`product_id`) ) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=COMPACT ) ) [8] => Array ( [file] => /data1/web/missydress.no/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 `atoz_product_contrast`; CREATE TABLE `atoz_product_contrast` ( `contrast_id` int(11) unsigned NOT NULL AUTO_INCREMENT, `pid1` int(11) NOT NULL, `pid2` int(11) NOT NULL, `frist_point` int(11) DEFAULT '0', `second_point` int(11) DEFAULT '0', `created_at` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`contrast_id`) ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `atoz_product_query_list`; CREATE TABLE `atoz_product_query_list` ( `pid` int(11) NOT NULL , `store_id` int(11) NOT NULL DEFAULT 1 , `related_query_id_list` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' , PRIMARY KEY (`pid`, `store_id`) ) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=COMPACT ; CREATE TABLE `atoz_product_history` ( `product_id` int(11) NOT NULL , INDEX `index` (`product_id`) ) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=COMPACT ; ) ) [9] => Array ( [file] => /data1/web/missydress.no/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 `atoz_product_contrast`; CREATE TABLE `atoz_product_contrast` ( `contrast_id` int(11) unsigned NOT NULL AUTO_INCREMENT, `pid1` int(11) NOT NULL, `pid2` int(11) NOT NULL, `frist_point` int(11) DEFAULT '0', `second_point` int(11) DEFAULT '0', `created_at` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`contrast_id`) ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `atoz_product_query_list`; CREATE TABLE `atoz_product_query_list` ( `pid` int(11) NOT NULL , `store_id` int(11) NOT NULL DEFAULT 1 , `related_query_id_list` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' , PRIMARY KEY (`pid`, `store_id`) ) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=COMPACT ; CREATE TABLE `atoz_product_history` ( `product_id` int(11) NOT NULL , INDEX `index` (`product_id`) ) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=COMPACT ; ) ) [10] => Array ( [file] => /data1/web/missydress.no/app/code/local/Ado/Atoz/sql/atoz_setup/mysql4-install-0.1.0.php [line] => 96 [function] => run [class] => Mage_Core_Model_Resource_Setup [type] => -> [args] => Array ( [0] => DROP TABLE IF EXISTS `atoz_product_contrast`; CREATE TABLE `atoz_product_contrast` ( `contrast_id` int(11) unsigned NOT NULL AUTO_INCREMENT, `pid1` int(11) NOT NULL, `pid2` int(11) NOT NULL, `frist_point` int(11) DEFAULT '0', `second_point` int(11) DEFAULT '0', `created_at` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`contrast_id`) ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `atoz_product_query_list`; CREATE TABLE `atoz_product_query_list` ( `pid` int(11) NOT NULL , `store_id` int(11) NOT NULL DEFAULT 1 , `related_query_id_list` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' , PRIMARY KEY (`pid`, `store_id`) ) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=COMPACT ; CREATE TABLE `atoz_product_history` ( `product_id` int(11) NOT NULL , INDEX `index` (`product_id`) ) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=COMPACT ; ) ) [11] => Array ( [file] => /data1/web/missydress.no/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 624 [args] => Array ( [0] => /data1/web/missydress.no/app/code/local/Ado/Atoz/sql/atoz_setup/mysql4-install-0.1.0.php ) [function] => include ) [12] => Array ( [file] => /data1/web/missydress.no/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] => 0.1.0 ) ) [13] => Array ( [file] => /data1/web/missydress.no/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 327 [function] => _installResourceDb [class] => Mage_Core_Model_Resource_Setup [type] => -> [args] => Array ( [0] => 0.1.0 ) ) [14] => Array ( [file] => /data1/web/missydress.no/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] => /data1/web/missydress.no/app/code/core/Mage/Core/Model/App.php [line] => 417 [function] => applyAllUpdates [class] => Mage_Core_Model_Resource_Setup [type] => :: [args] => Array ( ) ) [16] => Array ( [file] => /data1/web/missydress.no/app/code/core/Mage/Core/Model/App.php [line] => 343 [function] => _initModules [class] => Mage_Core_Model_App [type] => -> [args] => Array ( ) ) [17] => Array ( [file] => /data1/web/missydress.no/app/Mage.php [line] => 683 [function] => run [class] => Mage_Core_Model_App [type] => -> [args] => Array ( [0] => Array ( [scope_code] => [scope_type] => store [options] => Array ( ) ) ) ) [18] => Array ( [file] => /data1/web/missydress.no/index.php [line] => 165 [function] => run [class] => Mage [type] => :: [args] => Array ( [0] => [1] => store ) ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => 42S01 [1] => 1050 [2] => Table 'atoz_product_history' already exists ) )