[mapserver-users] how to disappear Warning: session_start() in the page?

Peter webwiz at pl.net
Wed Aug 18 17:02:59 EDT 2010


Theres a typo. get_contens() should be ob_get_contents().

Peter



elisabeth theresia wrote:
> Hello Mr. Sumariva, i already did wht u said, but there's new error:
> *error*: Call to undefined function: on_get_contens() in
> *I:\ms4w\apps\appweb\htdocs\index_cobacham.phtml* on line *2
>
> here i put the cobachanphtml.phtml:
> *<?php
> $html=on_get_contens();
> ob_end_clean();
>
> include("./chameleon.php");
> $szTemplate="./template_werror.html";
> $szMapFile="../map/kelur_cobacham.map";
> class SampleApp extends Chameleon //SampleApp merupakan turunan dari
> Chameleon
> {
> function SampleApp() //Nama fungsi
> {
> parent::Chameleon(); //Menjalankan konstruktor class Chameleon
> $this->moMapSession=new MapSession_RW; //Mbwt instance obj map session
> $this->moMapSession->setTempDir
> (getSessionSavePath()); //Mendefinisikan dir temporer yg akn digunk olh
> obj map session
> }
> }


More information about the mapserver-users mailing list