Error: legend template

Daniel Morissette dmorissette at DMSOLUTIONS.CA
Tue Aug 24 22:53:02 EDT 2004


nhi791 at abdn.ac.uk wrote:
> Dear list:
>
> Does anyone know what is wrong? when I used Maplab MapBrowser and tried
> to open the tutorial map file: tutorial.map, the following message
> appeared in the Legend area and the legend did not appear:
>
>
> *Warning*: [MapServer Error]: generateLegendTemplate(): Error while
> opening template file. in
> *C:\msapps\maplab-2.2\htdocs\common\wrapper\map_session.php* on line *468
>
>

You would get this because the HMTL template filename specified in the
TEMPLATE parameter of the LEGEND object cannot be found. Make sure the
path and filename is valid.

Daniel
--
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the mapserver-users mailing list