[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4363: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4367: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[Résolu] Probleme Google Map

[Résolu] Probleme Google Map

Trouvez ici tout l'aide dont vous avez besoin concernant le script d'annuaire Arfooo.
Merci de reporter les éventuels bugs trouvés.

[Résolu] Probleme Google Map

Messagede laurentpetit » Jeu 3 Mar 2011 18:05

Bonjour,
D'abord, un grand merci pour ce super script !
J'étais sous freeglobe mais j'ai migré vers arfooo et je ne le regrette pas.
Mon annuaire (de gites et chambres d'hotes) fonctionne bien.
J'ai juste un souci avec la Google Map qui ne veut pas s'afficher.
Je suis en version 2.0.2 hébergé chez OVH. L'option et la clé API sont bien renseignés.

J'ai bien regardé les posts et j'ai meme eu une fausse joie en voyant celui-la : post11642.html?hilit=google%20map#p11642
J'ai fait les modifications indiquées mais cela ne vient pas de la....
Je me doute que ca doit venir du GoogleMap.php
J'ai meme une piste : la fonction showGoogleMap :

Lorsque je regarde le code source de mon site (exemple : http://www.gites-en-france.net/gites/la ... -s265.html avec un cliq droit+code source de la page)je découvre ca :
function showGoogleMap()
{
var map = new GMap(document.getElementById("map"));
map.enableContinuousZoom();
map.enableInfoWindow();
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
//map.addControl(new GOverviewMapControl());

var geo = new GClientGeocoder();
geo.getLocations('26 chemin de Sussargues, Restinclieres, France', function(result)
{
if(result.Status.code != G_GEO_SUCCESS)
{
alert(result.Status.code);
return;
}

map.clearOverlays();

var p = result.Placemark[0].Point.coordinates;
var lng = p[1];
var lat = p[0];

var latLng = new GLatLng(parseFloat(lng), parseFloat(lat));
map.centerAndZoom(latLng, 3);
var marker1 = new GMarker(latLng);
map.addOverlay(marker1);
GEvent.addListener(marker1, "click", function(){
marker1.openInfoWindowHtml("26 chemin de Sussargues, Restinclieres, France");
});

});
}
$(window).addEvent("load", showGoogleMap);
</script>

Curieusement, ca ne correspond pas avec ma fonction showGoogleMap que j'ai dans mon GoogleMap.php et qui commence comme ca :
function showGoogleMap()
{
//<![CDATA[
if (GBrowserIsCompatible())
{
var map = new GMap(document.getElementById(\"map\"));
map.centerAndZoom(new GLatLng(" . $this->points[0]['lat'] . "," . $this->points[0]['lng'] . "), " . $this->zoomLevel . ");
}
var icon = new GIcon();

Je ne comprend pas ??? J'ai uploadé une bonne dizaine de fois ce fichier, vidé les caches, et meme rebooté plusieurs fois mais la fonction showGoogleMap est toujours la meme dans mon code source.
Donc, si quelqu'un a une petite idée ou une piste, je suis preneur.
Merci d'avance.
Laurent
Dernière édition par laurentpetit le Ven 4 Mar 2011 10:52, édité 1 fois.
Annuaire de gites et chambres d'hotes en France.
Avatar de l’utilisateur
laurentpetit
 
Messages: 10
Inscription: Jeu 3 Mar 2011 15:01


Re: Probleme Google Map

Messagede laurentpetit » Ven 4 Mar 2011 10:42

Bon, la magie de l'informatique fait que sans avoir touché, le code a changé et ca marche...
Je saurais jamais ce qui s'est passé...Tant pis.
Annuaire de gites et chambres d'hotes en France.
Avatar de l’utilisateur
laurentpetit
 
Messages: 10
Inscription: Jeu 3 Mar 2011 15:01


Retourner vers Installation, aide et report de bugs

 


  • Articles en relation
    Réponses
    Vus
    Dernier message

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités

 
Copyright © arfooo.com  2007 - 2011  -  Tous droits réservés  -  Partenaires de confiance
Sites du groupe: petites annonces gratuites   voyance en direct - tirage tarot   Consultant en référencement
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | phpBB SEO Traduction par: phpBB-fr.com