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

Lucas Beck lucasbeck at gmx.ch
Wed May 9 06:28:20 EDT 2007


Thanks!!
I did not know that "nothing" can cause a problem. But by deleting the 
empty lines the problem was solved... :)
greets
lucas



Uli Rothstein (WhereGroup) schrieb:
> 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
>
>


More information about the Mapbender_users mailing list