<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Tahoma;}
</STYLE>
Thanks again for your reply, Justin.<BR> <BR>But it hasn't solved my problem.<BR><BR>hovering or right clicking on the "cwcimage_0" text will only point to the sample_basic.phtml# file, and not to the expected button image, as it does for the scale bar and other images.<BR> <BR>Maybe the explanation (and solution) comes from the fact that in my actual configuration I have never seen buttons created to the /ms_tmp/buttons/ folder, and that was unimportant for ver 2.4 but now it's crucial for 2.6. Something related to the skins/ file config? The sample files are identical for 2.4/2.6, and the directories below chameleon are also just the same.<BR> <BR>What else could I check? writing rights, paths and main.phtml I have checked several times.<BR> <BR>Thanks for your reply<BR><BR>John Lace <BR> <BR>
<HR>
<BR>From: justin.ngan@utoronto.ca<BR>To: johnlace65@hotmail.com<BR>Subject: RE: [Chameleon] CwcImage_0 when upgrading to Chameleon 2.6<BR>Date: Mon, 1 Sep 2008 15:00:21 -0400<BR><BR><BR>
<STYLE>
.ExternalClass .EC_shape
{;}
</STYLE>
<STYLE>
.ExternalClass p.EC_MsoNormal, .ExternalClass li.EC_MsoNormal, .ExternalClass div.EC_MsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass a:link, .ExternalClass span.EC_MsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.EC_MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.EC_ecmsonormal, .ExternalClass li.EC_ecmsonormal, .ExternalClass div.EC_ecmsonormal
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.EC_ecmsochpdefault, .ExternalClass li.EC_ecmsochpdefault, .ExternalClass div.EC_ecmsochpdefault
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.EC_ecmsohyperlink
{;}
.ExternalClass span.EC_ecmsohyperlinkfollowed
{;}
.ExternalClass span.EC_ecemailstyle18
{;}
.ExternalClass p.EC_ecmsonormal1, .ExternalClass li.EC_ecmsonormal1, .ExternalClass div.EC_ecmsonormal1
{margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.EC_ecmsohyperlink1
{color:blue;text-decoration:underline;}
.ExternalClass span.EC_ecmsohyperlinkfollowed1
{color:purple;text-decoration:underline;}
.ExternalClass span.EC_ecemailstyle181
{font-family:'Calibri','sans-serif';color:#17365D;}
.ExternalClass p.EC_ecmsochpdefault1, .ExternalClass li.EC_ecmsochpdefault1, .ExternalClass div.EC_ecmsochpdefault1
{margin-right:0in;margin-left:0in;font-size:10.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.EC_EmailStyle28
{font-family:'Calibri','sans-serif';color:#17365D;}
.ExternalClass .EC_MsoChpDefault
{font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;}
.ExternalClass div.EC_Section1
{page:Section1;}
</STYLE>
<DIV class=EC_EC_Section1>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'">Out of curiosity, if you right click on where the icon is expected, and click on properties (sometimes a hover is enough), does it show you where it is looking for the image? This has been a very useful way for us to trouble porting and setup problems!</SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'"> After that, I would look in that location, after the map is loaded (don’t close the session of course) and see if the image is there.</SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'"> If it is: then there is a rights issue between chameleon/mapserver/apache. </SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'">If it is not: are you developing in an environment that offers a ‘file search’ tool and see if you can locate where the ‘expected file’ is being placed?</SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'">Finally, if the search does not return any file of the name expected, then almost for sure, you know that you have a rights problem for ‘writing’. </SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'">Incidentally, after looking at your config file, I know that it looks just the way it SHOULD according to chameleon docs. HOWEVER, I think that in the more recent versions, the *_tmp locations are definitely an issue. I bet, your problem can be fixed by following the above suggestions and finding which temp directory Chameleon is dropping your images. GOOD LUCK! </SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'">I hope this helps a little.</SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'">Justin</SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN></P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=EC_EC_MsoNormal><B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> john lace [mailto:johnlace65@hotmail.com] <BR><B>Sent:</B> Monday, September 01, 2008 10:45 AM<BR><B>To:</B> Justin Ngan<BR><B>Subject:</B> RE: [Chameleon] CwcImage_0 when upgrading to Chameleon 2.6</SPAN></P></DIV></DIV>
<P class=EC_EC_MsoNormal> </P>
<P class=EC_EC_MsoNormal style="MARGIN-BOTTOM: 12pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">Dear Justin:<BR>Thanks for your reply. But all 4 checkpoint you mention seem to be ok.<BR>1.- The chameleon dir is exactly 'chameleon', no capital letters.<BR>2.- There seems to be no directory or files names changed.<BR>3.- I've double checked the temp folder paths. No typos.<BR>4.- All temp folders are rights 777.<BR> <BR>By the way, php error log is clean.<BR><BR>I'm attaching the Chameleon config, using the Admin. Please take a look at it. Thanks in advance.<BR> <BR>John Lace<BR> <BR>----------------<BR>web_server_path /chameleon/htdocs/<BR>ows_schemas_location <A href="http://ogc.dmsolutions.ca/" target=_blank>http://ogc.dmsolutions.ca</A><BR>wms_parse_file <BR>wms_connectiontimeout 30<BR>validate_template true<BR>default_language en-CA<BR>invalid_session_template /usr/local/apache2/htdocs/error.html<BR>mapscript_module php_mapscript.so <BR>image_type AUTO<BR>button_cache_path /usr/local/apache2/htdocs/ms_tmp/buttons/<BR>button_cache_web_path /ms_tmp/buttons/<BR>tmp_web_path /ms_tmp/<BR>tmp_img_path /usr/local/apache2/htdocs/ms_tmp/<BR>execution_timeout 120<BR>maturity_level ALPHA<BR>count_hits false<BR>cache_mlt true<BR> <BR><BR></SPAN></P>
<DIV class=EC_EC_MsoNormal style="TEXT-ALIGN: center" align=center><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">
<HR align=center width="100%" SIZE=2>
</SPAN></DIV>
<P class=EC_EC_MsoNormal style="MARGIN-BOTTOM: 12pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"><BR>From: justin.ngan@utoronto.ca<BR>To: johnlace65@hotmail.com<BR>Subject: RE: [Chameleon] CwcImage_0 when upgrading to Chameleon 2.6<BR>Date: Mon, 1 Sep 2008 07:56:21 -0400<BR><BR></SPAN></P>
<DIV>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'">Hi John, </SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'">I think you are right that it is 1 of 4 possible problems.</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'">The first you have already guessed. Pretty well all Apache (I’m assuming) and Unix setups are case sensitive. So if you did not rename your new environment the same way, you will have this EXACT problem.</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'">Second, I have not made the switch to 2.6 but there could be a directory structure change. So, you might want to confirm that is not the case.</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'">Third, is there any chance that any part of the path to the images folder has been named incorrectly?</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'">Fourth, are there sufficient rights for READ and WRITE to the images directory?</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'">I think that’s it but I’m pretty sure that one will address your problem. It looks very much like a problem encountered during setup. Oh, and if you’ve not used it, the ADMIN (HTML) page for Chameleon to check all the ‘expected’ ‘environment’ paths will be very helpful. You can confirm what your paths are and then check where the HTML page is expecting to find the images in the same place!</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'">I hope this helps</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN></P>
<P class=EC_EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #17365d; FONT-FAMILY: 'Calibri','sans-serif'">Justin</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></SPAN></P></DIV></DIV><br /><hr />Get more from your digital life. <a href='http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home2_082008' target='_new'>Find out how.</a></body>
</html>