Tutorial Example1-9

Ken Lord kenlord at GMAIL.COM
Tue Mar 15 12:36:57 EST 2005


Hi Olanrewaju,

Generally when you see that error, it's because your mapfile has the
wrong TEMPLATEPATTERN value.  The value must match (or partialy match)
the name of the html template being used.

For example i have a mapfile with a templatepattern value of
'mapimage' that works with an html template named mapimage.html.  I
have other mapfiles and templates that have values similar to this:
xxx_FOO.html, templatepattern FOO

Its a kind of security tool to help prevent people from accessing your
mapfiles in ways you may not want.

It sounds like in the example, the template or mapfile changed from
the previous example, and the templatepattern value no longer matches.

Cheers,
Ken Lord
Vancouver BC

On Tue, 15 Mar 2005 08:03:07 +0000, Lawal Olanrewaju
<hypery2kus at yahoo.com> wrote:
> Hi Everyone
> I am a new to Mapserver and I am kind of stuck at
> example1-9 of the Tutorial. The second map is not
> displayed I only get the message submit query in this
> box. And if click on this box I get at error message
> like this
> msEvalRegex(): Regular expression error. String
> ([map]) failed expression test.
> Can anyone help me out
> Thanks
>
> Olanrewaju Lawal
> Institute for Soil Science and Land Evaluation (310)
> University of Hohenheim
> 70599, Stuttgart
> Germany
> Office. +497114593633
> Mob.   +491797397160
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
>



More information about the mapserver-users mailing list