Quote:
Originally Posted by yoyoyoyo
I appreciate you sharing this with everyone- I have been looking for something like this for awhile. I added the cron job as indicated in the "fix list two" however when I went to run it to test it out I got this error:
|
The cron jobs is missing a '.
Code:
$DB_site->query("UPDATE ph_order SET `active`='0' WHERE `active`='1' AND `length` > '0' AND `start`+`length`*86400 < ".$today."'");
should be
Code:
$DB_site->query("UPDATE ph_order SET `active`='0' WHERE `active`='1' AND `length` > '0' AND `start`+`length`*86400 < '".$today."'");