<div dir="ltr">hi,<br><br>i'm trying chameleon with Joomla!. i put this code in Joomla! : <br><pre><?php<br>include("C:/ms4w/apps/chameleon/htdocs/chameleon.php");<br>$szTemplate = "./mytemplate.html";<br>
$szMapFile = "../map/mymap.map";<br><br>class MyApp extends Chameleon<br>{<br> function MyApp()<br> {<br> parent::Chameleon();<br> $this->moMapSession = new MapSession_RW;<br> $this->moMapSession->setTempDir( getSessionSavePath());<br>
}<br>}<br><br>$oApp = new MyApp();<br>$oApp->CWCInitialize($szTemplate,$szMapFile);<br>$oApp->mnMinimumMaturityLevel = MATURITY_UNKNOWN;<br>$oApp->CWCExecute();<br>?><br></pre>but i get these errors :<br><br>
<b>Warning</b>: ini_set() [<a href="http://localhost/spatialmining/function.ini-set">function.ini-set</a>]: A session is active. You cannot change the session module's ini settings at this time. in <b>C:\ms4w\apps\chameleon\htdocs\common\session\session.php</b> on line <b>446</b><br>
<b>Notice</b>: A session had already been started - ignoring session_start() in <b>C:\ms4w\apps\chameleon\htdocs\common\session\session.php</b> on line <b>509</b><br>
<b>Notice</b>: Trying to get property of non-object in <b>C:\ms4w\apps\chameleon\htdocs\widgets\MapDHTML\MapDHTML.widget.php</b> on line <b>188</b><br>
<b>Fatal error</b>: Call to a member function set() on a non-object in <b>C:\ms4w\apps\chameleon\htdocs\widgets\MapDHTML\MapDHTML.widget.php</b> on line <b>198</b><br><br clear="all">I am frustrated. Do you have some ideas? Thank you.<br>
<br>-- <br>Bendaoud <br>
</div>