Unknown error received first time register account as new customer

Started by chaoticKym, May 16, 2017, 07:57:08 PM

Previous topic - Next topic

chaoticKym

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?


Basara

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  :)

chaoticKym

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!

abolabo

"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

chaoticKym

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!  :)

Forum Rules Code of conduct
AbanteCart.com 2010 -