• Resolved bdmclean

    (@bdmclean)


    I think I’m using 4.0.1 Don’t know how to check.
    I have no clue what I’m doing. It seemed like the original setup questions could be used as trial and error options so that’s what I did. It seems, however that the errors are unrecoverable within Ninja Firewall.
    This is what I have:
    **********

    NinjaFirewall (WP edition)

    Error : the firewall is not loaded.
    Suggestions:

    You selected Apache + CGI/FastCGI as your HTTP server & PHP SAPI. Maybe your HTTP server is Apache + mod_php5?
    You can click the “Go Back” button and try to select another HTTP server type.

    Maybe you did not select the correct PHP INI ?
    You can click the “Go Back” button and try to select another one.
    *******
    Hitting the back button yields a page: 500 internal server error during setup. My site is unavailable.

    https://www.ads-software.com/plugins/ninjafirewall/

Viewing 14 replies - 16 through 29 (of 29 total)
  • Plugin Author nintechnet

    (@nintechnet)

    You need to install it on each site.

    Thread Starter bdmclean

    (@bdmclean)

    OK, I seem to be having identical problems with this second site. As far as I know, I’ve applied all the fixes you suggested previously.
    site is https://www.briandmclean.com

    Thread Starter bdmclean

    (@bdmclean)

    But despite the dashboard warning: “NinjaFirewall fatal error : Unable to communicate with the firewall…” I get the following email:
    ******
    Someone just logged in to your WordPress admin console:

    – User : “XXXX” (administrator)
    – IP : 173.206.98.18
    – URL : https://briandmclean.com
    – Date : December 5, 2014 @ 07:10:57 (UTC -0600)

    NinjaFirewall (WP edition) – https://ninjafirewall.com/
    Support forum: https://www.ads-software.com/support/plugin/ninjafirewall

    ******

    Plugin Author nintechnet

    (@nintechnet)

    The alert you received comes from the plugin part of NinjaFirewall, which is working.
    But the firewall part is not working.

    Can you download and run this script and then paste the output here?

    Thread Starter bdmclean

    (@bdmclean)

    I’m not sure what you mean by “blog root folder” in a WP site

    Plugin Author nintechnet

    (@nintechnet)

    It is the directory where the blog is installed (i.e., where the main index.php is located).

    Thread Starter bdmclean

    (@bdmclean)

    I didn’t ask enough questions!
    “Put this file in your blog root folder and call it from your browser.|
    |Delete it afterwards.”
    1. “Put this file.” I “downloaded” the script by clicking on “run this script” in your message. That displayed it in my browser. “Downloading it” consisted of saving the page to my disk. What NAME should I give the file?
    2. “blog root folder” You answered that question.
    3. “Call it from your browser.” How do I do that?

    Plugin Author nintechnet

    (@nintechnet)

    This is a PHP script, it needs to be renamed to whatever.php.
    Then go to https://yourwebsite/whatever.php (replace ‘yourwebsite’ with your blog domain).

    Thread Starter bdmclean

    (@bdmclean)

    Here’s the output:

    NinjaFirewall (WP edition) troublershooter v1.02

    ========================== 8< ============================

    HTTP server: Apache
    PHP version: 5.4.35
    PHP SAPI: CGI-FCGI
    Loaded INI file: /opt/php54/lib/php.ini
    auto_prepend_file: none
    user_ini.filename: .user.ini
    user_ini.cache_ttl: 300
    user INI: php.ini found
    PHPRC: /opt/php54/lib
    DOCUMENT_ROOT: /home4/bdmclean/public_html/BrianDMcLean.com
    wp-config.php: found

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home4/bdmclean/public_html/BrianDMcLean.com/errortest.php:25) in /home4/bdmclean/public_html/BrianDMcLean.com/wp-content/plugins/kudaniannounce.tmp/kudaniannounce.php on line 11

    Warning: Cannot modify header information – headers already sent by (output started at /home4/bdmclean/public_html/BrianDMcLean.com/errortest.php:25) in /home4/bdmclean/public_html/BrianDMcLean.com/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 60

    ABSPATH: /home4/bdmclean/public_html/BrianDMcLean.com/
    WP version: 4.0.1
    WP_CONTENT_DIR: /home4/bdmclean/public_html/BrianDMcLean.com/wp-content

    ========================== 8< ============================

    Plugin Author nintechnet

    (@nintechnet)

    You are running PHP as CGI-FCGI and the “user_ini.filename” directive shows that your system seems to support “.user.ini”.
    Can you try to rename the php.ini to .user.ini (its name starts with a ‘.’ dot)?

    Thread Starter bdmclean

    (@bdmclean)

    That did the trick. Is it strange that changing the php.ini was not necessary on the other hosted blog?

    Plugin Author nintechnet

    (@nintechnet)

    .user.ini may work on the other blog too but, unlike php.ini, sometimes you need to wait a few minutes before PHP reloads it.

    I just installed NinjaFirewall to my WordPress site. Immediatey afterward, I am getting the “500 Internal Server Error” when I try to view my site.

    I am still logged into my wordpress admin account, and have access to the menus and settings, but cannot load the actual webpage to view it.

    I do not know what has caused my website to not load, or how to fix it. I read the comments above, but do not understand them. I cannot find a PHP.INI file, or .htaccess file.

    Thank you for helping!

    My website: https://www.game-o-gami.com

    Okay, I just go through to my website hosting provider, and they fixed the problem on their end. They said they just had to change some of my folder and file permissions to get the website working again after NinjaFirewall was installed.

Viewing 14 replies - 16 through 29 (of 29 total)
  • The topic ‘Error 500 internal server error during setup’ is closed to new replies.