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.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, 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

My Github OC Site: https://github.com/IP-CAM
5'200 + 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 37 guests