<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7232.77">
<TITLE>[Chameleon] Error Rendering Map Image</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">The strange characters that appeared in my Apache error log (previous message) were the actual characters in the error message and not a copy/paste error.&nbsp; I must have a URL or path screwed up somewhere. I found the following reference in several session files, including MAPDHTML_ADJUST.map and the current state files (e.g. 1123775961-3563.map).&nbsp; Note the malformed &quot;image&quot; path.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">REFERENCE</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; COLOR -1 -1 -1</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; EXTENT -180 -90 180 90</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; IMAGE &quot;C:\Program Files\Chameleon\cwc2\htdocs/images/keymap.png&quot;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; OUTLINECOLOR 255 0 0</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; SIZE 240 120</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; STATUS OFF</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MARKER 0</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MARKERSIZE 0</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINBOXSIZE 3</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MAXBOXSIZE 0</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; END</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">...Here are some of the variables from the SESSION_FILE. Note the trailing slash in &quot;gszCorePath&quot;.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">&nbsp; gszAppWebPath|s:32:&quot;<A HREF="http://localhost/chameleon/cwc2/">http://localhost/chameleon/cwc2/</A>&quot;;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; gszAppPath|s:38:&quot;C:\Program Files\Chameleon\cwc2\htdocs&quot;;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; gszCoreWebPath|s:27:&quot;<A HREF="http://localhost/chameleon/">http://localhost/chameleon/</A>&quot;;</FONT>

<BR><FONT SIZE=2 FACE="Arial">-&gt;gszCorePath|s:34:&quot;C:\Program Files\Chameleon\htdocs/&quot;;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; gszTmpPath|s:31:&quot;/tmp/ms_tmp/sess_42fb75ca3e4e4/&quot;;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; gszTmpMapPath|s:31:&quot;/tmp/ms_tmp/sess_42fb75ca3e4e4/&quot;;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; gszTmpWebPath|s:12:&quot;/tmp/ms_tmp/&quot;;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; gszTmpImgPath|s:14:&quot;c:/tmp/ms_tmp/&quot;;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; gszButtonCachePath|s:22:&quot;c:/tmp/ms_tmp/buttons/&quot;;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; gszButtonCacheWebPath|s:20:&quot;/tmp/ms_tmp/buttons/&quot;;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; gszMapscriptModule|s:20:&quot;php_mapscript_46.dll&quot;;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; gszWMSParseFile|s:55:&quot;C:/Program Files/Chameleon/htdocs/common/wmsparse/win32&quot;;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; gszCurrentState|s:15:&quot;1123775961-3563&quot;;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; gszMapName|s:42:&quot;/tmp/ms_tmp/sess_42fb75ca3e4e4/default.map&quot;;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; gszMapPath|s:0:&quot;&quot;;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; KEYMAP_SRS|s:9:&quot;epsg:4326&quot;;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; KEYMAP_INIT|s:1:&quot;1&quot;;</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">...Furthermore, in DEFAULT.map I found this, which I thought should point to something, maybe not.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">&nbsp; WEB</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; IMAGEPATH &quot;&quot;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; IMAGEURL &quot;&quot;</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; METADATA</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; QUERYFORMAT text/html</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; END</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">...Finally, do I need to configure a WMS connection to &quot;www2.dmsolutions.ca/cgi-bin/&quot; in order to run these apps even though keymap.png is stored locally?&nbsp; I keep seeing the dmsolutions url reference in various session files.</FONT></P>

</BODY>
</HTML>