AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: webdevmerc on November 11, 2015, 08:17:34 PM

Title: DEPRECATED: AbanteCart core v.1.2.3 mysql_connect(): The mysql extension error
Post by: webdevmerc on November 11, 2015, 08:17:34 PM
For some reason, I just started getting these in multiple sites...Anyone else notice this?

DEPRECATED: AbanteCart core v.1.2.3 mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in <b>/home/aplacefo/public_html/core/database/mysql.php</b> on line <b>46</b>

Running 1.2.3...Only minor changes to a few storefront view files...
Title: Re: DEPRECATED: AbanteCart core v.1.2.3 mysql_connect(): The mysql extension error
Post by: Siri M. on November 11, 2015, 08:59:44 PM
Hi
I had the problem after moving my site to new host. I fixed it by changing "define('DB_DRIVER', 'mysql');" to "define('DB_DRIVER', 'amysqli');" in config.php file.

See if that helps. It at least works with my web host setup. Might be different for yours.

Also, after that I was able to upgrade to 1.2.4 without a problem. Before that the upgrade failed.
Title: Re: DEPRECATED: AbanteCart core v.1.2.3 mysql_connect(): The mysql extension error
Post by: webdevmerc on November 11, 2015, 10:53:01 PM
Thanks!  That made the error stop, but why is it amysqli?

What's the 'a...' for?