Re: [Mapbender-users] mapbender erster login nicht möglich

Uli Rothstein (WhereGroup) uli.rothstein at wheregroup.com
Wed May 9 06:20:19 EDT 2007


Hi,

maybe the solution is to remove the empty line in your mapbender.conf (Line 152).
Or interchange the two lines:
require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
session_start();
in your mod_logout.php

regards
Uli

Lucas Beck schrieb:
> Now everything works but now I have another problem whose solution I 
> could not find on the net... It seems to be a php-problem even though I 
> did not change any of the php-files...
> Everytime when I log out, I receive the following message:
> 
> *Warning*: session_start() [function.session-start 
> <http://www.zambezi.ethz.ch/mapbender/php/function.session-start>]: 
> Cannot send session cache limiter - headers already sent (output started 
> at /etc/mapbender/conf/mapbender.conf:152) in 
> */etc/mapbender/http/php/mod_logout.php* on line *22*
> 
> *Warning*: Cannot modify header information - headers already sent by 
> (output started at /etc/mapbender/conf/mapbender.conf:152) in 
> */etc/mapbender/http/php/mod_logout.php* on line *32*
> 
> *Warning*: Cannot modify header information - headers already sent by 
> (output started at /etc/mapbender/conf/mapbender.conf:152) in 
> */etc/mapbender/http/php/mod_logout.php* on line *38
> 
> 
> *However, everything else seems to work but even though it is a bit 
> annoying... Does anyone have the solution?
> 
> Greets
> Lucas
> 
> 
> Astrid Emde (WhereGroup) schrieb:
>> Hi lucas,
>>
>> try this. go to the mapbender.cong file and set PREPAREDSTATEMENTS to 
>> false
>>
>> # --------------------------------------------
>> # perpared statements (PHP > 5.1.x, PostgreSQL > 7.4)
>> # --------------------------------------------
>> define("PREPAREDSTATEMENTS",false);
>>
>> greetings astrid
>>
>> santa.maria schrieb:
>>> Hö...
>>>
>>> Also ich bin hier auch ein wenig newbie, oder wie auch immer ihr dem 
>>> sagt...
>>> wieauchimmer, ich habe einen server mit ubuntu, php5 psql 8.1.9 
>>> inklusive
>>> postgis und bin nun am installieren des mapbender 2.4.1.
>>>
>>> nun, erst hatte ich ein paar probleme mit dem login und einiegen
>>> fehlermeldungen auf dem "mapbender_setup.php", habe dann aber unter 
>>> anderem
>>> noch  in der pg_hba.conf alle wesentlichen stellen auf "trust" 
>>> geändert und
>>> dann war in meinem "mapbender_setup.php" plötzlich alles ok.
>>>
>>> nun wollte ich mich als root mit passwort "root" einloggen, aber da 
>>> kommt
>>> immer nur dieser login-screen wieder zum vorschein. bringt alles nichts.
>>> ich habe dann noch der tabelle  mb_user den login des root neu 
>>> gesetzt und
>>> auch den zählerstand von mb_user_login_count auf 0 gesetzt.
>>>
>>> nun bin ich am ende meines lateins, habe keine ahnung was ich weiter 
>>> machen
>>> soll...
>>>
>>> gruss
>>> lucas
>>>
>>>   
>>
>>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users


-- 
---------------------------------------
Ulrich Rothstein
WhereGroup GmbH & Co. KG
Siemensstraße 8
53121 Bonn
Germany

Fon: +49 (0)228 / 90 90 38 - 17
Fax: +49 (0)228 / 90 90 38 - 11

mailto:uli.rothstein at wheregroup.com
http://www.wheregroup.com
Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
---------------------------------------


More information about the Mapbender_users mailing list