[Chameleon] cwc2 instance

Tyler Mitchell tylermitchell at shaw.ca
Tue Aug 9 11:01:52 EDT 2005


Timothy, does your PHP install have the php_session module/extension.  Check your php extensions folder to see.  You will need this.

Tyler
Content-type: multipart/alternative;
	boundary="----_=_NextPart_001_01C59C6F.047D4E12"
Content-class: urn:content-classes:message


------_=_NextPart_001_01C59C6F.047D4E12
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Thus far I have successfully tested my Apache2, PHP 4.4.0, and Chameleon
package.  But, I can't seem to get my cwc2 instance configured properly.
When I test the service (by typing the path to cwc2.php in a browser) I
get the following error message - FATAL ERROR: Session save path ()
doesn't exist or is not writable.  Here are my current settings:

GENERAL PATH INFORMATION
Apache RootDir:		C:\Program Files\Apache Group\Apache2\htdocs
Chameleon:		C:\Program Files\Chameleon
Chameleon.php		C:\Program Files\Chameleon\htdocs
CWC2.php		C:\Program Files\Chameleon\cwc2\htdocs

CHAMELEON.XML
web_server_path	/chameleon   (Apache alias to /chameleon/htdocs)
wms_parse_file		C:/Program
Files/Chameleon/htdocs/common/wmsparse/win32
mapscript_module	php_mapscript_46.dll
button_cache_path	c:/tmp/ms_tmp/buttons/
button_cache_web_path	/tmp/ms_tmp/buttons  (Apache alias to
/tmp/ms_tmp/buttons)
tmp_web_path		/tmp/ms_tmp	(Apache alias to /tmp/ms_tmp)
tmp_img_path		c:/tmp/ms_tmp

CWC2.XML
service_instance_path	/chameleon/cwc2  (Apache alias to /cwc2/htdocs)
server_data_path	C:/Program Files/chameleon/cwc2/data/
default_context		C:/Program
Files/chameleon/cwc2/contexts/world_context.xml
default_template		C:/Program
Files/chameleon/cwc2/templates/sample_cwc2.html
context_root		C:/Program Files/chameleon/cwc2/contexts/
template_root		C:/Program Files/chameleon/cwc2/templates/
fontlist_file		C:/Program Files/chameleon/cwc2/etc/fonts.txt
symbol_file		C:/Program Files/chameleon/cwc2/etc/symbols.sym


Questions:

1) When I installed MapScript 4.6 and its associated dll's, there were
some MapServer executables in the zip file but no instructions on what
to do with them.  Are they necessary or extraneous?

2) Beyond viewing "localhost/chameleon/samples", are there additional
tests I can perform to check my chameleon installation BEFORE
configuring the CWC2 service instance?  I am trying to isolate my
problems to the service instance.

Thanks,
Tim

------_=_NextPart_001_01C59C6F.047D4E12
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7232.77">
<TITLE>cwc2 instance</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Arial">Thus far I have successfully tested my =
Apache2, PHP 4.4.0, and Chameleon package.&nbsp; But, I can't seem to =
get my cwc2 instance configured properly.&nbsp; When I test the service =
(by typing the path to cwc2.php in a browser) I get the following error =
message - FATAL ERROR: Session save path () doesn't exist or is not =
writable.&nbsp; Here are my current settings:</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">GENERAL PATH INFORMATION</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Apache RootDir: =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\Program Files\Apache =
Group\Apache2\htdocs</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">Chameleon:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\Program =
Files\Chameleon</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Chameleon.php&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\Program =
Files\Chameleon\htdocs</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">CWC2.php&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\Program =
Files\Chameleon\cwc2\htdocs</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">CHAMELEON.XML</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">web_server_path /chameleon&nbsp;&nbsp; =
(Apache alias to /chameleon/htdocs)</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">wms_parse_file&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:/Program =
Files/Chameleon/htdocs/common/wmsparse/win32</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">mapscript_module&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 php_mapscript_46.dll</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">button_cache_path&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
c:/tmp/ms_tmp/buttons/</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">button_cache_web_path&nbsp;&nbsp; =
/tmp/ms_tmp/buttons&nbsp; (Apache alias to /tmp/ms_tmp/buttons)</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">tmp_web_path&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
/tmp/ms_tmp&nbsp;&nbsp;&nbsp;&nbsp; (Apache alias to /tmp/ms_tmp)</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">tmp_img_path&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:/tmp/ms_tmp</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">CWC2.XML</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">service_instance_path&nbsp;&nbsp; =
/chameleon/cwc2&nbsp; (Apache alias to /cwc2/htdocs)</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">server_data_path&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 C:/Program Files/chameleon/cwc2/data/</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">default_context =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:/Program =
Files/chameleon/cwc2/contexts/world_context.xml</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">default_template&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:/Program =
Files/chameleon/cwc2/templates/sample_cwc2.html</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">context_root&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:/Program =
Files/chameleon/cwc2/contexts/</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">template_root&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:/Program =
Files/chameleon/cwc2/templates/</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">fontlist_file&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:/Program =
Files/chameleon/cwc2/etc/fonts.txt</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">symbol_file&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:/Program =
Files/chameleon/cwc2/etc/symbols.sym</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">Questions:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">1) When I installed MapScript 4.6 and =
its associated dll's, there were some MapServer executables in the zip =
file but no instructions on what to do with them.&nbsp; Are they =
necessary or extraneous?</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">2) Beyond viewing =
&quot;localhost/chameleon/samples&quot;, are there additional tests I =
can perform to check my chameleon installation BEFORE configuring the =
CWC2 service instance?&nbsp; I am trying to isolate my problems to the =
service instance.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks,</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Tim</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C59C6F.047D4E12--
-------------- next part --------------
_______________________________________________
Chameleon mailing list
Chameleon at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon


More information about the Chameleon mailing list