[mapserver-users] Mapserver error: "Web application error. Missingmagic string, ..."
pcreso at pcreso.com
pcreso at pcreso.com
Tue Oct 27 22:22:53 PDT 2009
Thanks guys...
That was most certainly it :-)
Cheers,
Brent
--- On Wed, 10/28/09, Bob Basques <Bob.Basques at ci.stpaul.mn.us> wrote:
> From: Bob Basques <Bob.Basques at ci.stpaul.mn.us>
> Subject: Re: [mapserver-users] Mapserver error: "Web application error. Missingmagic string, ..."
> To: pcreso at pcreso.com
> Date: Wednesday, October 28, 2009, 12:39 PM
> Brent,
>
> This should help:
>
> http://mapserver.org/development/rfc/ms-rfc-56.html?highlight=magic%20string
>
> bobb
>
>
>
> >>> <pcreso at pcreso.com>
> 10/27/09 6:25 PM >>>
> I have an html template that worked fine with an earlier
> version of Mapserver, but not with v5.4.1
>
> The error mesage is:
>
> Content-type: text/html isValidTemplate(): Web application
> error. Missing magic string,
> /srv/www/htdocs/mapdata/linz_topo/linz_250_template.html
> doesn't look like a MapServer template.
>
> I can't find any docs to help identify what the error is
> & how to fix it.
>
> Any advice appreciated....
>
> Brent Wood
>
>
> The (short) html template I was using is:
>
> <HTML>
> <HEAD>
> <TITLE> Mapserver LINZ250
> prototype</TITLE>
> <HEAD>
> <CENTER>
> <H2> Mapserver demonstration of
> LINZ250 data</H2>
> <FORM method="get"
> action="/cgi-bin/mapserv">
> <TABLE border="0"
> cellspacing="0" cellpadding="4">
> <TR>
> <TD>
> <B><U>
>
> <INPUT name="img" type="image"
> SRC="[img]" width=600 height=480 border=0
> ALT="Map Image"><BR>
> <INPUT type="hidden" name="map"
> value="/srv/www/htdocs/linz_topo/linz250.map">
> <INPUT type="hidden"
> name="imgxy" value="[center_x]
> [center_y]" >
> <INPUT type="hidden"
> name="imgext" value="[mapext]" >
> <INPUT type="hidden"
> name="map" value="[map]"
> >
> <INPUT type="hidden"
> name="savequery" value="true" >
> <INPUT type="hidden"
> name="mapext" value="shapes" >
> <INPUT type="submit"
> value="Redraw/Update">
>
> Zoom In <INPUT
> type=radio name=zoomdir value=1 [zoomdir_1_check]>
>
> Re-center <INPUT type=radio
> name=zoomdir value=0 [zoomdir_0_check]>
>
> Zoom Out <INPUT
> type=radio name=zoomdir value=-1 [zoomdir_-1_check]>
>
> Zoom size <INPUT type=text
> name=zoomsize size=3 value=[zoomsize]>
>
> </TD>
> </TR>
> </TABLE>
> </FORM>
>
> </CENTER>
> </BODY>
> </HTML>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
More information about the MapServer-users
mailing list