Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted August 6, 20195 yr 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?
August 6, 20195 yr Additionally, the developer should be accounting for this in their application (an inactive license should never cause errors).
August 6, 20195 yr Exactly :) The SPAM protection and geolocation Service from IPS won’t work if your license isn’t active.
August 6, 20195 yr 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.