title: GeoLite2: Reader Class not recognized
body: <p>I'm using PHP to retrieve the city of an IP using the GeoLite2 Free Downloadable Database.</p>
  
  <p>The code I'm using is the following one:</p>
  
  <pre><code>function getGeoLocationFromIp()
  {
      include_once('Db/Reader.php');
      include_once('Db/Reader/Decoder.php');
      include_once('Db/Reader/InvalidDatabaseException.php');
      include_once('Db/Reader/Metadata.php');
      include_once('Db/Reader/Util.php');  
      //use MaxMind\Db\Reader;
      $reader = new Reader('/sys/class/GeoLite2-City.mmdb');
      $ipData = $reader-&gt;get('xx.xx.xx.xx');
      return $ipData;
  }
  </code></pre>
  
  <p>The Db folder is in the following path: "www/Admin%20Panel/Db" and so the city database "www/Admin%20Panel/sys/class/GeoLite2-City.mmdb".</p>
  
  <p>As you can see I commented <code>use MaxMind\Db\Reader;</code> because it crashes my web page.
  I always had a problem with Classes and for this reason I never used them but now I have to and, as feared, they don't work.</p>
  
  <p>I'm working directly online so I'm not even able to see the error log.. :(</p>
  
  <p>Any idea on how I can make that Class work?
  Thank you all :)</p>