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

Support AbanteCart eCommerce

Author Topic: Unable to identify file path to template form/form_csrf.tpl  (Read 45 times)

Offline liberaxpress

  • Newbie
  • *
  • Posts: 4
  • Karma: +2/-0
    • View Profile
Unable to identify file path to template form/form_csrf.tpl
« on: January 10, 2019, 03:44:54 AM »
Hi,
I keep getting errors in my log and always Unable to identify file path to template form/form_csrf.tpl

I recently tried to add store credits to a clients account and it failed with error: App Error Unknown error so I checked the logs and this is what was showing:

App Error: AbanteCart core v.1.2.13 Error: Unable to identify file path to template form/form_csrf.tpl! Check blocks in the layout or enable debug mode to get more details. 10002
Trace:
#0 /home/xxxxxxxx/public_html/shop/core/engine/view.php on line 317
#1 /home/xxxxxxxx/public_html/shop/core/engine/html.php on line 1842
#2 /home/xxxxxxxx/public_html/shop/core/engine/html.php on line 985
#3 /home/xxxxxxxx/public_html/shop/admin/view/default/template/responses/sale/customer_transaction_form.tpl on line 7
#4 /home/xxxxxxxx/public_html/shop/core/engine/view.php on line 639

I checked to see if form/form_csfr.tpl was present and it is, I even copied & replaced the file from GTI HUB but still the problem is there each time.

I have spent a couple hours checking through the forum but have run out of options to try now, so can anyone please advise what I can try

Regards

Libera

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3862
  • Karma: +193/-0
    • View Profile
Re: Unable to identify file path to template form/form_csrf.tpl
« Reply #1 on: January 10, 2019, 05:04:30 AM »
Check also that file permissions
“Chuck Norris is so amazing.”
― Mother Teresa

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1753
  • Karma: +242/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Unable to identify file path to template form/form_csrf.tpl
« Reply #2 on: January 10, 2019, 05:11:27 AM »
you should to check this tpl on both templates, i mean storefront and admin.
Looks like on admin side missing
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline liberaxpress

  • Newbie
  • *
  • Posts: 4
  • Karma: +2/-0
    • View Profile
Re: Unable to identify file path to template form/form_csrf.tpl
« Reply #3 on: January 10, 2019, 05:58:56 AM »
Thanks for the prompt reply, which location would I find it in admin/ and would it be the same script inside the file?

Regards

Libera

Offline liberaxpress

  • Newbie
  • *
  • Posts: 4
  • Karma: +2/-0
    • View Profile
Re: Unable to identify file path to template form/form_csrf.tpl
« Reply #4 on: January 10, 2019, 06:05:52 AM »
Actually I found it and uploaded and it is now working 100%

Thanks again guys for yours replies & help

Much appreciated

Regards

Libera