<!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. 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). Note the malformed "image" path.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">REFERENCE</FONT>
<BR><FONT SIZE=2 FACE="Arial"> COLOR -1 -1 -1</FONT>
<BR><FONT SIZE=2 FACE="Arial"> EXTENT -180 -90 180 90</FONT>
<BR><FONT SIZE=2 FACE="Arial"> IMAGE "C:\Program Files\Chameleon\cwc2\htdocs/images/keymap.png"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> OUTLINECOLOR 255 0 0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> SIZE 240 120</FONT>
<BR><FONT SIZE=2 FACE="Arial"> STATUS OFF</FONT>
<BR><FONT SIZE=2 FACE="Arial"> MARKER 0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> MARKERSIZE 0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> MINBOXSIZE 3</FONT>
<BR><FONT SIZE=2 FACE="Arial"> MAXBOXSIZE 0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">...Here are some of the variables from the SESSION_FILE. Note the trailing slash in "gszCorePath".</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> gszAppWebPath|s:32:"<A HREF="http://localhost/chameleon/cwc2/">http://localhost/chameleon/cwc2/</A>";</FONT>
<BR><FONT SIZE=2 FACE="Arial"> gszAppPath|s:38:"C:\Program Files\Chameleon\cwc2\htdocs";</FONT>
<BR><FONT SIZE=2 FACE="Arial"> gszCoreWebPath|s:27:"<A HREF="http://localhost/chameleon/">http://localhost/chameleon/</A>";</FONT>
<BR><FONT SIZE=2 FACE="Arial">->gszCorePath|s:34:"C:\Program Files\Chameleon\htdocs/";</FONT>
<BR><FONT SIZE=2 FACE="Arial"> gszTmpPath|s:31:"/tmp/ms_tmp/sess_42fb75ca3e4e4/";</FONT>
<BR><FONT SIZE=2 FACE="Arial"> gszTmpMapPath|s:31:"/tmp/ms_tmp/sess_42fb75ca3e4e4/";</FONT>
<BR><FONT SIZE=2 FACE="Arial"> gszTmpWebPath|s:12:"/tmp/ms_tmp/";</FONT>
<BR><FONT SIZE=2 FACE="Arial"> gszTmpImgPath|s:14:"c:/tmp/ms_tmp/";</FONT>
<BR><FONT SIZE=2 FACE="Arial"> gszButtonCachePath|s:22:"c:/tmp/ms_tmp/buttons/";</FONT>
<BR><FONT SIZE=2 FACE="Arial"> gszButtonCacheWebPath|s:20:"/tmp/ms_tmp/buttons/";</FONT>
<BR><FONT SIZE=2 FACE="Arial"> gszMapscriptModule|s:20:"php_mapscript_46.dll";</FONT>
<BR><FONT SIZE=2 FACE="Arial"> gszWMSParseFile|s:55:"C:/Program Files/Chameleon/htdocs/common/wmsparse/win32";</FONT>
<BR><FONT SIZE=2 FACE="Arial"> gszCurrentState|s:15:"1123775961-3563";</FONT>
<BR><FONT SIZE=2 FACE="Arial"> gszMapName|s:42:"/tmp/ms_tmp/sess_42fb75ca3e4e4/default.map";</FONT>
<BR><FONT SIZE=2 FACE="Arial"> gszMapPath|s:0:"";</FONT>
<BR><FONT SIZE=2 FACE="Arial"> KEYMAP_SRS|s:9:"epsg:4326";</FONT>
<BR><FONT SIZE=2 FACE="Arial"> KEYMAP_INIT|s:1:"1";</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"> WEB</FONT>
<BR><FONT SIZE=2 FACE="Arial"> IMAGEPATH ""</FONT>
<BR><FONT SIZE=2 FACE="Arial"> IMAGEURL ""</FONT>
<BR><FONT SIZE=2 FACE="Arial"> METADATA</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END</FONT>
<BR><FONT SIZE=2 FACE="Arial"> QUERYFORMAT text/html</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">...Finally, do I need to configure a WMS connection to "www2.dmsolutions.ca/cgi-bin/" in order to run these apps even though keymap.png is stored locally? I keep seeing the dmsolutions url reference in various session files.</FONT></P>
</BODY>
</HTML>