• Resolved Ocio132

    (@ocio132)


    hello good every time I want to edit my website with the theme editor itself, I have to deactivate the ninja firewall plugin. I don’t know why?

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author nintechnet

    (@nintechnet)

    Did you check the firewall’s log (“NinjaFirewall > Logs”)?
    Is there any error returned by the theme editor?

    Thread Starter Ocio132

    (@ocio132)

    I don’t know how to do it, do you have a tutorial ???

    Plugin Author nintechnet

    (@nintechnet)

    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.

    Thread Starter Ocio132

    (@ocio132)

    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 ???

    Plugin Author nintechnet

    (@nintechnet)

    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.

    Thread Starter Ocio132

    (@ocio132)

    Thread Starter Ocio132

    (@ocio132)

    i tried putting this in wp config but i dont know where it goes doesnt it work ??
    https://prnt.sc/10m32dt

    Plugin Author nintechnet

    (@nintechnet)

    If you add this line to your wp-config.php, you will not be able to use the theme and plugin editor.

    Thread Starter Ocio132

    (@ocio132)

    Well, I have it removed and it doesn’t work either

    Plugin Author nintechnet

    (@nintechnet)

    How about this option, is it enabled or disabled: “Firewall Policies > Basic Policies > Disable plugin and theme update/installation DISALLOW_FILE_MODS” ?

    Thread Starter Ocio132

    (@ocio132)

    https://prnt.sc/10nfp83
    I have disabled these but it works already in customize but in the editor it does not work

    Plugin Author nintechnet

    (@nintechnet)

    You must disable the “DISALLOW_FILE_MODS” option, then try to reload the page. If you turn it on, the editor will be blocked.

    Thread Starter Ocio132

    (@ocio132)

    Plugin Author nintechnet

    (@nintechnet)

    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 4 years ago by nintechnet.
    Thread Starter Ocio132

    (@ocio132)

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘editor’ is closed to new replies.