MapTools.org

[Chameleon] CWC2 Training Course Pre-package

Christopher R. Thorne thorne@dmsolutions.ca
Wed, 12 Nov 2003 14:46:39 -0500
I missed one thing that you should check and that is in the cwc admin 
configuration page. Make sure your "map_template:" is correct.

Chris

PS if this is not the problem please send me your template file 
(demo.html). I will see if it works for me.


Christopher R. Thorne wrote:

> Rod,
> 
> Probably the biggest tip I can give you is make sure the paths to the 
> context file and template are correct. It is very easy to get confused.
> 
> The path that you gave me:
> http://localhost/cwc2/cwc2.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml
> 
> This path will not work if the Template and Context file you are 
> referring to is located within /cwc2/htdocs/*
> 
> http://localhost/cwc2/cwc2.php?template=cwc2/htdocs/demo.html&context=cwc2/htdocs/gmap_context.xml 
> 
> 
> If I am wrong please let me know the paths to your files.
> 
> I have posted your questions to the Chameleon mail List. My hope is that 
> others will give further input ;)
> 
> The Chameleon Mail List is an excellent resource for getting questions 
> answered. If you like you can join the list on Maptools.org.
> 
> http://lists.maptools.org/mailman/listinfo/chameleon
> 
> Chris
> 
> 
> Suddaby, Rod wrote:
> 
>> Hi Chris,
>> Thank you for your response. I'm using version 1.0.3 and accessing the 
>> demo
>> as:
>> <http://localhost/cwc2/cwc2.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml> 
>>
>>
>> The CWC2 tags (all of them) appearing in the browser are colored red. 
>> Being new to Chameleon I don't know where to begin looking :-)
>>
>> Thank you.
>> Rod.
>>
>> -----Original Message-----
>> From: Christopher R. Thorne [mailto:thorne@dmsolutions.ca]
>> Sent: Wednesday, November 12, 2003 7:19 AM
>> To: RSuddaby@NRCan.gc.ca
>> Subject: [Fwd: Re: [Chameleon] Fwd: RE: CWC2 Training Course
>> Pre-package]
>>
>>
>> Hello,
>> The information you have given is important, but the mailing list 
>> probably requires a little more details in order to get to the bottom 
>> of it.
>>
>> What version of Chameleon are you using? eg. 1.1 vs. 1.0
>>
>> What demo are you using?
>>
>> How are you calling this application? Are you calling it through a 
>> Server instance (this currently only apply to version 1.0.x.
>>
>> eg. for Chameleon 1.0.x
>> http://localhost/cwc2/cwc2.php?template=cwc2/htdocs/test.html&context=cwc2/h 
>>
>> tdocs/gmap_context.xml
>>
>> OR
>> eg. for Chameleon 1.1
>>
>> A regular url where you would call the index.phtml file which bring 
>> chameleon.php your template and mapfile together.
>>
>> http://localhost/chameleon_demo/index.phtml
>>
>>  >> When I try to access any of the demo
>>  >> applications, the CWC2 tags are merely dumped to the browser 
>> without  >> any processing. Any idea on what I've done wrong?
>>
>> If CWC2 tags are displayed in "RED" this means that Chameleon is 
>> reading the CWC2 tags in your template, but have some general problem, 
>> the the specific tag.
>>
>> Hope this helps,
>> Chris
>>
>>
>> Darren Redfern wrote:
>>
>>  >
>>  >> From: "Suddaby, Rod" <RSuddaby@NRCan.gc.ca>
>>  >> To: 'Darren Redfern' <darren_redfern2000@hotmail.com>
>>  >> Subject: RE: CWC2 Training Course Pre-package
>>  >> Date: Fri, 7 Nov 2003 11:55:01 -0500
>>  >>
>>  >> Hi Darren:
>>  >> I was hoping you could help me solve a configuration problem I'm 
>> having with
>>  >> the latest Chameleon release. When I try to access any of the demo
>>  >> applications, the CWC2 tags are merely dumped to the browser 
>> without any
>>  >> processing. Any idea on what I've done wrong?
>>  >>
>>  >> Oh... the system configuration is:
>>  >> Win2000
>>  >> Apache 2.0.44
>>  >> PHP 4.3.1 (loaded as a CGI app)
>>  >> Mapserver/Mapscript 4.1 (precompiled Win32 release)
>>  >>
>>  >> Thanks,
>>  >> Rod Suddaby
>>  >
>>  >
>>  >
>>  > _________________________________________________________________
>>  > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
>> http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn 
>>
>> .com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca
>>  >
>>  > _______________________________________________
>>  > Chameleon mailing list
>>  > Chameleon@lists.maptools.org
>>  > http://lists.maptools.org/mailman/listinfo/chameleon
>>  >
>>
>>
> 
> 


-- 
Christopher R. Thorne
GIS Specialist,
DM Solutions Group Inc.

http://www.dmsolutions.ca
email: thorne@dmsolutions.ca
Phone: (613) 565-5056 ext.22
Fax :  (613) 565-0925
------------------------------




This archive was generated by Pipermail.