<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<BLOCKQUOTE>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass EC_body.hmmessage
{font-size:10pt;font-family:Tahoma;}
</STYLE>

<P style="MARGIN-BOTTOM: 0cm">Hello to everybody in the list.</P>
<P style="MARGIN-BOTTOM: 0cm"><BR></P>
<P style="MARGIN-BOTTOM: 0cm">I have used Chameleon 2.4 on Linux and ms4w for a while, and recently tried to use cwc2. But I haven't been able to install and use Cwc2. After some trials and errors on several platform/chameleon/ms4w/php version combinations, I want to ask for your help.</P>
<P style="MARGIN-BOTTOM: 0cm"><BR></P>
<P style="MARGIN-BOTTOM: 0cm">I have tried several configurations. Among others are;</P>
<P style="MARGIN-BOTTOM: 0cm">WinXPSP2 &amp; ms4w_1.6.zip &amp; chameleon-ms4w2.4.1.zip </P>
<P style="MARGIN-BOTTOM: 0cm">WinXPSP2 &amp; ms4w_1.6.zip &amp; chameleon-ms4w2.6.0.rc1.zip </P>
<P style="MARGIN-BOTTOM: 0cm">WinXPSP2 &amp; ms4w_2.2.6.zip &amp; chameleon-ms4w2.6.0.rc1.zip </P>
<P style="MARGIN-BOTTOM: 0cm">WinXPSP2 &amp; ms4w_2.2.6.zip &amp; chameleon-2.6.0.rc1.zip (the plain files. By the way, there are differences among these two 2.6.0.rc1 files, specially in cwc2.xml config file.)</P>
<P style="MARGIN-BOTTOM: 0cm">Linux CentOS 4 &amp; php4 &amp; an old chameleon-2.2 I had installed.</P>
<P style="MARGIN-BOTTOM: 0cm">Linux CentOS 4 &amp; php4 &amp; chameleon-2.4.1</P>
<P style="MARGIN-BOTTOM: 0cm">Linux CentOS 4 &amp; php4 &amp; chameleon-2.6.0.rc1</P>
<P style="MARGIN-BOTTOM: 0cm">Linux CentOS 5 &amp; php5 &amp; chameleon-2.6.0.rc1</P>
<P style="MARGIN-BOTTOM: 0cm"><BR></P>
<P style="MARGIN-BOTTOM: 0cm">In all cases, Chameleon gets installed successfully, but when I try to use Cwc2 with:</P>
<P style="MARGIN-BOTTOM: 0cm">http://localhost/chameleon/cwc2/cwc2.php?service=VCG&amp;request=GetApplication&amp;version=0.1.0</P>
<P style="MARGIN-BOTTOM: 0cm"><BR></P>
<P style="MARGIN-BOTTOM: 0cm">I keep getting one of these two errors. One for win and one for linux. </P>
<P style="MARGIN-BOTTOM: 0cm"><BR></P>
<P style="MARGIN-BOTTOM: 0cm">Error on Linux ( see full error below )</P>
<P style="MARGIN-BOTTOM: 0cm">Warning: [MapServer Error]: getDouble(): Parsing error near (nan):(line 2) </P>
<P style="MARGIN-BOTTOM: 0cm">in /var/www/html/Map/htdocs/chameleon/htdocs/common/wrapper/map_session.php on line 215</P>
<P style="MARGIN-BOTTOM: 0cm"><BR></P>
<P style="MARGIN-BOTTOM: 0cm">Error on Windows ( see full error below )</P>
<P style="MARGIN-BOTTOM: 0cm">Warning: [MapServer Error]: getDouble(): Parsing error near (IMAGECOLOR):(line 3) in C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php on line 215</P>
<P style="MARGIN-BOTTOM: 0cm"><BR></P>
<P style="MARGIN-BOTTOM: 0cm">Both errors are very similar, because:</P>
<P style="MARGIN-BOTTOM: 0cm">+ Both are trailed by extent errors, and later by session and default.map errors.</P>
<P style="MARGIN-BOTTOM: 0cm">+ In both cases, the session_file, and the sess_1234567890 gets created correctly, also the buttons and default.map in /tmp </P>
<P style="MARGIN-BOTTOM: 0cm">+ The /tmp/default.map file starts with “MAP EXTENT nan nan nan nan” for linux or “MAP EXTENT -1.#IND -1.#IND -1.#IND -1.#IND” on windows</P>
<P style="MARGIN-BOTTOM: 0cm">So I think they should be related to the same problem, only I can't figure out what it is.</P>
<P style="MARGIN-BOTTOM: 0cm"><BR></P>
<P style="MARGIN-BOTTOM: 0cm">I also tried to solve that by changing some other files, with no luck. I tried:</P>
<P style="MARGIN-BOTTOM: 0cm">+Using the template and context files from <A href="http://chameleon-tiki.maptools.org/tiki-pagehistory.php?page=Chameleon+Service+Instance+Lab&amp;preview=10" target=_blank><U><FONT color=#800080>http://chameleon-tiki.maptools.org/tiki-pagehistory.php?page=Chameleon+Service+Instance+Lab&amp;preview=10</FONT></U></A></P>
<P style="MARGIN-BOTTOM: 0cm">+Compiling and using the source C wmsparse in linux and wmsparse.exe in win</P>
<P style="MARGIN-BOTTOM: 0cm">+Adjusting session.save_path in php.ini to match the chameleon tmp files</P>
<P style="MARGIN-BOTTOM: 0cm"><BR></P>
<P style="MARGIN-BOTTOM: 0cm">I have searched the list and the web, but haven't found any reference to this problem.</P>
<P style="MARGIN-BOTTOM: 0cm"><BR></P>
<P style="MARGIN-BOTTOM: 0cm">I'll appreciate your help.</P>
<P style="MARGIN-BOTTOM: 0cm"><BR></P>
<P style="MARGIN-BOTTOM: 0cm">Best Regards</P>
<P style="MARGIN-BOTTOM: 0cm"><BR></P>
<P style="MARGIN-BOTTOM: 0cm">John Lace</P>
<P style="MARGIN-BOTTOM: 0cm">&nbsp;</P>
<P style="MARGIN-BOTTOM: 0cm">&nbsp;</P>
<P style="MARGIN-BOTTOM: 0cm">&nbsp;</P>
<P style="MARGIN-BOTTOM: 0cm"><B>Full error on Linux</B></P>
<P style="MARGIN-BOTTOM: 0cm">Warning: [MapServer Error]: getDouble(): Parsing error near (nan):(line 2) </P>
<P style="MARGIN-BOTTOM: 0cm">in /var/www/html/Map/htdocs/chameleon/htdocs/common/wrapper/map_session.php on line 215</P>
<P style="MARGIN-BOTTOM: 0cm">Warning: [MapServer Error]: msCalculateScale(): Invalid image extent, minx=nan, miny=nan, maxx=nan, maxy=nan. in /var/www/html/Map/htdocs/chameleon/htdocs/common/wrapper/map_session.php on line 215</P>
<P style="MARGIN-BOTTOM: 0cm">Warning: Failed to open map file /var/www/html/ms_tmp//sess_47a7bb00ce23b/default.map in /var/www/html/Map/htdocs/chameleon/htdocs/common/wrapper/map_session.php on line 215</P>
<P style="MARGIN-BOTTOM: 0cm">Notice: Trying to get property of non-object in /var/www/html/Map/htdocs/chameleon/htdocs/chameleon.php on line 766</P>
<P style="MARGIN-BOTTOM: 0cm">Notice: Trying to get property of non-object in /var/www/html/Map/htdocs/chameleon/cwc2/htdocs/cwc2.php on line 711</P>
<P style="MARGIN-BOTTOM: 0cm">Fatal error: Call to a member function set() on a non-object in /var/www/html/Map/htdocs/chameleon/cwc2/htdocs/cwc2.php on line 711</P>
<P style="MARGIN-BOTTOM: 0cm">&nbsp;</P>
<P style="MARGIN-BOTTOM: 0cm"><B>Full Error on Windows ms4w</B></P>
<P style="MARGIN-BOTTOM: 0cm">Warning: [MapServer Error]: getDouble(): Parsing error near (IMAGECOLOR):(line 3) in C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php on line 215</P>
<P style="MARGIN-BOTTOM: 0cm">Warning: [MapServer Error]: msCalculateScale(): Invalid image extent, minx=-1.#IND00, miny=-1.#IND00, maxx=-1.#IND00, maxy=-1.#IND00. in C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php on line 215</P>
<P style="MARGIN-BOTTOM: 0cm">Warning: Failed to open map file /ms4w/apps/chameleon/htdocs/tmp/sess_47a7aa46ca2df/default.map in C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php on line 215</P>
<P style="MARGIN-BOTTOM: 0cm">Notice: Trying to get property of non-object in C:\ms4w\apps\chameleon\cwc2\htdocs\cwc2.php on line 711</P>
<P style="MARGIN-BOTTOM: 0cm">Fatal error: Call to a member function set() on a non-object in C:\ms4w\apps\chameleon\cwc2\htdocs\cwc2.php on line 711</P>
<P style="MARGIN-BOTTOM: 0cm">&nbsp;</P></BLOCKQUOTE><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>