sqad wrote:
Anyone able to use google maps on their pylons-run website when testing
on the localhost?
i think my development.ini is setup right. When I load the page, it
always keeps complaining about the key
I registered with http://127.0.0.1:5000/wiki
[snippet for development-ini]
host = 0.0.0.0
port = 5000
I have tried every combination possible with the hostname registration
and still no luck :-(
Please help.
Suggestions:
- You don't need the path info (/wiki) any more. Old versions of GMaps
only worked in a specific directory. This probably isn't your problem,
but it's handy to only use one key for a whole domain.
- Maybe it doesn't work with an IP address. Try getting a key for
http://localhost:5000/.
- Edit /etc/hosts (or the windows equivalent) and add something that
looks like a real domain. For example I have this in mine:
192.168.1.100 dev.bycycle.org
Run ifconfig (ipconfig on windows?) at a prompt to find out your
private IP (192.168.1.100 in my example)
Get a key for http://dev.bycycle.org:5000/
- Post the <script> tag you're using to import GMaps; maybe it's not a
problem with the key.
HTH,
__wyatt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---