You need to install it on each site.
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 http://www.briandmclean.com
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 : http://briandmclean.com
– Date : December 5, 2014 @ 07:10:57 (UTC -0600)
NinjaFirewall (WP edition) – http://ninjafirewall.com/
Support forum: http://ww.wp.xz.cn/support/plugin/ninjafirewall
******
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?
I’m not sure what you mean by “blog root folder” in a WP site
It is the directory where the blog is installed (i.e., where the main index.php is located).
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?
This is a PHP script, it needs to be renamed to whatever.php.
Then go to http://yourwebsite/whatever.php (replace ‘yourwebsite’ with your blog domain).
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< ============================
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)?
That did the trick. Is it strange that changing the php.ini was not necessary on the other hosted blog?
.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: http://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.