Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted March 20, 20231 yr 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.
March 20, 20231 yr 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?
March 21, 20231 yr 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. 🙂
March 21, 20231 yr 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?
March 21, 20231 yr Author 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.
March 21, 20231 yr Author 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. :)
August 18, 2024Aug 18 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?
August 18, 2024Aug 18 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.
August 18, 2024Aug 18 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!