[Chameleon] beta3 deployment question

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Thu Nov 11 17:14:52 EST 2004


FYI: Paul made a change to chameleon.php in CVS which now looks for
SCRIPT_FILENAME.

Thanks

..Tom


> -----Original Message-----
> From: Paul Spencer [mailto:pspencer at dmsolutions.ca] 
> Sent: Wednesday, 10 November, 2004 20:42
> To: Kralidis,Tom [Burlington]
> Cc: chameleon at lists.maptools.org
> Subject: Re: [Chameleon] beta3 deployment question
> 
> 
> Tom,
> 
> if your application does not set $GLOBALS['gszAppPath'] then 
> chameleon 
> tries to figure it out by looking in the $_SERVER array for 
> PATH_TRANSLATED or ORIG_PATH_TRANSLATED, one of which is set 
> by Apache 
> (which one depends on Apache version).  If neither is set 
> then Chameleon 
> can't figure out where your application is on the local 
> system and stops 
> because there are several key components that require this 
> information.
> 
> The error message encourages you to modify your application :)
> 
> However, if you want to help me troubleshoot this, you can uncomment 
> line 217 of chameleon.php and try to figure out what is in 
> the $_SERVER 
> array that could be used to locate the sample_basic.phtml 
> file on your 
> filesystem.
> 
> Output from phpinfo might also help.
> 
> Cheers,
> 
> Paul
> 
> Kralidis,Tom [Burlington] wrote:
> > Hi,
> > 
> > We've installed beta3 on an FC2 box.  I went through 
> > docs/html/cham199install.txt and have followed the instructions 
> > properly (I think :)).
> > 
> > When I try to run http://host/samples/, I get the samples page; 
> > however clicking any of the apps returns:
> > 
> > FATAL Error: Chameleon was unable to determine the path to the 
> > application on the server. To fix this, this application must 
> > explicitly set the application path before including chameleon.php. 
> > The suggested method of doing this is:
> > 
> > $GLOBALS['gszAppPath'] = '/full/path/to/application/htdocs/';
> > 
> > FYI, I also configured config/cwc2.xml, in addition to 
> chameleon.xml.
> > 
> > Any suggestions?
> > 
> > ..Tom
> > 
> > =========================
> > Tom Kralidis
> > Systems Scientist
> > Environment Canada
> > Tel: +01-905-336-4409
> > http://www.ec.gc.ca/
> > 
> > _______________________________________________
> > Chameleon mailing list
> > Chameleon at lists.maptools.org 
> > http://lists.maptools.org/mailman/listinfo/chameleon
> > 
> 
> -- 
> Cheers,
> 
> Paul
> 
> +-----------------------------------------------------------------+
> |Paul Spencer                           pspencer at dmsolutions.ca   |
> +-----------------------------------------------------------------+
> |Applications & Software Development                              |
> |DM Solutions Group Inc                 http://www.dmsolutions.ca/|
> +-----------------------------------------------------------------+
> 



More information about the Chameleon mailing list