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

Unrecognized option "path" under "gpslab_geoip" #77

Open
Mecanik opened this issue Jul 11, 2021 · 1 comment
Open

Unrecognized option "path" under "gpslab_geoip" #77

Mecanik opened this issue Jul 11, 2021 · 1 comment
Assignees
Labels

Comments

@Mecanik
Copy link

Mecanik commented Jul 11, 2021

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

@peter-gribanov peter-gribanov self-assigned this Jul 12, 2021
@peter-gribanov
Copy link
Member

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants