A while ago I introduced a way on getting the cron "wget" to work with Zencart which involved deleting the entry of "wget" from spiders.txt inside the /zencart/includes directory.
After doing some testing on my (semi-)live server, I HIGHLY suggest the following change:
Open /zencart/checkout_by_amazon.php and look for:
PHP Code:
require('includes/application_top.php');
IMMEDIATELY BEFORE THIS LINE, on the prior line, add the following:
PHP Code:
define('SESSION_BLOCK_SPIDERS','False');
So your checkout_by_amazon.php should look like this:
PHP Code:
define('SESSION_BLOCK_SPIDERS','False');
require('includes/application_top.php');
Once this is done, go back and edit back in the word "wget" on a line by itself on spiders.txt. This way you don't open your ENTIRE site up to remote wget attacks.
Bookmarks