AABOX Max 1.5 seems to have a small bug.
This applies mainly to people NOT USING AUTHORIZE.NET, but
After installing 1.5 and playing with it for a while I noticed that somethinig was causing the server cpu to peg out at 100% for some time.
The process turned out to be curl eating up the cpu.
I tracked the problem down in checkout_process.php.
Using the default installation of 1.5 check out line 53 of checkout_process.php
Basically it's calling the authorize.net modulke regardless of whether or not it's enabled. It should read...Code://************************************************************ // Authorizenet ADC Direct Connection // Make sure the /catalog/includes/class/order.php is included // and $order object is created before this!!! if(MODULE_PAYMENT_AUTHORIZENET_STATUS) { include(DIR_WS_MODULES . 'authorizenet_direct.php'); } //************************************************************
If a site IS using authorize.net this won't cause a problem, but if it you aren't it will call curl with arguments like "MODULE_PAYMENT_AUTHORIZE_LOGIN" etc instead of the correct parameters.Code://************************************************************ // Authorizenet ADC Direct Connection // Make sure the /catalog/includes/class/order.php is included // and $order object is created before this!!! if(MODULE_PAYMENT_AUTHORIZENET_STATUS == "True") { include(DIR_WS_MODULES . 'authorizenet_direct.php'); } //************************************************************
This solved my problems, hopefully it can help others avoid this small bug.
By the way, I'd just like to say thank you to all the people who make oscommerce and aabox's version possible. Your hard work is greatly appreciated.
Enjoy,
Josh Todd
Inquis Technologies, LLC
http://www.inquistech.com





LinkBack URL
About LinkBacks










Bookmarks