[mapserver-users] how to disappear Warning: session_start() in the page?
elisabeth theresia
dbee_kawai at yahoo.com
Wed Aug 18 18:52:17 PDT 2010
sorry Mr. Peter....my previous message iamnot purposely enter button Send. i
just want to say, Thanks correct me in the coding, but i still got that
message again after corrected the coding typo.
Warning: session_start() [function.session-start]: Cannot send session cache
limiter - headers already sent (output started at
I:\ms4w\apps\appweb\htdocs\index_spatialphtml.phtml:6) in
I:\ms4w\apps\appweb\htdocs\common\session\session.php on line 509
Thanks, what should i do?
-dbee
________________________________
From: Peter <webwiz at pl.net>
To: elisabeth theresia <dbee_kawai at yahoo.com>
Cc: mapserver-users at lists.osgeo.org
Sent: Thu, August 19, 2010 4:02:59 AM
Subject: Re: [mapserver-users] how to disappear Warning: session_start() in the
page?
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
> }
> }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100818/b65092c0/attachment.htm>
More information about the MapServer-users
mailing list