Post by tuanbusku » Sat May 19, 2018 5:16 pm

I am facing this everytime i use admin panel...
Code: Select all

Notice: Error: MySQL server has gone away
Error No: 2006
UPDATE oc_currency SET value = '1.00000', date_modified = '2014-02-26 07:44:08' WHERE code = 'INR' in public_html/---path-------/mysql.php on line 50
i edited my currencies and made my own and set its value 1.00000 as suggested by opencart to make it default and deleted the other currencies...

Could you please help me possible cause of this error..??



Wed May 16, 2018 1:02 am

Post by IP_CAM » Sat May 19, 2018 10:50 pm

cannot longer be used on most servers, you have to rewrite your BOTH
config.php files, to now use mysqli.php ! And depending on your
1.5 Version, you need to download a mysqli.php file from the OC extension
section, if you have no such file in your system/database/... directory

Code: Select all

// DB
define('DB_DRIVER', 'mysqli');

Ernie's OpenCart v. LIGHT + V-Pro + OpenShop Admin v.1.75 Test Sites - -

User avatar
Guru Member


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

Users browsing this forum: No registered users and 21 guests