AbanteCart Community

Shopping Cart Operations => Support => Topic started by: crispy68 on July 29, 2015, 09:17:52 PM

Title: problems updating to 1.2.3
Post by: crispy68 on July 29, 2015, 09:17:52 PM
Hello,

I recently seen the update available for 1.2.3 (I have 1.2.2) and followed the steps. It downloads the package but when I hit 'agree', I get sent to a page saying there were errors and to check the log. I went in and checked the log but have no idea what any of it means or where to begin to fix it. I've had no other issues with the store up to this point. Here is a snapshot of the log:

2015-07-29 19:00:48 - warning: AbanteCart core v.1.2.2 Illegal string offset 'version' in <b>/home3/camconfe/public_html/shop/admin/controller/pages/tool/updater.php</b> on line <b>80</b>
2015-07-29 19:00:48 - warning: AbanteCart core v.1.2.2 Illegal string offset 'url' in <b>/home3/camconfe/public_html/shop/admin/controller/pages/tool/updater.php</b> on line <b>91</b>
2015-07-29 19:00:48 - warning: AbanteCart core v.1.2.2 Illegal string offset 'installation_key' in <b>/home3/camconfe/public_html/shop/admin/controller/pages/tool/updater.php</b> on line <b>92</b>
2015-07-29 19:00:48 - warning: AbanteCart core v.1.2.2 Illegal string offset 'installation_key' in <b>/home3/camconfe/public_html/shop/admin/controller/pages/tool/updater.php</b> on line <b>93</b>
2015-07-29 19:01:37 - warning: AbanteCart core v.1.2.2 mysql_query(): 82 is not a valid MySQL-Link resource in <b>/home3/camconfe/public_html/shop/core/database/mysql.php</b> on line <b>74</b>
2015-07-29 19:01:37 - warning: AbanteCart core v.1.2.2 mysql_error(): 82 is not a valid MySQL-Link resource in <b>/home3/camconfe/public_html/shop/core/database/mysql.php</b> on line <b>114</b>
2015-07-29 19:01:37 - warning: AbanteCart core v.1.2.2 mysql_errno(): 82 is not a valid MySQL-Link resource in <b>/home3/camconfe/public_html/shop/core/database/mysql.php</b> on line <b>114</b>
2015-07-29 19:01:37 - database error: AbanteCart core v.1.2.2 Error:
Error No:
SHOW TABLES FROM `camconfe_camshop` in <b>/home3/camconfe/public_html/shop/core/database/mysql.php</b> on line <b>114</b>

Any suggestions would be helpful.
Title: Re: problems updating to 1.2.3
Post by: abolabo on July 30, 2015, 05:17:22 AM
open your system/config.php file and replace
Code: [Select]
define('DB_DRIVER', 'mysql');to
Code: [Select]
define('DB_DRIVER', 'amysqli');and try again
Title: Re: problems updating to 1.2.3
Post by: crispy68 on July 30, 2015, 06:06:31 PM
Genius Abolabo!   Thanks! that did the trick!