Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Migration tool not working : MYSQL class not found

Started by pvandebe, October 06, 2014, 03:52:19 AM

Previous topic - Next topic

pvandebe

Hi,

Hope someone can help me. I'm getting this message when having filled in all required fields :

Fatal error: Class 'Mysql' not found in .../admin/controller/pages/tool/migration.php on line 387

mysql.php file exists in core/database

migration.php does not contain any include or require so how do I have to add it (I'm coming from oscommerce 2.2 RC)

Thanks !

abantecart

Open these file for edit.

Locate line 387


try {
$connection = new Mysql($this->request->post['db_host'], $this->request->post['db_user'], $this->request->post['db_password'], $this->request->post['db_name'], true);
} catch (AException $e) {



Add below line after try {
require_once DIR_DATABASE . 'mysql.php';

pvandebe


abantecart

This issue was already addressed in upcoming version.

Forum Rules Code of conduct
AbanteCart.com 2010 -