Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ErrorException: file_get_contents(https://api.timezonedb.com/v2/get-time-zone?key=Q0VBC7TAFDOE&format=json&am... #8

Open
theel0ja opened this issue Apr 21, 2018 · 0 comments

Comments

@theel0ja
Copy link
Owner

theel0ja commented Apr 21, 2018

https://sentry.io/elias-ojala/iplookup/issues/526059113/

ErrorException: file_get_contents(https://api.timezonedb.com/v2/get-time-zone?key=SECRET&format=json&by=position&lat=60.1708&lng=24.9375): failed to open stream: operation failed
  File "functions/getTimezoneByPosition.php", line 13, in handleError
    $raw_data = file_get_contents($url);
  File "vendor/sentry/sentry/lib/Raven/ErrorHandler.php", line 0, in file_get_contents
    Raven_ErrorHandler->handleError
  File "functions/getTimezoneByPosition.php", line 13, in getTimezoneByPosition
    $raw_data = file_get_contents($url);
  File "index.php", line 128
    $params["local_time"] = getTimezoneByPosition($params["lat"], $params["lon"]);
@theel0ja theel0ja added the php label Apr 25, 2018
@theel0ja theel0ja removed the php label Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant