Jump to content

"This theme file could not be saved"


Go to solution Solved by Randy Calvert,

Recommended Posts

Posted

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.

 

Posted

If this is self-hosted, can you check and verify the file permissions are correct and that PHP/IPS has full read/write permissions to the datastore/ directory where IPS is installed?

  • Solution
Posted

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.  🙂 

Posted

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?

Posted
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.

Posted

Just tried a different browser and it seemed to work and the problem has gone away on the original browser.

Not sure what happened there, but it seems to be OK now.

 

Thanks for the help you guys! You rock. :) 

  • 1 year later...
Posted

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?

Posted
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.

Posted
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!

  • Recently Browsing   0 members

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