MapTools.org

[Chameleon] Problems getting started ...

Bart van den Eijnden bartvde@xs4all.nl
Wed, 17 Dec 2003 22:15:11 +0100
Hi Jean-Francois,

in an earlier post you said you were using Chameleon 1.1 Alpha 6.

I think what you are trying now is the Chameleon 1.0 way 
(/chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml).

Try installing the Chameleon sample application and then run that by 
trying the URL (create the sample_app alias to "sampleapp"/htdocs 
directory):

/sample_app/index.phtml

Make sure the paths in index.phtml to MAP/Context file and template are 
correct.

Best regards,
Bart

On Wed, 17 Dec 2003 16:04:12 -0500, <Jean-Francois.Doyon@CCRS.NRCan.gc.ca> 
wrote:

> OK, so I've got PHP 4.3.3 compiled the way I want to, as well as
> mapserver/mapscript. (Except that I've hacked PHP/MapScript to work with 
> PHP
> as a module for Apache to test the thread safety).
>
> I've also configured cwc2.xml and renamed it removing the -dist ...
>
> I've made the web user owner of the data directory ...
>
> I've added /tmp/ms_tmp and /tmp/ms_tmp/buttons ...
>
> And I've aliased as such:
>
>     Alias /ms_tmp/ /tmp/ms_tmp/
>
>     Alias /chameleon/ /usr/local/chameleon/htdocs/
>
> Now I'm trying the following URL:
>
> /chameleon/chameleon.php?TEMPLATE=demo.html&CONTEXT=gmap_context.xml
>
> And am just getting a blank page ...
>
> To be exact, it contains the following code:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=Content-Type content="text/html;
> charset=windows-1252"></HEAD>
> <BODY></BODY></HTML>
>
> I've also built the "wmsparse" utility.
>
> I guess I'm missing something but I'm all out of ideas !
>
> Find my cwc2.xml attached. <<cwc2.xml>>
>
> Any help would be greatly appreciated !
>
> Thanks,
>
> Jean-François Doyon
> Internet Service Development and Systems Support / Développement des
> services et soutien de systèmes Internet
> GeoAccess Division / Division GéoAccès
> Canada Center for Remote Sensing / Centre canadien de télédétection
> Natural Resources Canada / Ressources naturelles Canada
> http://atlas.gc.ca
> Phone: (613) 992-4902
> Fax: (613) 947-2410
>



-- 
  


This archive was generated by Pipermail.