mysql_connect() Deprecated fix

problem

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead

cause:

solution

MySQLiz – MySQLi support

http://www.opencart.com/index.php?route=extension/extension/info&extension_id=13041

1. Extract everything from archive. You will see “upload” directory.
2. Copy all from “upload” directory to your Opencart directory (via FTP or SFTP).
3. In the config.php and admin/config.php replace “define(‘DB_DRIVER’, ‘mysql’);” on “define(‘DB_DRIVER’, ‘mysqliz’);”

Advertisements

Leave a Reply :)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s