Error after Deprecated: mysql_connect(): The mysql exte
Posted: 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
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