kstan Posted January 22 Share Posted January 22 When I click the "Edit HTML and CSS" button for a theme (any theme) I get an "Internal server error". I have tried to look for information in the error log for the server, but I can't find anything. I also tried to downgrade to PHP 8 from PHP 8.1, but that makes the whole site fail. I also tried to disable plugins to no avail. I have no idea what to do next. Link to comment Share on other sites More sharing options...
Nathan Explosion Posted January 22 Share Posted January 22 Check if you have mod_security enabled, and disable it if so. kstan 1 Link to comment Share on other sites More sharing options...
kstan Posted January 22 Author Share Posted January 22 Would that be in the conf_global file? Is so, I do not. Link to comment Share on other sites More sharing options...
Daniel F Posted January 22 Share Posted January 22 6 minutes ago, kstan said: Would that be in the conf_global file? Is so, I do not. No, that's something what you'll have to ask your web hosting provider. Link to comment Share on other sites More sharing options...
Solution kstan Posted January 22 Author Solution Share Posted January 22 9 minutes ago, Daniel F said: No, that's something what you'll have to ask your web hosting provider. I see... Well, I am my own hosting provider (although I don't really know what I'm doing), and I did in fact have ModSecurity installed. It seemed like a difficult and risky task to just turn it off altogether, so instead I experimented with turning certain features off, and lo and behold, turning off "Backend Compression" did the trick! Thank you for saving me! Link to comment Share on other sites More sharing options...
Gary Posted January 22 Share Posted January 22 Hi @kstan, Thanks for letting us know the solution, I’m sure it will help others that encounter a similar issue. All the best with your community! kstan 1 Link to comment Share on other sites More sharing options...
Recommended Posts