[Geomoose-users] Installing Geomoose; What next?
Jim Klassen
klassen.js at gmail.com
Tue Jul 31 07:09:20 PDT 2012
I have no experience with GeoMoose on IIS but...
You said you were getting an error saying GeoMoose could not load the mapbook. This means either the server returned an error (404,500, etc) or otherwise didn't return a valid mapbook when GeoMoose requested ./php/getmapbook.php.
It would really help if you had something akin to Firebug so you could see what the server is sending on the getmapbook.php call. My guess is if you haven't moved anything from the base ms4w install is that you don't have PHP configured properly and IIS is sending the PHP file rather than executing the PHP file and sending the results.
There are logs/error messages, but I have no idea where for IIS. With apache look for error.log and access.log to see what the server is up to. And as I said above, something like Firebug (console and network tabs are most useful) lets you see what GeoMoose is up to.
Also, the local settings you are looking at would not change if the mapbook would get successfully loaded or not. mapserver_url could effect if any local maps show up or not after the mapbook in loaded.
On Jul 31, 2012, at 5:12 AM, Jonathan Moules wrote:
> HI List,
> I'm still not making any headway. I've now read/glanced over all of the documentation here: http://www.geomoose.org/docs/index.html - but am none the wiser.
> Everything is still set to the defaults, though I have started playing with the "paths" in local_settings.ini.
>
> Unfortunately the documentation doesn't make it clear where these relative paths are relative to, so I can't be sure if they're correct or not.
>
> My paths:
> [paths]
> root=/ms4w/apps/geomoose2/maps/
> mapserver_url=/GeoMoose_cgi/mapserv.exe
> temp=/ms4w/tmp/ms_tmp/
>
> Documentation:
> root – root for the map (only configured through local_settings.ini)
> temp – web accessible location of the temp files relative to the root of the domain (only configured through local_settings.ini)
>
> While the "temp" one specifies "root of the domain", is that the web domain (i.e., "localhost"), in which case shouldn't it be called "temp_url" like the "mapserver_url" variable is? I have a virtual directory for ms_tmp set up, but changing this to point at that doesn't work either.
>
> Any thoughts? How do I debug what the actual problem is? Are there error logs somewhere?
> Thanks,
> Jonathan
>
>
> On 30 July 2012 13:12, Jonathan Moules <jonathanmoules at warwickshire.gov.uk> wrote:
> Hi,
> I've managed to (eventually) get GeoMoose 2.6 & MapServer-4-Windows working with IIS7. But now when I try and access GeoMoose I get the following:
>
>
> "Could not load a mapbook. If you are the system administrator, you should look into this, if you are not the system administrator you should tell them about this. Suggestions:
> The mapbook may not be returning XML.
> The mapbook may be returning malformed XML.
> PHP may not be responding."
>
> PHP is running (a simple php script calling phpinfo(); in the GeoMoose directory shows that).
>
> Unfortunately at this point the documentation seems to have a gap. I can find massive amounts of detailed information about what to put in my mapbooks, what different config settings etc do, but there seems to be a lack of over-arching documentation. It doesn't tell me clearly where the mapbooks are, what settings I need to tweak to point them at the mapbooks, where the config settings.ini file is. Parts of this information seem to be scattered around (I eventually managed to find http://geomoose.org/docs/settings.html (I'd suggest this be pointed to from "Next steps" here - http://www.geomoose.org/docs/install_ms4w.html )).
>
> Shouldn't the it be loading the demo mapbook? What do I need to change next? settings.ini is pointing to "mapbook.xml" and there is one of them in the conf directory too.
>
> Anyone have any thoughts?
> Thanks,
> Jonathan
>
>
>
> This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20120731/00e4d7b5/attachment.html>
More information about the Geomoose-users
mailing list