MapTools.org

[Chameleon] Newbie Startup Question

Ryan Belcher ryan.belcher@mma1.com
Thu, 4 Dec 2003 17:47:18 -0500
This is a multi-part message in MIME format.

------=_NextPart_000_00B5_01C3BA8E.A96B9BF0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

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_00B5_01C3BA8E.A96B9BF0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word" xmlns:st1 =3D=20
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR><o:SmartTagType =

name=3D"PersonName"=20
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"></o:SmartTagT=
ype><!--[if !mso]>
<STYLE>st1\:* {
	BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in =
1.25in; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
	COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
	page: Section1
}
</STYLE>
</HEAD>
<BODY lang=3DEN-US vLink=3Dpurple link=3Dblue>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D859362822-04122003>I had=20
the same problem when I was first trying to get chameleon running.&nbsp; =
If you=20
look at demo.php, it's just a redirect to cwc2.php which doesn't come =
with=20
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=20
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=20
file.&nbsp; Then try to load index.phtml</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D859362822-04122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D859362822-04122003>I=20
think that was all I had to do besides correcting paths in my config =
file.&nbsp;=20
Be sure to check the error log of your web server for more information =
on any=20
errors you are getting.&nbsp; Hope that helps.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D859362822-04122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D859362822-04122003>Ryan</SPAN></FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  chameleon-admin@lists.maptools.org=20
  [mailto:chameleon-admin@lists.maptools.org]<B>On Behalf Of </B>Tracy=20
  Howlett<BR><B>Sent:</B> Thursday, December 04, 2003 3:35 =
PM<BR><B>To:</B>=20
  chameleon@lists.maptools.org<BR><B>Subject:</B> [Chameleon] Newbie =
Startup=20
  Question<BR><BR></FONT></DIV>
  <DIV class=3DSection1>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi, =
<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I&#8217;m a complete =
beginner with all=20
  things MapServer/MapScript/PHP related so please bare with=20
  me.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I&#8217;ve had MapServer =
3.6 running for=20
  a couple of weeks with no trouble.&nbsp; It was recommended to me that =
I=20
  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=20
  fine.&nbsp; I am, however, having trouble with the Chameleon =
install.&nbsp;=20
  I&#8217;m sure that the problem is with the paths I&#8217;ve set in =
the config file.&nbsp;=20
  When I try to open <A=20
  =
href=3D"http://localhost/cwc2/chameleon.php">http://localhost/cwc2/chamel=
eon.php</A>=20
  I get a blank page.&nbsp; When I try to open <A=20
  =
href=3D"http://localhost/cwc2/demo.php">http://localhost/cwc2/demo.php</A=
> I get=20
  a page not found error.&nbsp; Should I be putting absolute or relative =
paths=20
  in my config file?&nbsp; Is there something I&#8217;m missing?&nbsp; I =
don&#8217;t have=20
  wmsparse.exe installed because despite all documentation to the =
contrary, it=20
  was not included in my installation package and I haven&#8217;t =
installed the GDAL=20
  component. <o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I&#8217;d appreciate any =
help that=20
  anyone might be able to offer.&nbsp; I&#8217;ve done a lot of =
searching for help in=20
  the documentation but a lot of it seems incomplete.&nbsp; Perhaps =
I&#8217;m looking=20
  in the wrong place. <o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Thanks,<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><st1:PersonName w:st=3D"on"><FONT face=3DArial =
size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Tracy=20
  Howlett</SPAN></FONT></st1:PersonName><FONT face=3DArial =
size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_00B5_01C3BA8E.A96B9BF0--



This archive was generated by Pipermail.