Author Topic: Trouble updating email template after updating to 1.3.0  (Read 325 times)

Offline Dave

  • Newbie
  • *
  • Posts: 4
  • Karma: +1/-0
    • View Profile
Trouble updating email template after updating to 1.3.0
« on: April 21, 2021, 08:00:18 PM »
I tried changing the storefront_order_confirm subject header to just plain text after updating our store to 1.3.0 and it comes back with:
Quote
Forbidden
You don't have permission to access this resource.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Looks to be a problem changing all templates.
Additionally, clicking on the HTML preview button gives a blank page with the same error.
This worked fine in the previous version.
To get around the problem, I edited the template in the database but I would like to do it from the admin interface. Any ideas?
« Last Edit: April 21, 2021, 08:14:38 PM by Dave »

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1926
  • Karma: +293/-12
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Trouble updating email template after updating to 1.3.0
« Reply #1 on: April 22, 2021, 03:03:38 AM »
Hi.
Your issue looks like a misconfiguretion of your web-server.
Abantecart have only one place where we use 403 https status code and it's not related to email templates management.

I guess you should to digg into apache webserver log to find a cause

or ask your hosting provider about that..

IMHO it's a file permission issue. Probably you should to check is webserver system user have access to all php files.
Also check permission of .htaccess file(s)
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline Dave

  • Newbie
  • *
  • Posts: 4
  • Karma: +1/-0
    • View Profile
Re: Trouble updating email template after updating to 1.3.0
« Reply #2 on: April 27, 2021, 09:14:45 PM »
Thank you Abolabo!
Update: I tried reinstalling Abantecart and I get the same error on a fresh install so I think you are right, there is a web configuration error.

Offline Dave

  • Newbie
  • *
  • Posts: 4
  • Karma: +1/-0
    • View Profile
Re: Trouble updating email template after updating to 1.3.0
« Reply #3 on: May 02, 2021, 06:29:22 PM »
Update 2:
Apparently it was an issue with the ModSecurity module. After a bunch of trying to whitelist things, they just turned ModSecurity off. Not sure how I feel about that. Does it weaken my site?
Anyway, it is working now. Thanks for Abantecart!

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4899
  • Karma: +255/-2
    • View Profile
Re: Trouble updating email template after updating to 1.3.0
« Reply #4 on: May 04, 2021, 03:07:37 AM »
Thank you, Dave
ModSecurity is known to many false blocking.

 

Powered by SMFPacks Social Login Mod