Odd new errors
I have built a website using ecart 5.01 about 6 months ago, and it has been working fine without errors.
Now all of a sudden I'm getting errors on every page, the main page i'm having problems with is the product view page where the add to cart, view cart, clear cart, and checkout buttons all are no longer working..
Nothing has changed since the working version, i have tried restoring backups.
I've asked my host if anything has been changed or updated PHP wise on their servers and they assure me that nothing has changed.
The main problems i'm getting the error is pointing towards WA_eCart/ShoppingCart_PHP.php on line 146
which is this function, line 146 being the last line (set cookie)
function SetCookieInfo($theCookieString) {
$numDays = 14;
$theDomain = "";
$thePath = "";
$cookSec = false;
if ($numDays == "") $numDays="0";
$theDate = strtotime("+".$numDays." Days");
setcookie($this->CartName."_Items", $theCookieString, $theDate, $thePath, $theDomain, $cookSec);
}
Does this mean anything to you guys? I have tried rebuilding the product view page with version 5.03 of ecart, and its still having the same errors.