• Resolved honeybee365

    (@honeybee365)


    Hi, I install NFW on my WP website, but whilst configuring the settings I was kicked out my WP website and I now cannot get in.

    Therefore I tried to uninstall NFW through the FTP site and deleted the NFW installation folder as suggested in your FAQ, but now I am getting the error message “The website has a programming error” when I try to log in to my WP website.

    How can I fix this?

    Many thanks.

    https://wordpress.org/plugins/ninjafirewall/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter honeybee365

    (@honeybee365)

    In addition when I go to my site as a visitor, I get the following error message:

    Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

    Fatal error: Unknown: Failed opening required ‘/home2/myusername/public_html/wp-content/plugins/ninjafirewall/lib/firewall.php’ (include_path=’.:/usr/php/54/usr/share/pear:/usr/php/54/usr/share/php’) in Unknown on line 0

    Many thanks.

    Plugin Author nintechnet

    (@nintechnet)

    Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

    Fatal error: Unknown: Failed opening required ‘/home2/myusername/public_html/wp-content/plugins/ninjafirewall/lib/firewall.php’ (include_path=’.:/usr/php/54/usr/share/pear:/usr/php/54/usr/share/php’) in Unknown on line 0

    This is the same error as the one described in the “Blank page after UNINSTALLING NinjaFirewall” section from this article: http://nintechnet.com/ninjafirewall/wp-edition/help/?troubleshooting
    That means you probably still have NinjaFirewall’s instructions in your PHP INI or .htaccess.

    Thread Starter honeybee365

    (@honeybee365)

    HI I have tried this again and it looks like NFW is not in my PHP INI or .htaccess files.

    However, now when logging in to my WordPress website, I’m getting error messages regarding the public_html/wp-login.php file. I have amended the file as instructed by the warning messages for 2 hours now and its still not working. Is there anywhere I can get fresh code to put in this file as this is becoming really tedious.

    Many thanks.

    Plugin Author nintechnet

    (@nintechnet)

    Hi

    If there is no NinjaFirewall directives in your .htaccess ou PHP INI, then it means that your PHP interpreter needs some times (usually a few minutes) before it reloads the INI file and takes the new changes into consideration. There is nothing to do here but to wait a few minutes until it goes away.

    Regarding the wp-login.php file, which error message do you see?

    Thread Starter honeybee365

    (@honeybee365)

    Hi there, many thanks for your response.

    I re-pasted old code for the wp-login.php file and I am getting the WP login page. However, I am getting error messages like the one below:

    Warning: Cannot modify header information – headers already sent by (output started at /home2/[myusername]/public_html/wp-login.php:2) in /home2/[myusername]/public_html/wp-login.php on line 388

    When I try to log in to WP, it says:

    ERROR: Cookies are blocked due to unexpected output. For help, please see this documentation or try the support forums.

    I disable cookies on my browser but I still get the above warning message.

    Do you know what this means?

    Many thanks for your help with this!

    Plugin Author nintechnet

    (@nintechnet)

    Hi,

    You have a script which output a message or error and, when the wp-login.php script wanted to send the HTTP headers (line 388) it couldn’t because they were already sent with that message or error.
    You need to find out what is sent before wp-login.php, line 388.
    You may see that in your HTTP or PHP logs.

    I re-pasted old code for the wp-login.php file

    I don’t understand what you did, but if you made changes to that file, that could be the reason why you get such an error.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Uninstall – The website has a programming error’ is closed to new replies.