Support

Admin Tools

#12182 Firewall lose all its settings

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Saturday, 05 May 2012 10:32 CDT

user13776

Admin Tools version: 2.2.5

Description of my issue:

I have the same problem as the following ticket; "#12156: Firewall lose all its settings" (I didn't see a way to post a message to that ticket).

The __admintools_wafexceptions table is also being reset regularly, although the .htaccess files themselves are not changed until I re-run the htaccess maker function.

There shouldn't be any database operations going on that would reset these tables. If you have any suggestions on how to check what is causing them to be reset it would be appreciated.

Mike

nicholas
Akeeba Staff
Manager
There is no code in my extensions which can do that. The only rational explanation is that someone has hacked you, in which case you should follow the Unhacking your Site walkthrough's instructions. Unfortunately, there is no way to troubleshoot database writes.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user13776
Sorry, admintools_wafexceptions was a red herring. It is just admintools_storage that is getting reset. I will try to track down when it is happening, but I suspect it is more likely to be happening when some change is made to the configuration.

Regards

Mike

nicholas
Akeeba Staff
Manager
If the total size of the configuration data goes over 2Gb, the data will be reset. However, I don't consider that at all possible. All other cases where we are writing to the table are triggered by you (the administrator of the site) deliberately saving WAF configuration or .htaccess Maker's configuration. If there was a bug there you'd certainly see the settings getting reset when yo try saving them, not at random after a few days. I don't know...

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user13776
Yes, agreed, the chances are it's happen after I make some change. I notice that the table is also updated when the software version checks are done however. I'm not sure if it's possible that something is going wrong then? Looking at what was in the table after the reset, it mainly appears to be related to the software updates. I believe it was something like this:

{"timestamp_session_optimize":1336237202,"timestamp_clean_temp":1336240825,"latestjversion":"{\"installed\":{\"version\":\"1.5.26\",\"package\":\"http:\\\/\\\/joomlacode.org\\\/gf\\\/download\\\/frsrelease\\\/16890\\\/73390\\\/Joomla_1.5.26-Stable-Full_Package.zip\"},\"current\":{\"version\":\"1.5.26\",\"package\":\"http:\\\/\\\/joomlacode.org\\\/gf\\\/download\\\/frsrelease\\\/16890\\\/73390\\\/Joomla_1.5.26-Stable-Full_Package.zip\"},\"sts\":{\"version\":\"\",\"package\":\"\"},\"lts\":{\"version\":\"\",\"package\":\"\"}}","lastjupdatecheck":1336239593,"plg_atoolsupdatecheck":"1336225206","plg_atoolsjupdatecheck":"1336225209"

Again, I will keep an eye on it to see if I can work out when it is happening.
Mike

nicholas
Akeeba Staff
Manager
If that happens again, can you send me over a dump of the #__admintools_storage table so that I can analyse its contents?

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!