Support

Admin Tools

#21345 Geoip update caused white screen

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 Thursday, 30 October 2014 06:02 CDT

tabletguy
 I did read tickets and found the issue. It was great to be reminded to turn on all error reporting to see where the error was coming from . White screen (errors) caused after clicking the "Update Geoip database" button.

Error shown (for others searching...)
'Error opening database file (.../public_html/mywebsite/plugins/system/akgeoip/lib/../db/GeoLite2-Country.mmdb). Is this a valid MaxMind DB file?'

I added this ticket to actually report that the direct link (from Downloads when signed in with my ID) doesn't work. Had to download and then upload the plugin 1.05 to fix the problem.

Error I got when I copied the link and used in install. (several attempts)
Error connecting to the server: Error Unknown
Invalid URL

Feel free to close this.
Thanks for great support, as always.

tampe125
Akeeba Staff
Hello Stephan,

I suspect you are getting this error because your server is not allowing outgoing connections.
This will explain why you ended up with a broken installation of the GeoIP plugin and you can't install our software using the Direct Link feature.

Can you please check in the System Information page, PHP settings option, if the option allow_url_fopen and cURL support are enabled?

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!

tabletguy
Thanks for the suggestions. I hadn't mentioned that previous to this update, I never had a problem with the "Update GeoIP Database" button.

I have used the direct link before.

The error message clearly indicated that the database was invalid.

Would it be possible for you to code a check into the plug-in to catch this error so that it doesn't cause the entire site to go down due to a fatal error? (Just a suggestion).

The information you asked for is on the "PHP Information" tab, not the "PHP Settings" tab. Please see it below:

cURL support enabled
cURL Information 7.37.1
Protocols dict, file, ftp, ftps, gopher, http, https, imap, imaps, pop3, pop3s, rtsp, smtp, smtps, telnet, tftp
libz Yes
-------------
allow_url_fopen On

tampe125
Akeeba Staff
Sometimes the MaxMind site is raising some errors, instead of returning the correct data.
However we added workarounds for that.

Sadly, they come up with a new error :(
Thanks for reporting this, we will start working on it and we'll try to fix it as soon as possible.

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!

tabletguy
Fortunately, downloading the full 1.05 package and installing that works.

Feel free to close this ticket.

tampe125
Akeeba Staff
Ok, thank you again for reporting this!

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!