aporter
Forum Replies Created
-
Hi,
Thanks for the report.
Are you able to share the exact WP-CLI command that is causing that notice to appear?
I’m having trouble getting it to output so not able to test a fix.
Best Wishes,
Ashley
Hi,
This is not yet available in our 6G firewall.
There are plans to support 7G soon.
You can add this to your .htaccess and there should be no issues (our firewall runs using PHP now rather than .htaccess files)
Best Wishes,
Ashley
Hi Giles,
Remove it from your php.ini so that it’s no longer global.
Then in the plugin:
WP Security -> Firewall -> Advanced settings
You should see either a “downgrade firewall” button or “Set up firewall”
If it says “Set up firewall” press it and the plugin will automatically set it up correctly for you.
If it says “downgrade firewall” press it, then when it refreshes press the “set up firewall” button.
The firewall should then be correctly setup.
Best Wishes,
Ashley
Hi @lqdmbr
Yes I meant that and yes only IP’s in the list can login, but seeing as you use the connection key it wouldn’t make a difference.
Do you have the PHP based firewall setup?
If you do can you add these constants in aios-bootstrap.php after the “<?php” line:
define(‘AIOS_FIREWALL_DEBUG’, true);
define(‘AIOS_FIREWALL_SERVER_DUMP’, true);If it is not setup put them in wp-config.php
Then try to manage the sites again, then when you get the error check your PHP error logs
Can you then send me that information?
You can send it privately via our premium support (use order number 0000 and link to this support ticket):
https://aiosplugin.com/premium-support/
Best Wishes,
Ashley
Hi Giles,
Thanks I’ve got the log for this request.
So it appears the AIOS PHP firewall is running server wide on your install.
Have you set the auto_prepend_file directive in your php.ini file to include aios-bootstrap.php?
Or by default AIOS will set aios-bootstrap.php to autoload either via a .htaccess file or .user.ini file in the WordPress root folder has one of these files accidentally been copied to your PHPMyAdmin install folder?
Best Wishes,
Ashley
Forum: Plugins
In reply to: [All-In-One Security (AIOS) – Security and Firewall] Disabling PHP FirewallHi @slr1979
You can find the option to revert the setup for the PHP firwall in:
WP Security -> Firewall -> Advanced Settings
Then press the “Downgrade Firewall” button.
Best Wishes,
Ashley
Hi,
With your settings imported I’ve not been able to reproduce the error.
Does ManageWP connect to your sites via username and password or the connection key?
Could you try whitelisting their IP addresses:
https://managewp.com/troubleshooting/general/managewp-ips-can-white-list
Best Wishes,
Ashley
Hi,
Do you have the AIOS firewall setup?
If you do can you add these constants in aios-bootstrap.php after the “<?php” line:
define(‘AIOS_FIREWALL_DEBUG’, true);
define(‘AIOS_FIREWALL_SERVER_DUMP’, true);If it is not setup put them in wp-config.php
Then try access PHPMyAdmin with them rules turned on when it gets blocked it should then log all the needed data to your PHP Error logs.
Can you then send me that information?
You can send it privately via our premium support (use order number 0000 and link to this support ticket):
https://aiosplugin.com/premium-support/
Best Wishes,
Ashley
- This reply was modified 3 years, 5 months ago by aporter.
Thats very odd how it’s ended up with that default when the others have the correct one.
If you drop that table and then deactivate and reactivate the plugin the table will get recreated, does it then still have the wrong default?
Best Wishes,
Ashley
Hi,
Glad you managed to get that working.
The built in WordPress file uploader to upload the import file isn’t very intuitive.
It’s best to use the copy/paste text area for now.
There is a task in our development board to improve this area of the plugin.
Best Wishes,
Ashley
Hi,
Sorry for not being clear.
6G is an upgraded version of 5G so your site is more secure running the 6G rule set compared to the 5G.
It also means if you have 6G on then theres no reason to run the 5G rules as well.
Best Wishes,
Ashley
Hi,
Yes theres no need to have 5G rules turned on if you got the 6G enabled.
Best Wishes,
Ashley
Hi,
Where has this database dump come from (how was it created and what version of SQL)?
In the AIOS codebase that table has not long been added and the SQL for the created field doesn’t look like that.
The SQL in the codebases is:
created datetime NOT NULL DEFAULT '1000-10-10 10:00:00'All the other tables created by the plugin also use the same options for time based fields, do they also cause errors?
If not what have they been exported as?
Best Wishes,
Ashley
Hi,
This is the first report I’ve seen about this.
If updating to version 5+ has caused the issue then it’s likely a feature that was turned on before wasn’t actually working, in version 5+ we have fixed and moved these features to the new PHP based firewall and now as a result it’s blocking something it wasn’t before.
Would you be able to share with me what settings you have active so I can try and reproduce the issue?
Can you also let me know where your ManageWP install is (is it on another server)?
And finally what error message you get from ManageWP?
Best Wishes,
Ashley