Morgin Posted January 7, 2018 Posted January 7, 2018 Trying to make an edit to GlobalTemplate in the theme editor and get the following error: "This theme file could not be saved". Assuming a permission issues / chmod issue, but not sure where it's looking that it doesn't have permission. Ran support tool and nothing showing up there. Ideas?
Adlago Posted January 7, 2018 Posted January 7, 2018 Use a Designers' Mode to edit templates that have this issue
Morgin Posted January 7, 2018 Author Posted January 7, 2018 4 minutes ago, Adlago said: Use a Designers' Mode to edit templates that have this issue This is supposedly the default IPS Theme. Still do this? If I run support tool and have it recreate the default theme (it does it because I have stuff in custom.css) it still has the issue on a totally unmodified theme (and to clarify, my only edit was to put a few things in custom.css which I understood was the upgrade proof way to do things - i've never previously edited any template files).
Adlago Posted January 7, 2018 Posted January 7, 2018 I did not encounter such a issue when editing in the Custom CSS. I only met this message when editing some templates. Try clearing your browser cache and then go back to the admin panel.
Morgin Posted January 7, 2018 Author Posted January 7, 2018 2 minutes ago, Adlago said: I did not encounter such a issue when editing in the Custom CSS. I only met this message when editing some templates. Try clearing your browser cache and then go back to the admin panel. Oh I should clarify, I think my issue is the same as yours was. I can edit css fine (which is how I even have a custom.css). I just wanted to avert anyone thinking I was working off a custom theme - it's the default IPS Theme with one edit, which is a few non material things added to custom.css. This is the first time I've ever tried to edit a template, and it gave me the theme file could not be saved error. Thanks for the designers mode suggestion. That worked, although I'm confused why I can't use the manual editor in the ACP. Tried cache clear and all on my own computer and through ACP - nadda.
Adlago Posted January 7, 2018 Posted January 7, 2018 Some time ago I had such a topic here for edit some templates for which I received the same issue. I checked many things in my installation - no success. Finally, I decided to use a Designers' Mode and this solved the problem.
Morgin Posted January 7, 2018 Author Posted January 7, 2018 Just now, Adlago said: Some time ago I had such a topic here for edit some templates for which I received the same issue. I checked many things in my installation - no success. Finally, I decided to use a Designers' Mode and this solved the problem. Out of curiosity, do you have mod_security running with apache, or use cloudfront with its security enabled? I'm wondering if there is something blocking the edits there.
Adlago Posted January 7, 2018 Posted January 7, 2018 mod_security is causing me problems, and it's off to me
Morgin Posted January 7, 2018 Author Posted January 7, 2018 Thanks @Adlago. I have a support ticket in, so hopefully we can get to the bottom of this!
.Ian Posted October 7, 2018 Posted October 7, 2018 Did you get to the cause? I am also getting this issue in the default theme within the globaltemplate. On 1/7/2018 at 11:20 PM, Morgin said: Thanks @Adlago. I have a support ticket in, so hopefully we can get to the bottom of this!
Morgin Posted October 7, 2018 Author Posted October 7, 2018 Either cloudflare or mod_security is your likely culprit.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.