Did you check the firewall’s log (“NinjaFirewall > Logs”)?
Is there any error returned by the theme editor?
I don’t know how to do it, do you have a tutorial ???
Go to the theme editor and, when you are blocked, click on the “NinjaFirewall > Logs” menu and check the last 2 or 3 lines in the log. Paste them here so we’ll see the reason why the firewall blocked you.
https://prnt.sc/10l8zfd
https://prnt.sc/10l8zou
https://prnt.sc/10l90cd
There it is but nothing related comes out but when I deactivate the ninja is when it goes I do not understand ???
Go to the “Firewall Policies” page and, in the “Basic Policies” tab, scroll down to the last few options and look at the “Disable the plugin and theme editor” policy. Make sure it is turned off, otherwise it will block you when you want to edit a theme or plugin.
i tried putting this in wp config but i dont know where it goes doesnt it work ??
https://prnt.sc/10m32dt
If you add this line to your wp-config.php, you will not be able to use the theme and plugin editor.
Well, I have it removed and it doesn’t work either
How about this option, is it enabled or disabled: “Firewall Policies > Basic Policies > Disable plugin and theme update/installation DISALLOW_FILE_MODS” ?
https://prnt.sc/10nfp83
I have disabled these but it works already in customize but in the editor it does not work
You must disable the “DISALLOW_FILE_MODS” option, then try to reload the page. If you turn it on, the editor will be blocked.
You must have “DISALLOW_FILE_EDIT” enabled somewhere. You can see in your screenshot, the button is disabled/greyed out. NinjaFirewall disable the button when it detects that “DISALLOW_FILE_EDIT” has already be enabled somewhere.
Check in your wp-config.php?
https://prnt.sc/10ozg54
-
This reply was modified 5 years, 1 month ago by
nintechnet.