Support

Admin Tools

#19084 Error Updating GeoIP database

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 tampe125 on Monday, 10 February 2014 03:12 CST

ceeyee
I just Updated Admin Tools to 2.6.
 When I clicked the Update GeoIP Database button, it shows the following error:


( ! ) Fatal error: Class 'JHttpFactory' not found in F:\wamp\www\SITENAME\plugins\system\akgeoip\lib\akgeoip.php on line 196
Call Stack
# Time Memory Function Location
1 0.0002 708384 {main}( ) ..\index.php:0
2 0.1068 15327144 JAdministrator->dispatch( ) ..\index.php:46
3 0.1075 15435000 JComponentHelper::renderComponent( ) ..\application.php:153
4 0.1129 15620272 JComponentHelper::executeComponent( ) ..\helper.php:351
5 0.1134 15722768 require_once( 'F:\wamp\www\SITENAME\administrator\components\com_admintools\admintools.php' ) ..\helper.php:383
6 0.1269 17422896 AdmintoolsDispatcher->dispatch( ) ..\admintools.php:126
7 0.1285 17593088 FOFDispatcher->dispatch( ) ..\dispatcher.php:76
8 0.1809 21904104 AdmintoolsControllerCpanel->execute( ) ..\dispatcher.php:317
9 0.1809 21904184 FOFController->execute( ) ..\cpanel.php:23
10 0.1811 21905536 AdmintoolsControllerCpanel->updategeoip( ) ..\controller.php:964
11 0.1971 22234128 AkeebaGeoipProvider->updateDatabase( ) ..\cpanel.php:87

May I know how to solve this problem?
I am using WAMP on Win7.
Thanks.

tampe125
Akeeba Staff
Hello,

please update your Joomla version for two reasons:
  1. It's very old and has a lot of security issue: it's just a matter of time before your site gets hacked
  2. Most likely the JHttpFactory class has been added in a later version, so you need to update in order to get things running

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

ceeyee
Following your advice, I have updated the Joomla to 2.5.18, then I updated Admin Tools to 2.6 and installed GeoIP.
However, when I clicked "Update the GeoLite2 country database", the following error occured:

Failed deleting GeoLite2-Country.mmdb
PLG_SYSTEM_AKGEOIP_ERR_CANTDELETEOLD

May I know how to solve this problem?

I have restored the site back to before updating Admin Tools and GeoIP, and awaits your answer to re-install them correctly.
Thanks.

tampe125
Akeeba Staff
It means that there is a permission issue on your server, since the old database file exists, but we can't delete them.

Please turn on the FTP layer inside Joomla Configuration page

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
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!