When I'm testing my website and I click the "continue" button to register account as a new customer, the very first time I get the following error message: Unknown error occurred. Please try again.
If I try again then it works fine; however, I don't want my customers to experience this issue.
Anyone else run into this?
Hi.
Can you replicate it in few browsers or you see it only once? If you provide an url we will check your site from our end too :)
I apologize for the delay in responding! I didn't realize anyone had replied to my original post.
Yes, I can replicate it in both Chrome, Firefox, and Safari. It only happens the very first time when clicking the 'Continue' button; after that I'm able to register without any errors.
The URL is: chaotickym.com/store/index.php?rt=account/login
Thank you so much for your time and help!
please check this commit to solve
https://github.com/abantecart/abantecart-src/commit/84b8cbd18c3c5c2440896f2eaa360a84671bc659
Note: it happens only when your first visited page of your abantecart is login page
Thank you! Updating that line of code seemed to take care of the error.
On a side note, and not that it really matters but in case it's helpful, the line of code I replaced was slightly different than one showed as being replaced on the github page. Here's what was in my cfg file:
if(!empty($token) && !empty($instance) && $this->session->data['csrftoken'][$instance] === $token){
I'm using v1.2.10
Thank you again to both you and Basara for your time and help! :)