[Chameleon-dev] [Bug 681] New: LayerManager2 widget needs absolute paths.

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Fri Oct 1 10:19:28 EDT 2004


http://www.maptools.org/bugzilla/show_bug.cgi?id=681

           Summary: LayerManager2 widget needs absolute paths.
           Product: Chameleon
           Version: 1.99
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: eric at gomoos.org
                CC: pspencer at dmsolutions.ca


1.99 beta release (20040923) has broken the LayerManager2 widget with the
following Apache error log message: 
PHP Warning:  [MapServer Error]: generateLegendTemplate(): Error while opening
template file.
 in
/usr/opt/chameleon/chameleon-1.99beta-20040923/htdocs/widgets/LegendTemplate/LegendTemplate.widget.php
on line 503

The problem lies in the LayerManager2/layermanager2_template_en.html and
layermanger_template_fr.html files which contain: <CWC2 TYPE="LegendTemplateLM"
template="layermanager2legend_template.html">  

A work around is to set the template path to a full absolute URL. http://....



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Chameleon-dev mailing list