geoip2 icon indicating copy to clipboard operation
geoip2 copied to clipboard

Unrecognized option "path" under "gpslab_geoip"

Open Mecanik opened this issue 2 years ago • 1 comments

I've just started to configure your package, and it seems you cannot configure the path as per the documentation:

In ArrayNode.php line 314:
  Unrecognized option "path" under "gpslab_geoip". Available options are "databases", "default_database", "license", "locales".

Please update the documentation to inform people where to put the path key:

gpslab_geoip:
    path: '%kernel.project_dir%/var/GeoLite2-City.mmdb'

To:

databases:
   city:
       edition: 'GeoLite2-City'
       path: '%kernel.project_dir%/var/GeoLite2-City.mmdb'

Thanks

Mecanik avatar Jul 11 '21 05:07 Mecanik

You cannot register the database without specifying the edition and license.

gpslab_geoip:
    license: 'XXXXXXXXXXXXXXXX'
    edition: 'GeoLite2-City'
    path: '%kernel.project_dir%/var/GeoLite2-City.mmdb'

peter-gribanov avatar Jul 12 '21 15:07 peter-gribanov