Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
aXenDev Posted August 6, 2019 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?
newbie LAC Posted August 6, 2019 Posted August 6, 2019 Hello, IPS Geolocation work for users with +active license
Ryan Ashbrook Posted August 6, 2019 Posted August 6, 2019 Additionally, the developer should be accounting for this in their application (an inactive license should never cause errors).
Daniel F Posted August 6, 2019 Posted August 6, 2019 Exactly :) The SPAM protection and geolocation Service from IPS won’t work if your license isn’t active.
aXenDev Posted August 6, 2019 Author Posted August 6, 2019 I didn't even think about the fact that this feature uses the license, Thanks!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.