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

    (@nintechnet)

    Hi

    It looks like you are having issue with file/folder permissions or ownership. Some files were deleted when you tried to uninstall it, other weren’t. You will need to check your hosting setup as NinjaFirewall does not handle this.

    To fully uninstall it, you will need to connect to your server with your FTP client:
    1. Ensure that NinjaFirewall’s instructions that were added during the installation to your PHP INI or .htaccess file were deleted. Look for such lines:
    -inside PHP INI:

    ; BEGIN NinjaFirewall
    auto_prepend_file = /......./firewall.php
    ; END NinjaFirewall

    -inside htaccess:

    # BEGIN NinjaFirewall
    php_value auto_prepend_file /......./firewall.php
    # END NinjaFirewall

    If you see them, delete them and re-upload the file.

    2. Delete the “wp-content/plugins/ninjafirewall” folder and all its content.

    Note that the order is important. Don’t delete the folder as long as you aren’t sure that the firewall instructions were removed from the PHP INI and/or .htaccess.

    Thread Starter kcgleaton

    (@kcgleaton)

    I now get this error when trying to access the site:
    ——
    Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

    Fatal error: Unknown: Failed opening required ‘/home/affinityusa1/public_html/wp-content/plugins/ninjafirewall/lib/firewall.php’ (include_path=’.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php’) in Unknown on line 0
    ———

    I went in using ftp but there is no plugin folder for ninjafirewall; it seems that when I attempted to delete the plugin, the folder was deleted.

    I then checked htaccess and this is all that is in the htaccess file:
    ——–
    # BEGIN PopUpBypass
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^5516297b03a24/(.*)$ /wp-content/plugins/popup-domination/$1 [NC,L]
    </IfModule>
    # END PopUpBypass

    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    ———-

    As far as php ini, this was all that was in there:
    ———-
    upload_max_filesize = 64M
    post_max_size = 64M
    ———

    Is there something that I should remove from either of these files in order for this to work properly?

    Is there something else I need to do?

    Thank you and please let me know…

    Plugin Author nintechnet

    (@nintechnet)

    It seems your PHP interpreter did not reload the PHP INI file and you may have to wait a few minutes or to restart PHP.
    See “Blank page after UNINSTALLING NinjaFirewall” from the Troubleshooting doc page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Trouble deleting and/or reactivating the plugin… HELP!’ is closed to new replies.