FZ Posted January 2, 2022 Posted January 2, 2022 I'm trying to edit a template in one of my custom databases for the record display. I've done this numerous times in the past without issue, but now today I am getting this error when trying to save my changes. Not sure why this is. I recently migrated to a new server but I don't think this would affect it, would it? sobrenome 1
Daniel F Posted January 2, 2022 Posted January 2, 2022 Is the code valid? What happens when you try to save an empty template or a template with a simple “hello” output? If it also fails, it’s probably your new server and I would contact the host to see if they’re using any WAF( web application firewall) which could be blocking the requests. SeNioR- 1
FZ Posted January 2, 2022 Author Posted January 2, 2022 (edited) It's very weird. I can't save anything, even if I don't make a change. I don't get the cross in the tab to indicate that a change has been made. I just see the big black dot and then when clicking the save button I see that error. It doesn't seem to happen on all the templates, just some. I'm suspecting it might be because my theme is out of date but this doesn't make sense. Edited January 2, 2022 by FZ
FZ Posted January 4, 2022 Author Posted January 4, 2022 (edited) Would this have anything to do with the fact that the templates are stored in InnoDB? I am being alerted to this issue on the support page of my ACP. Some of the database tables are using MyISAM and others InnoDB, specifically the table that stores all the CMS templates. I tried changing this to MyISAM manually but it didn't help, so I suspect there may be a configuration problem on the hosts side. Can anybody confirm this might be the correct diagnosis? Edited January 4, 2022 by FZ
FZ Posted January 5, 2022 Author Posted January 5, 2022 Dear IPS support, I have paid my $135 support license fee. How long should I expect to wait before I get some actual help with this issue (which persists in spite of upgrading everything to the latest version).
Nathan Explosion Posted January 5, 2022 Posted January 5, 2022 https://invisioncommunity.com/forums/forum/497-help-support/
Dll Posted January 5, 2022 Posted January 5, 2022 Are you running cloudflare? If so, I'd recommend whitelisting your ip and seeing if that solves the problem.
FZ Posted January 5, 2022 Author Posted January 5, 2022 4 minutes ago, Dll said: Are you running cloudflare? If so, I'd recommend whitelisting your ip and seeing if that solves the problem. Nope.
David Sims Posted January 24, 2022 Posted January 24, 2022 @FZ did you ever figure this out? I'm having the same issue.
FZ Posted January 24, 2022 Author Posted January 24, 2022 It had something to do with the server settings that my host had to change. They didn't say exactly what they changed but I think if you contact your host they should be able to fix it up. IPS made mention of a WAF (web application firewall). Daniel F 1
Daniel F Posted January 24, 2022 Posted January 24, 2022 Ask your host if they’re using suhosin or any WAF ( web application firewall) . most of the time it’s either a WAF which is blocking the request because a security rule was trigger or suhosin blocking huge requests like when editing a template. sobrenome 1
Madhouseau Posted July 9, 2022 Posted July 9, 2022 On 1/24/2022 at 3:45 PM, Daniel F said: Ask your host if they’re using suhosin or any WAF ( web application firewall) . most of the time it’s either a WAF which is blocking the request because a security rule was trigger or suhosin blocking huge requests like when editing a template. I have reached out to my website hoster, they have confirmed that either of suhosin or WAF are used on my hosting service. What else could be causing the issue of not being able to save the globalTewmplate file?
Mark H Posted July 11, 2022 Posted July 11, 2022 Ask your host if "mod security" (modsec) is in use. If it is, have them check the logs to see if it intercepted/blocked some Admin Panel URL's which tried to save the Templates, then adjust the ruleset for modsec to allow the blocked URL's. Does that help? sobrenome 1
nodle Posted July 11, 2022 Posted July 11, 2022 (edited) I got a simliar message the other day, I disabled opcache and it fixed it. Seems like IPS, or at least the latest version doesn't like opcache? Might try it, I see in your screenshot you have it enabled. Edited July 11, 2022 by nodle
Recommended Posts