Post by world-of-satellite » Sat Feb 02, 2019 10:11 pm

Running OC

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: ... _license=0

Also this: ... _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.

Active Member


Sun Jun 27, 2010 1:40 pm

Post by IP_CAM » Sun Feb 03, 2019 8:35 am

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. Version.

Code: Select all

// DB
define('DB_DRIVER', 'mysqli'); ... n_id=24413

For Sale: Turnkey Top URLs with Opencart installed!
Latest Opencart LIGHT + V-Pro Test Site:
For more Information, please contact me at:
Free OC Extensions from the largest Github OC Archive on Earth,
635 + free Repositories - from OC v.1.5.x up
on my Github Opencart Site:

User avatar
Legendary Member


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

Users browsing this forum: No registered users and 59 guests