On Nov 3, 11:25 am, Flashball <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm using the "GoogleMapAPI.class.php" to integrate Google Maps in a
> website where the administrator can dynamicaly define new points on
> the map: everything works fine in localhost / developpement mode
> but...
>
> I don't understand where is the problem when i put the code on the
> server: I've got the google maps tools, but the map is not loaded.

The errors flagged indicate that there is a problem with your server
setup:
---
Warning: file_get_contents(http://maps.google.com/maps/geo?&q=1%2C
%20avenue%20Foch%20%2075017%20PARIS
%20FRANCE&output=csv&key=ABQIAAAAaxZ7qJ_EnNcj6LJxlOT2MxRo6PE19qUadpmC3GSqevrNrVu0CRRPVUX40e_0XbTZ7qe3ZqFuJCni9w)
[function.file-get-contents]: failed to open stream: HTTP request
failed! HTTP/1.0 403 Forbidden in /homez.34/sudmur/lib/
GoogleMapAPI.class.php on line 1343

Notice: Undefined variable: _coords in /homez.34/sudmur/lib/
GoogleMapAPI.class.php on line 1331
---
Your server doesn't allow file_get_contents on external URLs -- which
means that the fopen() wrappers need to be enabled.
http://us2.php.net/manual/en/function.file-get-contents.php

Andrew

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to