Update - I've uninstalled the stock by attributes module and the "Whoops etc." has disappeared
Update - I've uninstalled the stock by attributes module and the "Whoops etc." has disappeared
Wow, Trees2Wood, that's really a patient process you went through to narrow down the problem. Thank you for that!!
Do you suppose this is a bug since it's happening a lot? When I did a search for "Time Out" I saw notes about this in the forums quite often in the past few months , all of it related to checkout issues.
It started happening on my site out of the blue. I even wonder if I got hacked but I can't find any real reason to think so.
Hi Im sure this issue has been solved, but for others still with the same problem I can offer some advise that stumped me for a while.
For me, when my user left the checkout to go t the 3-rd party website to make payment, often upon returning to my site I would get the "whoops" timeout error. now the user had paid successfully but the order was never recorded in ZC and therefore difficult to track the order.
I tracked it down to work correctly in firefox, but not in IE.
The issue was having or not having the "www" in the site name, by default any visitor to my site would get the www stripped, no issue with that. But I have set my payment module with the return URl of www.mysite which I believe caused issues because the sessions are tracked by cookies, it appeared the issue was, the cookie was being blocked by being read from the www.mysite since it was originally set without the www.
obvisouly the cookie security is set per browser, and FF and IE handle this differently.
If you need to, you can add code into your htaccess file to always add or always remove the www to ensure this issue won't come up.
Hope this can help someone.
Flamer.
Hi, I know this thread is a little dated but I recently installed Stock by Attributes v1.4.14 on a Zencart v1.3.8a and this issue came up. I tried the suggested methods but they didn't work on my project, so I tried my best to find another solution and so far this has worked:
/** NOTE: MAKE A BACKUP OF THE FILES YOU EDIT! **/
1. navigate and open file: /includes/classes/shopping_cart.php
2. backup this file
3. lookup function restore_contents(), at the end of this method add these:
right before:PHP Code:// this is an experimental fix for stock by attributes issue:
// (1) time out issue after adding items then logging in
if (is_array($this->contents) && count($this->contents) > 0) {
// assign a temporary unique ID to the order contents to prevent hack attempts during the checkout procedure
$this->cartID = $this->generate_cart_id();
}
I hope this helps somebody.PHP Code:$this->notify('NOTIFIER_CART_RESTORE_CONTENTS_END');
$this->cleanup();
Signe