MapTools.org

[chameleon] install troubles Chameleon 1.1

Paul Spencer spencer@dmsolutions.ca
30 Sep 2003 15:59:21 -0400
Bart,

the sample is intended to be installed in /ms4w/apps/ in parallel to
chameleon.  It looks like you have installed it in /www/MapServer.

You will need to edit the configuration file of chameleon to make sure
that the various paths are correct.

You will need to edit the index.phtml in the chameleon_sample to reflect
the correct path to chameleon.

Cheers,

Paul

On Tue, 2003-09-30 at 15:44, Bart van den Eijnden wrote:
> Hi list,
> 
> does anybody have a clue why I get these errors in my php log file when I 
> run the following URL:
> 
> http://localhost/ms4w/apps/chameleon_sample/htdocs/index.phtml
> 
> BTW when I type http://localhost/ms4w/apps/chameleon/htdocs/chameleon.php I 
> get an empty page.
> 
> [30-Sep-2003 21:41:34] PHP Warning:  
> main(/ms4w/apps/chameleon/htdocs/chameleon.php): failed to open stream: No 
> such file or directory in 
> D:\www\MapServer\apps\chameleon_sample\htdocs\index.phtml on line 9
> [30-Sep-2003 21:41:34] PHP Warning:  main(): Failed opening 
> '/ms4w/apps/chameleon/htdocs/chameleon.php' for inclusion 
> (include_path='.;c:\php4\pear') in 
> D:\www\MapServer\apps\chameleon_sample\htdocs\index.phtml on line 9
> [30-Sep-2003 21:41:34] PHP Fatal error:  Class sampleapp:  Cannot inherit 
> from undefined class chameleon in 
> D:\www\MapServer\apps\chameleon_sample\htdocs\index.phtml on line 14
> 
> Thanks in advance,
> Bart
> 
> On 30 Sep 2003 14:46:33 -0400, Paul Spencer <pagameba@magma.ca> wrote:
> 
> > Bart,
> >
> > no, it does not.  My first guess would be that your php.ini has
> > something set in it to cause PHP to use MySQL to store session data. 
> > Chameleon provides it's own session handlers, but it is also possible
> > that you have session.auto_start set to true and PHP tries to
> > re-establish it's session via MySQL before chameleon even gets to run. 
> > Just a guess.
> >
> > Cheers,
> >
> > Paul
> >
> > On Tue, 2003-09-30 at 14:33, Bart van den Eijnden wrote:
> >> Hi list,
> >>
> >> I have trouble installing Chameleon 1.1.
> >>
> >> When I look in the session.log file, I see some MySQL error messages. I 
> >> do not have MySQL installed on the machine.
> >>
> >> Is MySQL a prerequisite for Chameleon? It does not say so in the install 
> >> document.
> >>
> >> Opened() chameleon, session, localhost, root, session_id() says 
> >> 3f69ae8dd7aa6
> >> MySQL connection error: Can't connect to MySQL server on 'localhost' 
> >> (10061)
> >> Read() 3f69ae8dd7aa6
> >> MySQL connection error: Can't connect to MySQL server on 'localhost' 
> >> (10061)
> >> Write() 3f69ae8dd7aa6 gszRemoteAdd|s:9:"127.0.0.1";test|i:0;
> >> MySQL connection error: Can't connect to MySQL server on 'localhost' 
> >> (10061)
> >> Close session
> >>
> >> Best regards,
> >> Bart
> >> _______________________________________________
> >> Chameleon mailing list
> >> Chameleon@lists.maptools.org
> >> http://lists.maptools.org/mailman/listinfo/chameleon
> >
> >
> >
> 
> 



This archive was generated by Pipermail.