Support

Admin Tools

#38320 Error when Save & Close Configure WAF

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 crazyhorse on Thursday, 12 January 2023 06:57 CST

crazyhorse

Please look at the bottom of this page (under Support Policy Summary) for our support policy summary, containing important information regarding our working hours and our support policy. Thank you!

 Old and mostly in the way

crazyhorse

Sorry premature return as I was expecting some search results.

Joomla 4.2.6

Php 8.0.27

Admin Tools 7.2.1

Host Ionos

 

Error when Save & Close Configure WAF

Made some changes in Configure WAF clicked on Save & Close drop down form Save and got two error messages.

Save & Close a second time and if was worked without error. Has happened on a number of sites.

 Old and mostly in the way

nicholas
Akeeba Staff
Manager

For the screenshot: It looks like your password manager was trying to fill in a password. The second time it didn't and the form submitted.

For other sites: most likely you have upgraded from Joomla 3. The first time you try to save the Configure WAF page it will show an error, then it will save correctly. That's because of the change of format in some fields between Admin Tools 6 and 7. For reasons which have to do with how Joomla form fields work we have to do the conversion during save which does mean the save will throw an error the first time. The alternative was to ask you to uninstall and reinstall Admin Tools, deleting all your settings and starting afresh. The same thing will happen if you import settings from a Joomla 3 site for the same reason.

Finally, if you have empty rows in fields which accept multiple rows (Allowed domains, Email domains, Protected Users, 404Shield, Never block these IPs) Joomla itself will throw an error because it doesn't like empty rows. When the page reloads the empty rows disappear and you can save the configuration. This is a known behaviour in Joomla for which there is apparently no solution which doesn't introduce a different bug. So, we have to put up with it.

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!

crazyhorse

Thank you for the explanation, it is very helpful.

 Old and mostly in the way

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!