kstan Posted January 22, 2023 Posted January 22, 2023 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.
Nathan Explosion Posted January 22, 2023 Posted January 22, 2023 Check if you have mod_security enabled, and disable it if so. kstan 1
kstan Posted January 22, 2023 Author Posted January 22, 2023 Would that be in the conf_global file? Is so, I do not.
Daniel F Posted January 22, 2023 Posted January 22, 2023 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.
Solution kstan Posted January 22, 2023 Author Solution Posted January 22, 2023 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!
Gary Posted January 22, 2023 Posted January 22, 2023 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
Recommended Posts