Post by purna » Mon Oct 31, 2016 12:48 pm

Sir

In opencart, we had faced one error which was

/////

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/oriyabooks/public_html/system/database/mysql.php on line 6
//////

and we have tried the following

///////////
Download the file from the following link:

https://raw.githubusercontent.com/openc ... mysqli.php

Then UPLOAD the file into the following directory:

/public_html/system/database

Then MODIFY the config.php file at the following directory:

First directory: /public_html
Second directory: /public_html/admin

In both directories look for the following:

define('DB_DRIVER', 'mysqli');

Chang only the underline mysqli to become mmysqli

the final looks will be as following:

define('DB_DRIVER', 'mmysqli');

Save the changes in both directories.
////////////

after doing this, we are facing now the following problem

////

Class 'DBmmysqli' not found in /home/onlinedrughouse/public_html/vqmod/vqcache/vq2-system_library_db.php on line 13
//////

can anybody hep me out in rectifying this problem as currently my portal is nor coming

Can check- http://www.onlinedrughouse.com
Regards
Purna

Newbie

Posts

Joined
Mon Oct 31, 2016 12:34 pm

Post by paulfeakins » Mon Oct 31, 2016 7:32 pm

You should make sure your web host supports MySQLi.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Active Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by IP_CAM » Mon Oct 31, 2016 8:14 pm

and make sure, to read this as well, and mysqli is not the same as mmysqli
Ernie
viewtopic.php?f=20&t=169668

Ernie's OpenShop v.1.75 + OpenCart v.1.5.6.5 LIGHT Test Sites with free responsive Themes
http://www.bigmax.ch/shop/ - http://www.ebikes.li - http://www.ipc.li/shop/ - http://www.openshop.li/shop/
Image


User avatar
Guru Member

Posts

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

Users browsing this forum: No registered users and 13 guests