<p class="MsoNormal">Hi to everyone!</p>
<p class="MsoNormal">I'm trying to show the Legend but when i open the webpage,
it shows this error:</p>
<p class="MsoNormal"><b>Notice</b>: Only variable references should be returned
by reference in <b>C:\ms4w\apps\chameleon\htdocs\WidgetManager.php</b> on line <b>269</b><br>
<b>Notice</b>: Undefined property: Legend::$oMLT in <b>C:\ms4w\apps\chameleon\htdocs\widgets\Legend\Legend.widget.php</b>
on line <b>89</b><br>
<b>Fatal error</b>: Call to a member function get() on a non-object in <b>C:\ms4w\apps\chameleon\htdocs\widgets\Legend\Legend.widget.php</b>
on line <b>89</b></p>
<p class="MsoNormal"><span style="">In my template.html,
i wrote:</span></p>
<p class="MsoNormal" style="line-height: normal;"><span style=""> </span><td></p>
<p class="MsoNormal" style="line-height: normal;"><span style=""> </span><CWC2 TYPE="Legend"</p>
<p class="MsoNormal" style="line-height: normal;"><span style=""> </span>POPUPWIDTH="200"</p>
<p class="MsoNormal" style="line-height: normal;"><span style=""> </span>POPUPHEIGHT="400"</p>
<p class="MsoNormal" style="line-height: normal;"><span style=""> </span>VISIBLE="True"</p>
<p class="MsoNormal" style="line-height: normal;"><span style=""> </span>ENABLED="True"</p>
<p class="MsoNormal" style="line-height: normal;"><span style=""> </span>Visible="true" </p>
<p class="MsoNormal" style="line-height: normal;"><span style=""> </span>LABEL=" Llegenda:"
/></p>
<p class="MsoNormal" style="line-height: normal;"><span style=""> </span><CWC2
TYPE="LegendTemplate"</p>
<p class="MsoNormal" style="line-height: normal;"><span style=""> </span>TEMPLATE="legend_template.html"
/></p>
<p class="MsoNormal" style="line-height: normal;"><span style=""> </span></td></p>
<p class="MsoNormal">And in my map file, I wrote:</p>
<p class="MsoNormal" style="line-height: 12pt;"><span style=""> </span>#Llegenda</p>
<p class="MsoNormal" style="line-height: 12pt;">LEGEND</p>
<p class="MsoNormal" style="line-height: 12pt;"><span style=""> </span>KEYSIZE 18 12</p>
<p class="MsoNormal" style="line-height: 12pt;"><span style=""> </span>LABEL</p>
<p class="MsoNormal" style="line-height: 12pt;"><span style=""> </span>TYPE BITMAP</p>
<p class="MsoNormal" style="line-height: 12pt;"><span style=""> </span>SIZE MEDIUM</p>
<p class="MsoNormal" style="line-height: 12pt;"><span style=""> </span>COLOR 0 0 89</p>
<p class="MsoNormal" style="line-height: 12pt;"><span style=""> </span>END</p>
<p class="MsoNormal" style="line-height: 12pt;"><span style=""> </span>STATUS ON</p>
<p class="MsoNormal" style="line-height: 12pt;">END</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I didn't modify the <i style="">legend_template.html</i>
or <i style="">legend_template_widget.html</i>... I
don't know if I have to...</p>
<p class="MsoNormal">Could someone help me?</p>
<p class="MsoNormal">Thank you very much in advance.</p>