Running OC 1.5.3.1/
Tried upgrading dedicated server to easyapache4 and php5.4.
Got the error below:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/XXXXX/public_html/system/database/mysql.php on line 6
Tried theres to fixes:
https://www.opencart.com/index.php?rout ... _license=0
Also this:
https://www.opencart.com/index.php?rout ... _license=0
Fixes clear the error, but I'm no longer able to access admin panel.
Any ideas anyone? Or is it time to upgrade? Could do without the hassle of upgrading as have a custom theme and an number of changes.
One more would exist, to try, but you have to make sure, to have Mysqli
configured in both config.php files.
And if you plan to update, better only up to the latest 1.5 Version, or you
will loose every Mod, and have to get the DB reworked, to still function.
Check my Github Repository for the latest OC v.1.5.6.5_rc Version.
Ernie
https://www.opencart.com/index.php?rout ... n_id=24413
configured in both config.php files.
And if you plan to update, better only up to the latest 1.5 Version, or you
will loose every Mod, and have to get the DB reworked, to still function.
Check my Github Repository for the latest OC v.1.5.6.5_rc Version.
Ernie
Code: Select all
// DB
define('DB_DRIVER', 'mysqli');
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.
Who is online
Users browsing this forum: No registered users and 56 guests