Hi Jay,<br>
<br>
Firstly, thanks for replying!<br>
Secondly...<br>
<br>
- What version of MapServer and Chameleon did you upgrade from?<br>
ms4w 1.0.3 and chameleon 2.0 to ms4w 1.2.1 and chameleon 2.2<br>
<br>
- Do your two working applications use a different output format from<br>

those that have stopped working?<br>

They do not contain an explicit output format. (But neither did the non-working apps.)<br>
<br>
- Can you post the first 20-25 lines of your MapFile?<br>
Please see below.&nbsp; <br>
<br>
I think we have actually resolved the problem, but I am really not sure
how.&nbsp; We did some copying and pasting from other map files and
that seemed to do it, but I get the feeling that not all of the new
code was necessary to fix the problem.&nbsp; The&nbsp; two versions of
the new/old portions code are pasted below.&nbsp; While it is no longer
critical, my colleagues and I could really benefit from an explanation
of why the new code works, while the other code doesn't.&nbsp; Perhaps
this is more of a MapServer list question, after all, but I thought I
would continue the thread here since it was started in this list.<br>
<br>
I really appreciate your help!<br>
<br>
Thanks,<br>
Jennifer Zeisloft<br>
UW-Sea Grant<br>
<br>
Mapfile Code OLD (worked in old install, not working in new install))-------------------------------------------------<br>
NAME DEMO<br>
STATUS ON<br>
SIZE 400 300<br>
SYMBOLSET ../etc/symbols.sym<br>
EXTENT -93.04 39.66 -75.14 50.50<br>
UNITS DD<br>
SHAPEPATH &quot;../data/great_lakes&quot;<br>
IMAGECOLOR 255 255 255<br>
IMAGETYPE PNG24<br>
FONTSET ../etc/fonts.txt<br>
<br>
#<br>
# Start of web interface definition<br>
#<br>
WEB<br>
&nbsp; MINSCALE 20000<br>
&nbsp; MAXSCALE 100000000<br>
#<br>
# On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the root <br>
# of the drive where the .MAP file resides.<br>
#<br>
&nbsp; IMAGEPATH &quot;/ms4w/tmp/ms_tmp/&quot; <br>
&nbsp; IMAGEURL &quot;/ms_tmp/&quot;<br>
#&nbsp; LOG &quot;/tmp/gmap.log&quot;<br>
&nbsp; METADATA<br>
&nbsp; END<br>
END #Web<br>
<br>
#<br>
# Start of reference map<br>
#<br>
REFERENCE<br>
&nbsp;&nbsp; IMAGE images/gl_keymap.gif<br>
&nbsp;&nbsp; EXTENT -93.04 39.66 -75.14 50.50<br>
&nbsp;&nbsp; STATUS ON<br>
&nbsp; COLOR -1 -1 -1<br>
&nbsp; OUTLINECOLOR 255 0 0<br>
&nbsp; SIZE 120 75&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
END #Reference<br>
<br>
#<br>
# Start of legend<br>
#<br>
LEGEND<br>
&nbsp; KEYSIZE 18 12<br>
&nbsp; LABEL<br>
&nbsp;&nbsp;&nbsp; TYPE BITMAP<br>
&nbsp;&nbsp;&nbsp; SIZE MEDIUM<br>
&nbsp;&nbsp;&nbsp; COLOR 0 0 89<br>
&nbsp; END<br>
&nbsp; STATUS ON<br>
END #Legend<br>
<br>
#<br>
# Start of scalebar<br>
#<br>
SCALEBAR<br>
&nbsp; IMAGECOLOR 255 255 255<br>
&nbsp; LABEL<br>
&nbsp;&nbsp;&nbsp; COLOR 0 0 0 <br>
&nbsp;&nbsp;&nbsp; SIZE SMALL<br>
&nbsp; END<br>
&nbsp; SIZE 150 5<br>
&nbsp; COLOR 255 255 255<br>
&nbsp; BACKGROUNDCOLOR 0 0 0<br>
&nbsp; OUTLINECOLOR 0 0 0<br>
&nbsp; UNITS miles<br>
&nbsp; INTERVALS 5<br>
&nbsp; STATUS ON<br>
END #Scalebar<br>
<br>
<br>
QUERYMAP<br>
&nbsp; STYLE HILITE<br>
&nbsp; COLOR 255 0 0<br>
END #Querymap<br>
<br>
PROJECTION<br>
&nbsp;&nbsp;&nbsp; &quot;init=epsg:4326&quot;<br>
END # Projection<br>
<br>
Mapfile Code: NEW (works in new
install)------------------------------------------------------------------------------------------<br>

MAP<br>

&nbsp; EXTENT -93.04 39.66 -75.14 50.50<br>

&nbsp; FONTSET &quot;../etc/fonts.txt&quot;<br>

&nbsp; IMAGECOLOR 255 255 255<br>

&nbsp; IMAGETYPE PNG<br>

&nbsp; SYMBOLSET &quot;../etc/symbols.sym&quot;<br>

&nbsp; SHAPEPATH &quot;../data/great_lakes&quot;<br>

&nbsp; SIZE 400 300<br>

&nbsp; STATUS ON<br>

&nbsp; UNITS DD<br>

&nbsp; NAME &quot;Great Lakes Demo&quot;<br>

<br>

&nbsp; OUTPUTFORMAT<br>

&nbsp;&nbsp;&nbsp; NAME png<br>

&nbsp;&nbsp;&nbsp; MIMETYPE image/png<br>

&nbsp;&nbsp;&nbsp; DRIVER GD/PNG<br>

&nbsp;&nbsp;&nbsp; EXTENSION png<br>

&nbsp;&nbsp;&nbsp; IMAGEMODE PC256<br>

&nbsp;&nbsp;&nbsp; TRANSPARENT FALSE<br>

&nbsp; END<br>

<br>

&nbsp; PROJECTION<br>

&nbsp;&nbsp;&nbsp; &quot;init=epsg:4326&quot;<br>

&nbsp; END #Projection<br>

<br>

#<br>

# Start of legend<br>

#<br>

&nbsp; LEGEND<br>

&nbsp;&nbsp;&nbsp; IMAGECOLOR 255 255 255<br>

&nbsp;&nbsp;&nbsp; KEYSIZE 18 12<br>

&nbsp;&nbsp;&nbsp; KEYSPACING 5 5<br>

&nbsp;&nbsp;&nbsp; LABEL<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE MEDIUM<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE BITMAP<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BUFFER 0<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 89<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FORCE FALSE<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINDISTANCE -1<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINFEATURESIZE -1<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OFFSET 0 0<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PARTIALS TRUE<br>

&nbsp;&nbsp;&nbsp; END<br>

&nbsp;&nbsp;&nbsp; POSITION LL<br>

&nbsp;&nbsp;&nbsp; STATUS ON<br>

&nbsp; END #Legend<br>

<br>

&nbsp; QUERYMAP<br>

&nbsp;&nbsp;&nbsp; COLOR 255 0 0<br>

&nbsp;&nbsp;&nbsp; SIZE -1 -1<br>

&nbsp;&nbsp;&nbsp; STATUS OFF<br>

&nbsp;&nbsp;&nbsp; STYLE HILITE<br>

&nbsp; END #Querymap<br>

<br>

#<br>

# Start of reference map<br>

#<br>

&nbsp; REFERENCE<br>

&nbsp;&nbsp;&nbsp; COLOR -1 -1 -1<br>

&nbsp;&nbsp;&nbsp; EXTENT -93.04 39.66 -75.14 50.50<br>

&nbsp;&nbsp;&nbsp; IMAGE &quot;images/gl_keymap.gif&quot;<br>

&nbsp;&nbsp;&nbsp; OUTLINECOLOR 255 0 0<br>

&nbsp;&nbsp;&nbsp; SIZE 120 75<br>

&nbsp;&nbsp;&nbsp; STATUS ON<br>

&nbsp; END #Reference<br>

<br>

#<br>

# Start of scalebar<br>

#<br>

&nbsp; SCALEBAR<br>

&nbsp;&nbsp;&nbsp; BACKGROUNDCOLOR 0 0 0<br>

&nbsp;&nbsp;&nbsp; COLOR 255 255 255<br>

&nbsp;&nbsp;&nbsp; IMAGECOLOR 255 255 255<br>

&nbsp;&nbsp;&nbsp; LABEL<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE SMALL<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE BITMAP<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BUFFER 0<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FORCE FALSE<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINDISTANCE -1<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINFEATURESIZE -1<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OFFSET 0 0<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PARTIALS TRUE<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION CR<br>

&nbsp;&nbsp;&nbsp; END<br>

&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0<br>

&nbsp;&nbsp;&nbsp; POSITION LL<br>

&nbsp;&nbsp;&nbsp; SIZE 150 5<br>

&nbsp;&nbsp;&nbsp; STATUS ON<br>

&nbsp;&nbsp;&nbsp; STYLE 0<br>

&nbsp;&nbsp;&nbsp; TRANSPARENT TRUE<br>

&nbsp;&nbsp;&nbsp; UNITS miles<br>

&nbsp;&nbsp;&nbsp; INTERVALS 5<br>

&nbsp;&nbsp; END #Scalebar<br>

<br>

#<br>

# Start of web interface definition<br>

#<br>

&nbsp; WEB<br>

# On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the root <br>

# of the drive where the .MAP file resides.<br>

#<br>

&nbsp; IMAGEPATH &quot;/ms4w/tmp/ms_tmp/&quot; <br>

&nbsp; IMAGEURL &quot;/ms_tmp/&quot;<br>

#&nbsp; LOG &quot;/tmp/gmap.log&quot;<br>

#&nbsp; MINSCALE 20000<br>

#&nbsp; MAXSCALE 100000000<br>

&nbsp;&nbsp;&nbsp; METADATA<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;original_projection&quot; &quot;init=epsg:4326&quot;<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;original_extents&quot; &quot;-93.04 39.66 -75.14 50.50&quot;<br>

&nbsp;&nbsp;&nbsp; END<br>

&nbsp;&nbsp;&nbsp; QUERYFORMAT text/html<br>

&nbsp; END #Web<br>
<br>
<br><br><div><span class="gmail_quote">On 8/18/05, <b class="gmail_sendername">Jason Fournier</b> &lt;<a href="mailto:jfournier@dmsolutions.ca">jfournier@dmsolutions.ca</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jennifer,<br><br>While I'm not a MapServer guy by any stretch I can at least get the ball<br>rolling ...<br><br>- What version of MapServer and Chameleon did you upgrade from?<br>- Can you post the first 20-25 lines of your MapFile?
<br>- Do your two working applications use a different output format from<br>those that have stopped working?<br><br>Jay<br><br><br><br>Jennifer Zeisloft wrote:<br>&gt; Greetings All-<br>&gt;<br>&gt; We recently upgraded our Chameleon and ms4w installations to the most
<br>&gt; current versions.&nbsp;&nbsp;This is usually no trouble, but not this time.&nbsp;&nbsp;All<br>&gt; but two of the mapping applications (and I can't really say what is<br>&gt; different about those two applications) give the following error in the
<br>&gt; map window (and no pop-up error):<br>&gt;<br>&gt; Error rendering map image:<br>&gt; A fatal error has occurred restoring your session.<br>&gt; Please restart the application.<br>&gt;<br>&gt; If you click the &quot;update map&quot; button, the entire interface disappears
<br>&gt; and the following errors appear:<br>&gt;<br>&gt; *Warning*: [MapServer Error]: loadOutputFormat(): Parsing error near<br>&gt; (;):(line 15) in<br>&gt; *C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php* on line *215*
<br>&gt;<br>&gt; *Warning*: Failed to open map file<br>&gt; /ms4w/tmp/sess_43052b1d38e51/1124412195-2907.map in<br>&gt; *C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php* on line *215*<br>&gt;<br>&gt; *Fatal error*: Call to a member function on a non-object in
<br>&gt; *C:\ms4w\apps\chameleon\htdocs\widgets\KeyMapDHTML\KeyMapDHTML.widget.php*<br>&gt; on line *150*<br>&gt;<br>&gt;<br>&gt; Any ideas or solutions would be greatly appreciated.&nbsp;&nbsp;Thanks in advance<br>&gt; for your help!
<br>&gt;<br>&gt; Jennifer Zeisloft<br>&gt; UW-Sea Grant<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>&gt; Chameleon mailing list
<br>&gt; <a href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</a><br>&gt; <a href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</a><br><br>
--<br>________________________<br>Jason Fournier<br><br>DM Solutions Group Inc.<br><a href="mailto:jfournier@dmsolutions.ca">jfournier@dmsolutions.ca</a><br><a href="http://www.dmsolutions.ca">www.dmsolutions.ca</a><br>613.565.5056
 x18<br>_______________________________________________<br>Chameleon mailing list<br><a href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/chameleon">
http://lists.maptools.org/mailman/listinfo/chameleon</a><br></blockquote></div><br>