<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><FONT class="Apple-style-span" color="#000000">G'day all,</FONT><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000">we have started to see this problem in a reporting system where depending on the report, more than one map might be generated in the same report (using the same code again)</FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000">The first map comes out fine, and then we start building the second one (using the same code) and instantiate the same $map = new ms_newMapObj().</FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;">Warning: [MapServer Error]: loadSymbolSet(): Parsing error near (SYMBOL):(line 0) in blah blah</SPAN></FONT></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;"><BR class="khtml-block-placeholder"></SPAN></FONT></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;">Warning: [MapServer Error]: msCalculateScale(): Invalid image width or height. in</SPAN></FONT></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;"><BR class="khtml-block-placeholder"></SPAN></FONT></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;">Fatal error: Failed loading symbolset from /ms4w/Apache/htdocs/live/mapserver/symbols/colour.sym in</SPAN></FONT></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><FONT class="Apple-style-span" color="#000000">Given that it works perfectly well in many other parts of the same application (and this one, if there is only one map) I can only assume it is to do with creating another mapObj</FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000">I have tried unsetting the $map object, setting it = null, etc, but I don't seem to be able to get rid of it.</FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000">Can I reuse the class, or is it irrevocably bound up with information from the old one.</FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000">any help on getting around this would be greatly appreciated.</FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000">cheers</FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000">Ben</FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000">(it is using ms4w 1.5.5: </FONT><DIV><DIV><DIV><FONT class="Apple-style-span" color="#000000">MapServer Version</FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000">MapServer version 4.8.4 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG</FONT></DIV></DIV><DIV><DIV><FONT class="Apple-style-span" color="#000000">PHP MapScript Version</FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000">($Revision: 1.242.2.2 $ $Date: 2006/03/16 21:03:01 $)</FONT></DIV></DIV></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><FONT class="Apple-style-span" color="#000000">)</FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR></FONT><DIV> <DIV><FONT class="Apple-style-span" color="#000000">-- </FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000">Ben Madin</FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000">REMOTE INFORMATION</FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000">t : +61 8 9192 5455</FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000">f : +61 8 9192 5535</FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000">m : 0448 887 220</FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000">Broome WA 6725</FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><A href="mailto:ben@remoteinformation.com.au">ben@remoteinformation.com.au</A></FONT></DIV><FONT class="Apple-style-span" color="#000000"><BR class="Apple-interchange-newline"></FONT><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN><FONT class="Apple-style-span" color="#000000">Out here, it pays to know...</FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" color="#000000"><BR class="khtml-block-placeholder"></FONT></DIV><FONT class="Apple-style-span" color="#000000"><BR class="Apple-interchange-newline"> </FONT></DIV><FONT class="Apple-style-span" color="#000000"><BR></FONT></DIV></BODY></HTML>