MapTools.org

[Chameleon] Install problems 1.1

Shawn Barnes barnes@watersheds.ca
Tue, 03 Feb 2004 11:52:04 -0500
I'm having difficulty installing 1.1
i'm using the chameleon sample application, i've edited the index.phtml 
-------------------------------------------------------------
<?
/*
  * This is a sample of a minimal application script required to
  * get a chameleon application running with a template and a
  * local map file.  Most applications should actually just
  * copy this file and modify the template and mapfile
  * parts and should not need to do a lot more here.
  */
include( "/usr/local/cwc2/htdocs/chameleon.php" );
                                                                                
$szTemplate =
"/usr/local/cwc2/htdocs/chameleon_sample/htdocs/sample.html";
$szMapFile =
"/usr/local/cwc2/htdocs/chameleon_sample/map/chameleon.map";
                                                                                
class SampleApp extends Chameleon
{
   function SampleApp()
   {
     parent::Chameleon();
     $this->moMapSession = new MapSession_RW;
     $this->moMapSession->setTempDir( getSessionSavePath());
   }
}
                                                                                
$oApp =  new SampleApp();
$oApp->CWCInitialize( $szTemplate, $szMapFile  );
$oApp->CWCExecute();
?>
------------------------------------------------------------------
cwc2_admin works but, when I point my browser to
http://localhost/htdocs/.../index.phtml i just get a blank page.
view source shows <html><body></body></html>

php, mapserver, mapscript, apache permissions all seem to be fine.

I've followed the install problem threads and searched the mailing list
archives, I must be missing something...'simple' :)

shawn
 

 



This archive was generated by Pipermail.