Jump to content

"This theme file could not be saved"


TDS
Go to solution Solved by Randy Calvert,

Recommended Posts

Hello. I haven't changed anything in the admin area other than editing theme files nightly to rotate advertisements and I have not applied the latest update, so I don't know why it's doing this.

So out of the blue when I go to edit a theme it comes back with an error, "This theme file could not be saved".

So I tried making a new theme with no parent and it also throws an error when trying to edit.

 

Link to comment
Share on other sites

  • Solution

I just tested creating a new theme and editing one of my existing themes and did not have an issue on my cloud hosted site.  Have you tried doing this with a different browser?  I'm wondering if something in your local cache or if a browser plugin is messing things up for you.  

If it's still happening, a member of the staff will have to look for you.  🙂 

Link to comment
Share on other sites

5 hours ago, Marc Stridgen said:

The most likely cause is an issue with what you are actually changing. If you do something very small, such as just add a <p>test</p> does that save?

 

I tried that right away and nothing will save, not even the slightest edit to a virgin theme.

Link to comment
Share on other sites

  • 1 year later...

I'm having this very same problem. I've tried to clear my cache, I've tried different browsers, but I still get this error message when I try to edit a template file. It doesn't matter if it's my own custom theme or the default theme.

Any ideas how I can fix this?

Link to comment
Share on other sites

31 minutes ago, simonle said:

I'm having this very same problem. I've tried to clear my cache, I've tried different browsers, but I still get this error message when I try to edit a template file. It doesn't matter if it's my own custom theme or the default theme.

Any ideas how I can fix this?

You'll want to ensure all permissions on the server are correct and that mod_security on your server is not blocking the request.

Link to comment
Share on other sites

1 hour ago, Jim M said:

You'll want to ensure all permissions on the server are correct and that mod_security on your server is not blocking the request.

I thought that setting was disabled, but somehow the server had reverted while I was trying to edit my theme files. Thanks!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...