MapTools.org

[Chameleon] Chameleon 1.1 Alpha

Paul Spencer spencer@dmsolutions.ca
Thu, 29 Jan 2004 13:40:06 -0500
Dave,

Chameleon 1.1 does not (yet) have a service instance so it does not work 
like Chameleon 1.0.  In Chameleon 1.1, you need to create a small php 
script that initializes your application.  Most of the work is still 
done by Chameleon, you mostly need to tell it which template and map 
file to use.

You can get the sample application from the chameleon downloads page. 
The sample application is launched by loading index.phtml.  Note there 
is an error in the sample application (still), you will need to edit hte 
index.phtml file and move the two lines that say

     $this->moMapSession = new MapSession_RW;
     $this->moMapSession->setTempDir( getSessionSavePath());


from the CWCInitializeMap function into the SampleApp function

You can then remove the CWCInitializeMap function from the sample

Cheers,

Paul

Dave Astolfo wrote:

> Hi all,
> 
> Has anyone installed Chameleon 1.1 Alpha on an IIS / Windows platform?  
> I had 1.0.4 working.   After setting up 1.1, I get a blank screen when 
> running step #5 below.  Not errors, or warnings.  
> 
> My install process was as follows:
> 
> 1) Had 1.0.4 working in xxxxxxxxx/cwc2/ directory
> 2) renamed cwc2 to cwc2 1.0.4
> 3) unzipped 1.1 into directory at same location and renamed to cwc2
> 4) IIS did not require any changes as it still looks for the same 
> directory and the structure (/cwc2/htdocs) is the same.
> 
> 5) When trying to run the demo file  (  
> _http://maps.astolfo.com/cwc2/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml_ 
> <http://maps.astolfo.com/cwc2/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml> 
> ) I get a blank screen.
> 
> I tried to create a basic template file with a simple CWC Error widget 
> and still got a blank screen…   confused...
> 
> 
> Thanks,
> 
> Dave
> 

-- 
  -----------------------------------------------------------------
|Paul Spencer                           spencer@dmsolutions.ca    |
|-----------------------------------------------------------------|
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
  -----------------------------------------------------------------



This archive was generated by Pipermail.