Post by sodamhall » Wed Sep 09, 2015 12:46 am

How can I fix this

Fatal error: Uncaught exception 'ErrorException' with message 'Error: Table 'oc_product_profile' already exists
Error No: 1050
CREATE TABLE `oc_product_profile` ( `product_id` int(11) NOT NULL, `profile_id` int(11) NOT NULL, `customer_group_id` int(11) NOT NULL, PRIMARY KEY (`product_id`,`profile_id`,`customer_group_id`) ) ENGINE=MyISAM COLLATE=utf8_general_ci; ' in /customers/8/9/6/cybermobilephones.co.uk/httpd.www/system/database/mysqli.php:41 Stack trace: #0 /customers/8/9/6/cybermobilephones.co.uk/httpd.www/system/library/db.php(20): DBMySQLi->query('\nCREATE TABLE `...') #1 /customers/8/9/6/cybermobilephones.co.uk/httpd.www/install/model/install.php(26): DB->query('\nCREATE TABLE `...') #2 /customers/8/9/6/cybermobilephones.co.uk/httpd.www/install/controller/step_3.php(9): ModelInstall->database(Array) #3 [internal function]: ControllerStep3->index() #4 /customers/8/9/6/cybermobilephones.co.uk/httpd.www/system/engine/front.php(42): call_user_func_array(Array, Array) #5 /customers/8/9/6/cybermobilep in /customers/8/9/6/cybermobilephones.co.uk/httpd.www/system/database/mysqli.php on line 41

Newbie

Posts

Joined
Tue Aug 25, 2015 4:09 pm

Post by IP_CAM » Wed Sep 09, 2015 6:38 am

/httpd.www/system/database/mysql.php on line 6

in BOTH of your config.php files, change:
// DB
define('DB_DRIVER', 'mysql');
to:
// DB
define('DB_DRIVER', 'mysqli');
and that should do it.
Ernie
bigmax.ch/shop/

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 4 guests