Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
TDS Posted March 20, 2023 Posted March 20, 2023 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.
Makoto Posted March 20, 2023 Posted March 20, 2023 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 Randy Calvert Posted March 21, 2023 Solution Posted March 21, 2023 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. 🙂
Marc Posted March 21, 2023 Posted March 21, 2023 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?
TDS Posted March 21, 2023 Author Posted March 21, 2023 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.
TDS Posted March 21, 2023 Author Posted March 21, 2023 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. :) Randy Calvert 1
simonle Posted August 18 Posted August 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?
Jim M Posted August 18 Posted August 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.
simonle Posted August 18 Posted August 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!
Recommended Posts