All problems solved!!!
Thank you Dave!!

I changed my Settings in Site Admin and now the WMS server works.

I also found that I needed to change from localhost to my server name in the 
KMLCONTENTFACTORY.PHP file.

Now to modify the sample code for use with my own data...


Did you check your settings in Site Admin for WMS and change the server name 
from localhost?

Dave

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Jonathan W
Sent: Tuesday, April 14, 2009 7:26 AM
To: [email protected]
Subject: [mapguide-users] Mapguide site works fine on host machine, not running 
properly on others


I have just started to use mapguide, Great program!!

I have downloaded the google earth sample and loaded it to my machine 
(localhost)
http://data.mapguide.com/mapguide/DynamicKml/GoogleEarth.php

I had to change a line of code to make the thing work:  header('Content-type: 
application/vnd.google-earth.kml+xml'); thanks to a previous post

http://n2.nabble.com/Google-Earth-and-MapGuide-Example-td1817668.html#a1817668

I have also changed the server name in various parts of the code files 

The sample works perfectly on my machine but when I try to run it from another 
machine within our secure network the KMLContentFactory.php does not generate a 
KML file. (the rest of mapguide works fine thou) 

I have also turned a few layers on for a WMS server.  It works great on my 
computer but when I try another machine it tells me that a WMS server is there 
but it refuses to actually display anything.

Has anyone encountered this problem before? I have set my permissions for the 
mapguide folder to be readable and writeable to everyone.  I am using IIS on a 
Windows XP computer.  Any ideas? Is it something with the server I am running 
or with the code in mapguide?

-- 
View this message in context: 
http://n2.nabble.com/Mapguide-site-works-fine-on-host-machine%2C-not-running-properly-on-others-tp2633065p2633065.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users



-- 
View this message in context: 
http://n2.nabble.com/Mapguide-site-works-fine-on-host-machine%2C-not-running-properly-on-others-tp2633065p2634064.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to