MapTools.org

[Chameleon] Newbie Startup Question

Tracy Howlett thowlett@whistlermuseum.org
Fri, 5 Dec 2003 10:26:22 -0800
This is a multi-part message in MIME format.

------=_NextPart_000_0010_01C3BB1A.3A87D4B0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Thanks for the encouragement!!  I noticed you posted a question about
getting the sample app to work - did you ever get a response?  I am having
the exact same issue and it doesn't seem to matter what paths I put in to my
phtml file I always end up with those same errors.

 

How did you end up resolving your problems?

 

Also - this is probably a really silly question but where can I find the web
server error log?

 

Tracy

 

  _____  

From: chameleon-admin@lists.maptools.org
[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Ryan Belcher
Sent: Thursday, December 04, 2003 2:47 PM
To: thowlett@whistlermuseum.org; chameleon@lists.maptools.org
Subject: RE: [Chameleon] Newbie Startup Question

 

I had the same problem when I was first trying to get chameleon running.  If
you look at demo.php, it's just a redirect to cwc2.php which doesn't come
with chameleon 1.1.x and I think that's why you're getting the page not
found error.  What you need to do is download the sample application and
install it right along with chameleon.  Then you will probably need to edit
index.phtml in htdocs and correct the paths to chameleon.php and your map
file.  Then try to load index.phtml

 

I think that was all I had to do besides correcting paths in my config file.
Be sure to check the error log of your web server for more information on
any errors you are getting.  Hope that helps.

 

Ryan

-----Original Message-----
From: chameleon-admin@lists.maptools.org
[mailto:chameleon-admin@lists.maptools.org]On Behalf Of Tracy Howlett
Sent: Thursday, December 04, 2003 3:35 PM
To: chameleon@lists.maptools.org
Subject: [Chameleon] Newbie Startup Question

Hi, 

 

I'm a complete beginner with all things MapServer/MapScript/PHP related so
please bare with me.

 

I've had MapServer 3.6 running for a couple of weeks with no trouble.  It
was recommended to me that I upgrade and install Chameleon for some enhanced
features.  I have installed MapServer 4.0.1 and PHP 4.3.4 and both seem to
be working fine.  I am, however, having trouble with the Chameleon install.
I'm sure that the problem is with the paths I've set in the config file.
When I try to open http://localhost/cwc2/chameleon.php I get a blank page.
When I try to open http://localhost/cwc2/demo.php I get a page not found
error.  Should I be putting absolute or relative paths in my config file?
Is there something I'm missing?  I don't have wmsparse.exe installed because
despite all documentation to the contrary, it was not included in my
installation package and I haven't installed the GDAL component. 

 

I'd appreciate any help that anyone might be able to offer.  I've done a lot
of searching for help in the documentation but a lot of it seems incomplete.
Perhaps I'm looking in the wrong place. 

 

Thanks,

 

Tracy Howlett


------=_NextPart_000_0010_01C3BB1A.3A87D4B0
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"City"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"place"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:Arial;
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Thanks for the =
encouragement!!&nbsp; I
noticed you posted a question about getting the sample app to work =
&#8211; did you
ever get a response?&nbsp; I am having the exact same issue and it =
doesn&#8217;t
seem to matter what paths I put in to my phtml file I always end up with =
those
same errors.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>How did you end up resolving your
problems?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Also &#8211; this is probably a =
really
silly question but where can I find the web server error =
log?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><st1:City w:st=3D"on"><st1:place w:st=3D"on"><font =
size=3D2
  color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
  color:navy'>Tracy</span></font></st1:place></st1:City><font size=3D2
color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>
chameleon-admin@lists.maptools.org =
[mailto:chameleon-admin@lists.maptools.org] <b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>Ryan Belcher<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Thursday, December =
04, 2003
2:47 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> <st1:PersonName =
w:st=3D"on">thowlett@whistlermuseum.org</st1:PersonName>;
<st1:PersonName =
w:st=3D"on">chameleon@lists.maptools.org</st1:PersonName><br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: [Chameleon] =
Newbie
Startup Question</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>I had the same problem when I was =
first
trying to get chameleon running.&nbsp; If you look at demo.php, it's =
just a
redirect to cwc2.php which doesn't come with chameleon 1.1.x and I think =
that's
why you're getting the page not found error.&nbsp; What you need to do =
is
download the sample application and install it right along with
chameleon.&nbsp; Then you will probably need to edit index.phtml in =
htdocs and
correct the paths to chameleon.php and&nbsp;your map file.&nbsp; Then =
try to
load index.phtml</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>I think that was all I had to do =
besides
correcting paths in my config file.&nbsp; Be sure to check the error log =
of
your web server for more information on any errors you are =
getting.&nbsp; Hope
that helps.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>Ryan</span></font><o:p></o:p></p>

</div>

<blockquote =
style=3D'margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> =
chameleon-admin@lists.maptools.org
[mailto:chameleon-admin@lists.maptools.org]<b><span =
style=3D'font-weight:bold'>On
Behalf Of </span></b><st1:PersonName w:st=3D"on">Tracy =
Howlett</st1:PersonName><br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Thursday, December =
04, 2003
3:35 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> <st1:PersonName =
w:st=3D"on">chameleon@lists.maptools.org</st1:PersonName><br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [Chameleon] =
Newbie
Startup Question</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi, <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I&#8217;m a complete beginner with all things =
MapServer/MapScript/PHP
related so please bare with me.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I&#8217;ve had MapServer 3.6 running for a couple of =
weeks
with no trouble.&nbsp; It was recommended to me that I upgrade and =
install
Chameleon for some enhanced features.&nbsp; I have installed MapServer =
4.0.1
and PHP 4.3.4 and both seem to be working fine.&nbsp; I am, however, =
having
trouble with the Chameleon install.&nbsp; I&#8217;m sure that the =
problem is
with the paths I&#8217;ve set in the config file.&nbsp; When I try to =
open <a
href=3D"http://localhost/cwc2/chameleon.php">http://localhost/cwc2/chamel=
eon.php</a>
I get a blank page.&nbsp; When I try to open <a
href=3D"http://localhost/cwc2/demo.php">http://localhost/cwc2/demo.php</a=
> I get
a page not found error.&nbsp; Should I be putting absolute or relative =
paths in
my config file?&nbsp; Is there something I&#8217;m missing?&nbsp; I =
don&#8217;t
have wmsparse.exe installed because despite all documentation to the =
contrary,
it was not included in my installation package and I haven&#8217;t =
installed
the GDAL component. <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I&#8217;d appreciate any help that anyone might be =
able to
offer.&nbsp; I&#8217;ve done a lot of searching for help in the =
documentation
but a lot of it seems incomplete.&nbsp; Perhaps I&#8217;m looking in the =
wrong
place. <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><st1:PersonName w:st=3D"on"><font size=3D2 =
face=3DArial><span
 style=3D'font-size:10.0pt;font-family:Arial'>Tracy =
Howlett</span></font></st1:PersonName><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p=
>

</blockquote>

</div>

</body>

</html>

------=_NextPart_000_0010_01C3BB1A.3A87D4B0--




This archive was generated by Pipermail.