Data at Your Fingertips: Explore Our New Reporting and Statistical Capabilities By Ryan Ashbrook Tuesday at 01:29 PM
aXenDev Posted August 6, 2019 Share Posted August 6, 2019 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? Link to comment Share on other sites More sharing options...
newbie LAC Posted August 6, 2019 Share Posted August 6, 2019 Hello, IPS Geolocation work for users with +active license Link to comment Share on other sites More sharing options...
Ryan Ashbrook Posted August 6, 2019 Share Posted August 6, 2019 Additionally, the developer should be accounting for this in their application (an inactive license should never cause errors). Link to comment Share on other sites More sharing options...
Daniel F Posted August 6, 2019 Share Posted August 6, 2019 Exactly :) The SPAM protection and geolocation Service from IPS won’t work if your license isn’t active. Link to comment Share on other sites More sharing options...
aXenDev Posted August 6, 2019 Author Share Posted August 6, 2019 I didn't even think about the fact that this feature uses the license, Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.