Jump to content

Geolocation error after update IPS 4.4.5

Featured Replies

Posted

Hey,
I am updating my forum for IPS 4.4.5.
I have a problem with the server table: 

I have geolocation errors:
"BadFunctionCallException::0"

#0 /home/1shot2kill.pl/public_html/applications/serverlist/sources/Library/Library.php(168): IPS\_GeoLocation::getByIp('145.239.16.78')
#1 /home/1shot2kill.pl/public_html/applications/serverlist/tasks/serverListUpdate.php(43): IPS\serverlist\_Library::storeData()
#2 /home/1shot2kill.pl/public_html/system/Task/Task.php(255): IPS\serverlist\tasks\_serverListUpdate->execute()
#3 /home/1shot2kill.pl/public_html/system/Task/Task.php(224): IPS\_Task->run()
#4 /home/1shot2kill.pl/public_html/applications/core/interface/task/task.php(62): IPS\_Task->runAndLog()
#5 {main}

The code mentioned in applications/serverlist/sources/Library/Library.php:

'serverLocation'	=> self::encodeJson((array) \IPS\GeoLocation::getByIp(filter_var($results['gq_address'], FILTER_VALIDATE_IP) ? $results['gq_address'] : gethostbyname($results['gq_address']))),

Something has changed after the update? Where can I find these changes for developers?
 

Hello,

members.jpg.5f0c8f778db9b87083a0323bfa36b6ba.jpg

IPS Geolocation work for users with +active license

Additionally, the developer should be accounting for this in their application (an inactive license should never cause errors).

Exactly :)

The SPAM protection and geolocation Service from IPS won’t work if your license isn’t active. 

  • Author

I didn't even think about the fact that this feature uses the license,
Thanks!

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.