{"action":"opened","issue":{"url":"https://api.github.com/repos/pulkitjalan/geoip/issues/5","labels_url":"https://api.github.com/repos/pulkitjalan/geoip/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/pulkitjalan/geoip/issues/5/comments","events_url":"https://api.github.com/repos/pulkitjalan/geoip/issues/5/events","html_url":"https://github.com/pulkitjalan/geoip/issues/5","id":101234257,"number":5,"title":"maxmind db not exist or readable ","user":{"login":"unidotnet","id":291881,"avatar_url":"https://avatars.githubusercontent.com/u/291881?v=3","gravatar_id":"","url":"https://api.github.com/users/unidotnet","html_url":"https://github.com/unidotnet","followers_url":"https://api.github.com/users/unidotnet/followers","following_url":"https://api.github.com/users/unidotnet/following{/other_user}","gists_url":"https://api.github.com/users/unidotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/unidotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unidotnet/subscriptions","organizations_url":"https://api.github.com/users/unidotnet/orgs","repos_url":"https://api.github.com/users/unidotnet/repos","events_url":"https://api.github.com/users/unidotnet/events{/privacy}","received_events_url":"https://api.github.com/users/unidotnet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-16T04:53:26Z","updated_at":"2015-08-16T04:53:26Z","closed_at":null,"body":"hey ,\r\n\r\nI tried to use \r\n```\r\n$geoip = new GeoIP([\r\n            'driver' => 'maxmind',\r\n            'maxmind' => [\r\n                'database' => public_path('geoip/geoip.mmdb'),\r\n            ],\r\n ]);\r\n\r\n```\r\nand Laravel returns \r\n\r\n```\r\nThe file \"/var/www/html/test/public/geoip/geoip.mmdb\" does not exist or is not readable.\r\n in Reader.php line 46\r\nat Reader->__construct('/var/www/html/test/public/geoip/geoip.mmdb') in Reader.php line 52\r\nat Reader->__construct('/var/www/html/test/public/geoip/geoip.mmdb') in MaxmindDriver.php line 116\r\nat MaxmindDriver->createDatabase() in MaxmindDriver.php line 72\r\nat MaxmindDriver->create() in MaxmindDriver.php line 25\r\nat MaxmindDriver->__construct(array('database' => '/var/www/html/test/public/geoip/geoip.mmdb')) in GeoIPManager.php line 70\r\nat GeoIPManager->createMaxmindDriver(array('database' => '/var/www/html/test/public/geoip/geoip.mmdb')) in GeoIPManager.php line 40\r\nat GeoIPManager->getDriver() in GeoIP.php line 34\r\nat GeoIP->__construct(array('driver' => 'maxmind', 'maxmind' => array('database' => '/var/www/html/test/public/geoip/geoip.mmdb'))) in TimeslotController.php line 314\r\n```\r\n\r\nHowever , the db exists and readable:\r\n```\r\nls -la /var/www/html/test/public/geoip/geoip.mmdb\r\n-rwxrwxrwx. 1 apache apache 32415987 Jul  8 19:50 /var/www/html/test/public/geoip/geoip.mmdb\r\n```"}}