[Chameleon] Chameleon and Joomla!
Bendaoud med
azamharir at gmail.com
Tue Feb 10 05:29:48 EST 2009
hi,
i'm trying chameleon with Joomla!. i put this code in Joomla! :
<?php
include("C:/ms4w/apps/chameleon/htdocs/chameleon.php");
$szTemplate = "./mytemplate.html";
$szMapFile = "../map/mymap.map";
class MyApp extends Chameleon
{
function MyApp()
{
parent::Chameleon();
$this->moMapSession = new MapSession_RW;
$this->moMapSession->setTempDir( getSessionSavePath());
}
}
$oApp = new MyApp();
$oApp->CWCInitialize($szTemplate,$szMapFile);
$oApp->mnMinimumMaturityLevel = MATURITY_UNKNOWN;
$oApp->CWCExecute();
?>
but i get these errors :
*Warning*: ini_set()
[function.ini-set<http://localhost/spatialmining/function.ini-set>]:
A session is active. You cannot change the session module's ini settings at
this time. in *C:\ms4w\apps\chameleon\htdocs\common\session\session.php* on
line *446*
*Notice*: A session had already been started - ignoring session_start() in *
C:\ms4w\apps\chameleon\htdocs\common\session\session.php* on line *509*
*Notice*: Trying to get property of non-object in *
C:\ms4w\apps\chameleon\htdocs\widgets\MapDHTML\MapDHTML.widget.php* on line
*188*
*Fatal error*: Call to a member function set() on a non-object in *
C:\ms4w\apps\chameleon\htdocs\widgets\MapDHTML\MapDHTML.widget.php* on line
*198*
I am frustrated. Do you have some ideas? Thank you.
--
Bendaoud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20090210/9db7f07b/attachment.htm
More information about the Chameleon
mailing list