• Resolved ccnahub

    (@ccnahub)


    Dear Developer, I couldn’t delete the plugin, I had to copy your plugin from the backup using FTP back to the website in order to work again. It locked my website with Server Error 500. The plugin is deactivated, however, when I hit delete, it does delete, but it locks my website with error 500.

    Please help me delete the plugin,

    Thank you,

    Imad Daou

    https://ww.wp.xz.cn/plugins/ninjafirewall/

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

    (@nintechnet)

    Hi,

    You may still have NinjaFirewall’s instructions in your PHP INI file or .htaccess. Open that file in you main root directory and look for such lines and delete them:

    PHP INI:

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

    .htaccess:

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

    Thread Starter ccnahub

    (@ccnahub)

    Here is a screen shot of the error.

    https://www.dropbox.com/s/u2olmy96fojay9v/2015-07-29_8-05-59.png?dl=0

    Thanks.

    Plugin Author nintechnet

    (@nintechnet)

    Did you check your PHP INI file if there was any NinjaFirewall instruction left?
    Also, you may need to restart your HTTP server (Apache/Nginx), and/or also PHP (e.g., if you are running PHP-FPM) to force it to reload the modified PHP INI.

    Thread Starter ccnahub

    (@ccnahub)

    Yes! The following entry was in the end of /etc/php5/fpm/php.ini

    ; BEGIN NinjaFirewall
    ; auto_prepend_file = /var/www/clients/client1/web1/web/wp-content/plugins/ninjafirewall/lib/firewall.php
    ; END NinjaFirewall

    I commented the entry, and restarted the following services:

    service nginx restart
    service php5-fpm restart

    And I was able to delete the plugin, thank you!

    Imad Daou
    http://www.ccnahub.com

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error Server 500 When Uninstall’ is closed to new replies.