Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Create Account - Unknown error encountered. Please try again!  (Read 3548 times)

Offline alfake

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile
Just update my website to 1.2.12, now when creating an account or guest checkout we get "Unknown error encountered. Please try again!". I've verified that the form_crsf.tpl and csrf_token.php are correct.  I have also downloaded the whole AbanteCart Cart package and uploaded it to the website to make sure all the files are current.


Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5812
  • Karma: +274/-2
    • View Profile
Re: Create Account - Unknown error encountered. Please try again!
« Reply #1 on: March 05, 2018, 12:33:00 AM »
Hello.

Make sure these files permissions are readable for public

Offline alfake

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile
Re: Create Account - Unknown error encountered. Please try again!
« Reply #2 on: March 05, 2018, 01:42:54 PM »
All permissions on the files and folders are set correctly.

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Create Account - Unknown error encountered. Please try again!
« Reply #3 on: March 06, 2018, 07:14:42 AM »
It does look like a csrf token issue.

Check that your form (in the browser) has a csrf token field and it has a value. If you post a URL to your site, I can check
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Create Account - Unknown error encountered. Please try again!
« Reply #4 on: March 06, 2018, 07:21:14 AM »
I found your URL and csrf field indeed is missing.

Did you upgrade all the files? If you use custom template, make sure below file is present:
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default/template/form/form_csrf.tpl

Make sure this file is upgraded:
https://github.com/abantecart/abantecart-src/blob/master/public_html/core/engine/html.php
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

 

Powered by SMFPacks Social Login Mod