• Resolved tonyhir

    (@tonyhir)


    I am unable to proceed beyond the first screen, where the default is Apache +CGI/Fast CGI and php.ini. My webhost reports:-

    “We have installed Apache with suphp on server. CGI and suphp should run php cgi processes and php processes with the ownership of cpanel username.
    If this is the basic requirement of Ninja firewall then hopefully it should work on our server which has Apache with suphp is installed.
    Can you please check with Ninja’s support if it is compatible with their application.”

    I do not know what to do. Pressing Next step makes no change, On the Dashboard a message appears:-

    “NinjaFirewall fatal error : Unable to communicate with the firewall. Please check your PHP INI settings. Review your installation, your site is not protected.”

    Please help!

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

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

    (@nintechnet)

    Hi,

    After the installation, can you download and run this script and then paste the output here?

    Thread Starter tonyhir

    (@tonyhir)

    This requires FTP, which I cannot do until I am back home in January. I cannot remember the details. Or is there a way to run the script without FTP, as the administrator?

    Plugin Author nintechnet

    (@nintechnet)

    Can you try this, after installing NinjaFirewall:
    1. log out of WP
    2. go to https://YOUR_SITE/index.php?test=hack%00

    Are you blocked?

    Thread Starter tonyhir

    (@tonyhir)

    “This webpage is not available

    The server at your_site can’t be found, because the DNS lookup failed. DNS is the network service that translates a website’s name to its Internet address. This error is most often caused by having no connection to the Internet or a misconfigured network. It can also be caused by an unresponsive DNS server or a firewall preventing Google Chrome from accessing the network.”

    Thread Starter tonyhir

    (@tonyhir)

    Sorry I misunderstood. After putting in greenfriends,org.uk:-

    “Sorry 163.47.15.171, your request cannot be proceeded.
    For security reason, it was blocked and logged.

    NinjaFirewall

    If you think that was a mistake, please contact the
    webmaster and enclose the following incident ID:

    [ #7597497 ]”

    Plugin Author nintechnet

    (@nintechnet)

    It is working in the root directory, but your PHP INI does not seem to apply recursively (it does not work on the /wp-admin/ and other subfolders).

    You would need to try to add the following code to your main .htaccess file:

    suPHP_ConfigPath /home/username/public_html

    Replace “/home/username/public_html” with the path in which the NinjaFirewall php.ini is placed.

    Thread Starter tonyhir

    (@tonyhir)

    Thanks, but again this requires FTP (unless you know otherwise) and will have to wait untilI I am home again.

    ; your PHP INI does not seem to apply recursively…
    (How does it happen that the installation does not take account of ‘recursion’ or lack of it?

    Plugin Author nintechnet

    (@nintechnet)

    The installer detects the problem (it displays the error message), but it is unable to tell you why, because there is no way to know it at the user level; this is a server level configuration.
    You still have 2 options:
    1. asking your host to make your php.ini recursive, by adding the right instructions to the .htaccess. Very easy for them.
    2. asking your host if the server supports .user.ini in addition to php.ini. If it does, uninstalling and reinstalling the firewall and choosing .user.ini could solve the issue.

    Thread Starter tonyhir

    (@tonyhir)

    ; 1. asking your host to make your php.ini recursive, by adding the right instructions to the .htaccess.

    This they have done, and I think Ninja is now running correctly. Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Installation fails’ is closed to new replies.