josephdenne / geolocation_service

Uses Symphony's services API to provide user location parameters
http://josephdenne.com/
Other
4 stars 0 forks source link

Is this service still working? #1

Open vlad-ghita opened 12 years ago

vlad-ghita commented 12 years ago

I'm getting an empty response :

<geolocation>
    <id>10443164</id>
    <lookups>14</lookups>
    <country />
    <region />
    <city />
    <lat />
    <lon />
    <error />
</geolocation>

Any ideas?

Thank you, Vlad

loremipson commented 12 years ago

Hey vlad, are you trying to use it in a local environment?

I've found that it actually does work as long as there's a domain for the extension to pass to the Services API.

vlad-ghita commented 12 years ago

Yes, local dev at the moment.

Thanks for the tip tough. I'll try it and update the status of this issue.

loremipson commented 12 years ago

Actually, this still doesn't seem to be working for me. It seems that all the information is being dumped in the XML id node, and leaving all the other nodes blank:

<geolocation>
    <id>id = "XXXXXXXX";
country = "US";
region = "XX";
city = "XXXXXXXXX";
postcode = "";
lat = "XXXXXXXX";
lon = "XXXXXXXX";
met = "XXX";
arc = "XXX";
isp = "XXXXXXXXXXX";
org = "XXXXXXXXXXX";
error = false;</id>
    <lookups />
    <country />
    <region />
    <city />
    <lat />
    <lon />
    <error />
</geolocation>
josephdenne commented 12 years ago

This has been fixed. The extension was using the wrong version of the external API, with results not being returned in an array.