Support

Admin Tools

#27930 Install geoip by hand

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 on Thursday, 13 July 2017 17:17 CDT

Boumy
Hi.

One of my sites has been the prey to several code injections. Even after I tried to clean it up, bad code went back. Since the content of this site is not updated at the moment, I locked as many folders as I could. This time everything is quiet. But the site is still very solicited by bots and the bandwidth is huge. So I wanted to install the geoip plugin to the already installed Admin Tools because the site's content is mostly relevant for French European speakers.

Since my site is so strongly locked, I didn't want to dismiss all its permission settings to install by the Joomla! internal process. I installed it manually, but AT continues to tell geoip should be installed. And Joomla! doesn't show it up in the extensions even after I refresh.

Here is how I installed :

in /plugin/system/akgeoip I put akgeoip.php and the db folder and the lib folder with their contents.
in /languages/en-GB folder I put en-GB.plg_system_akgeoip.ini and en-GB.plg_system_akgeoip.sys.ini

Should I add some mysql command ? I didn't find out how to do this on the Web although manual installation is frequently done by more skilled users.

Thank you.

Please note :)
• I am aware of the delay in page load when geoip is on.
• I read elsewhere on your forum that there is a GeoLite2 Country database from MaxMind, I copied GeoLite2-Country.mmdb into /administrator/components/com_admintools/assets/geoip/ but, of course, it didn't help
• I know I should upgrade my Joomla! version and the plugins but as I wrote, I thought a simple setting like geoip blocking could temporarily give a relief to my server.

nicholas
Akeeba Staff
Manager
You need to install the plugin. Copying some files without installing the plugin does not make the plugin installed. There are things Joomla! manages internally to know that a plugin is installed and load it. If you do not want to let Joomla! install the plugin by itself you will need to replicate all operations performed by the Joomla! installer. I'm afraid I cannot help you with that. It involves working on nested tree database tables. I am not going to ever do that manually on my development sites, let alone a live site. I am not crazy. Thus the ONLY supported way to install this is through the Joomla! extensions installer.

Finally note that by locking the write status of your folders you are simply making it impossible to update Joomla! and its extensions. This, by itself, is a far bigger security concern. I would recommend instead figuring out why you were getting hacked and plugging that hole instead of making your site unusable.

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!