Skip to content

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

@theel0ja

Description

@theel0ja

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"]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions