Support

Admin Tools

#43178 Sucuri

Posted in ‘Admin Tools for Joomla!’
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
6.1.2
PHP version
8.4
Admin Tools version
latest

Latest post by belex24 on Thursday, 23 July 2026 00:34 CDT

belex24
Hi Support,
we got some problem with access to our site. It seems that the combination of AdminTools and Sucuri causes the problem. So I activated at .htaccess maker Sucuri and got this error message, see attachement. At this time it's already OK cause I managed to reactivate my backuped htaccess. So now it's of "none" instead of Sucuri.
But we need this setting.
Thank you for your help.
Tin

moira

We looked into the crash you attached. The error, COM_ADMINTOOLS_ERR_INVALID_RESTRICTIP, happens because Admin Tools' .htaccess Maker offers "Sucuri" as one of the sources for the "Restrict access by IP" option. When you selected it, Admin Tools tried to fetch Sucuri's currently published IP ranges from their documentation page in real time. In your case that fetch did not return any usable data, and instead of failing gracefully, Admin Tools threw an unhandled error and wrote out a broken .htaccess file, which is what locked you out. There is also a labelling bug in the same code path that made the error message show a raw, untranslated code instead of a readable sentence, which is why the message you saw made little sense.

We have fixed this in our development branch:

  • A failure to retrieve the Sucuri IP list no longer crashes the page or writes a broken .htaccess; it now shows a proper warning and leaves your existing configuration untouched.
  • The mistranslated error message has been corrected.
  • We also shortened how long a failed fetch is cached, so a temporary hiccup won't keep blocking you from saving for a full hour afterwards.

This fix is included in today's developer's release, which you're welcome to test:

https://www.akeeba.com/download/admin-tools-professional/7-9-0-dev202607200840-reve1d7aa80/pkg-admintools-7-9-0-dev202607200840-reve1d7aa80-pro-zip.zip

Please note this is a developer's release, not an official version, so it will not appear in your site's automated update checks and should only be installed manually for testing. Before you try the "Sucuri" option again, please take a fresh backup of your current .htaccess file (Admin Tools does keep automatic backups of the previous file in .htaccess Maker, but a manual copy is a good extra safeguard). If the option still doesn't work as expected, or if you'd rather not experiment with it right now, you can safely leave "Restrict access by IP" set to "None" — the rest of Admin Tools' protection features are unaffected by this issue.

Let us know how the test goes.

Moira Fari

Support Specialist

🇬🇧English: native 🕐 My time zone is Asia / Nicosia
Kindly note that my replies are fully vetted by our developers.

belex24
I wrote a long reply but got an error

belex24
I try again:
first I managed to solve it via Custom. I entered the IPs of sucuri manually
second the ticket system is very poor: I got no information about your reply, I got an error after I sent my reply and I could not edit the original ticket itself (text was not available)

let's see if it goes through now.

belex24
screenshot

belex24
...

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!