Closed andreaschiona closed 7 years ago
Not sure. You're sure your key is valid? What happens if you try to access the API via the command line?
My demo page seems to be working.
Thanks for your super quick response!! :)
How can I try the API via command?
My plugin config is:
enabled: true
sequence:
- geoplugin
- freegeoip
- ipinfo
- dbip
keys:
dbip: ******************************
You'll have to look at each service's documentation. Here's DB-IP: https://db-ip.com/api/doc.php.
I understand, the problem is that I have my grav app in a Docker container and then $_SERVER['REMOTE_ADDR']
return the ip of the container (and not the host machine ip).
That's indeed a problem :smile: Good luck!
I've tryed the plugin but I don't see any data.
But all the fields are blank.
Any idea?
Thanks! Andrea