Same problem, 3 sites broken…
Quick solution: download the 3.4 version of this plugin and install:
http://downloads.wordpress.org/plugin/wp-simple-firewall.3.4.0.zip
Thread Starter
Alex
(@axn_webbureau_com)
Thanks techbits, I was looking for the older version.
It’s a good plugin I hope the author fixes the issue, he’s been very good about support in the past.
Alex
@webbureau,
Yes, it is a good plugin. It could be related to NGINX web server that is what I use here too. Or not… 🙂
Plugin Author
Paul
(@paultgoodchild)
This is very odd… if only one person got it, I’d say the plugin didn’t fully install properly. But I can’t think why your installations wouldn’t be able to read the config files.
I can’t replicate this at all.
Would someone here be willing let me take a look at one of their sites so I can dig into it better?
Cheers,
Paul.
– I’ve also dropped the plugin version back down to 3.4 while I investigate
Plugin Author
Paul
(@paultgoodchild)
Hey guys,
I’ve changed how the plugin looks for and verifies the file before reading – my hope/guess is that it’s not a problem for reading the files, but rather just verifying they exist.
Can some download this and try it out?
http://downloads.wordpress.org/plugin/wp-simple-firewall.3.5.1-test.zip
Thanks,
Paul.
Thread Starter
Alex
(@axn_webbureau_com)
Hi Paul,
I’ve tried the 3.5.1 version, gives this error:
(I also gave higher permissions to the folder and its files to be sure.)
Fatal error: Uncaught exception 'Exception' with message 'Source File For Feature "Plugin" Does NOT Exist. You should re-install the Simple Firewall plugin.' in /usr/share/nginx/html/wp-content/plugins/wp-simple-firewall/icwp-wpsf-main.php:161 Stack trace: #0 /usr/share/nginx/html/wp-content/plugins/wp-simple-firewall/icwp-wpsf-main.php(114): ICWP_Wordpress_Simple_Firewall->loadFeatureHandler('plugin') #1 /usr/share/nginx/html/wp-content/plugins/wp-simple-firewall/icwp-wpsf-main.php(124): ICWP_Wordpress_Simple_Firewall->loadCorePluginFeature() #2 /usr/share/nginx/html/wp-content/plugins/wp-simple-firewall/icwp-wpsf-main.php(98): ICWP_Wordpress_Simple_Firewall->loadAllFeatures() #3 /usr/share/nginx/html/wp-content/plugins/wp-simple-firewall/icwp-wpsf.php(239): ICWP_Wordpress_Simple_Firewall->__construct(Object(ICWP_Wordpress_Simple_Firewall_Plugin)) #4 /usr/share/nginx/html/wp-admin/plugins.php(151): include('/usr/share/ngin...') #5 /usr/share/nginx/html/wp-admin/plugins.php(153): plugin_sandbox_scrape('wp-simple-firew...' in /usr/share/nginx/html/wp-content/plugins/wp-simple-firewall/icwp-wpsf-main.php on line 161
Plugin Author
Paul
(@paultgoodchild)
Okay then my thinking is that your particular hosting is blocking the reading of yaml files from disk. A bit crazy, but not the craziest problem hosting configuration I’ve seen.
Any chance I could get access to try out other file “types” that would be permitted by your hosting? I suppose I could just use a php extension but would really need to test it…
Paul,
I can share my computer with you via TeamViewer and give you access to my server via SSH.
But I am not at office right now… (maybe in about 2 hours).
If it helps in meantime:
By the way, I use DigitalOcean as
my hosting provider and NGINX as webserver.
Othet detail: My plugin folder is shared between multiple wordpress installations (symlink) and is localized outside the normal wordpress tree.
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
This comes up a lot lately and I really need to find better verbiage to reply with…
I can share my computer with you via TeamViewer and give you access to my server via SSH.
Please do not do that and no one should ask or get access to your installation. Asking for that access is frowned upon and actively discouraged.
http://codex.wordpress.org/Forum_Welcome#The_Bad_Stuff
The short of it is that when someone get’s that access then that person becomes responsible for your installation.
@paultgoodchild I’m not accusing you or anyone of ill will or bad intentions but please avoid making requests along those lines.
*Copies and modifies something I posted the other day*
Ask, suggest, make recommendations, even provide links plugins to gather information. Look but do not touch nor login to your user’s installation.
This plugin can assist with that data gathering.
https://wordpress.org/plugins/system-snapshot-report/
There are other plugins too.
This is a self-help forum and when you request that access you really are going too far. If someone needs that level of support then they really need to consider hiring someone, which is very outside of the scope of these support forums.
This has been discussed before in the support team and in depth, see the first 2 items on this post.
Support Team Update for January 30th
It’s been covered in other places as well but I can’t locate that link at the moment.
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
*Stands on train and yells “Alright! Paul’s Cool!” Promptly sits down and apologies to fellow commuters.*
Thanks Paul. 😉
@jan,
ok, understood. I am a developer too and it was the way I think could be safe for me to help him solve this particular bug.
But as Paul said, fair enough, I will not share anymore.
@paul,
I will test this 3.5.1 version as soon as possible and report here what happened.
Thanks.
Plugin Author
Paul
(@paultgoodchild)
Actually, can you test this instead:
http://downloads.wordpress.org/plugin/wp-simple-firewall.3.5.1-test2.zip
Thanks for your patience while I work through this!
@paul,
Now it is working (sort of). The site isnt broken with this 3.5.1 test2, but a warning is on my homepage:
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/plugins/wp-simple-firewall/src/icwp-options-vo.php on line 211
Look the site here: http://teia6.com.br
(I deactivate the plugin for the other 2 sites I was using it, for now)
Plugin Author
Paul
(@paultgoodchild)
Great!
That error is fixed now and I have test3 for your fun and enjoyment 😉
http://downloads.wordpress.org/plugin/wp-simple-firewall.3.5.1-test3.zip
Does the plugin actually work for you? Are you still able to use the features even though you don’t get any errors?
Thanks,
Paul.