Bug (approved)

Error: Could not set cookie. after installation

Summary

approved
Aug 7, 2007
100%
Aug 7, 2007 / joerg
Aug 5, 2009 / rafael.dalpra
 

Attached files

No files uploaded
 
i installed streber on a public www server.
Installation is ok. login is possible but after login get the error message: Could not set Cookie.
My Browsers Firefor/IE accept Cookies.
I installed streber in my private LAN, and it works fine too.

In the Top of the site appears:
%% strip slashes%% strip slashes%% strip slashes%% strip slashes%% strip slashes

After login i get this message, too:

2 errors ... (see 'errors.log.php' for details)

WARNING: Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)

WARNING: Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)


Errorlog says:

Error 20070807092328 WARNING: std/class_auth.inc.php : 436 Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)
Error 20070807092328 std/class_auth.inc.php : 436 -> setcookie("NORD_UID", "e54142acb2a0b21ca112740f7b5131", int1189070608, "", "", false)
Error 20070807092328 pages/login.inc.php : 244 -> Auth::storeUserCookie()
Error 20070807092328 std/class_pagehandler.inc.php : 729 -> loginFormSubmit()
Error 20070807092328 index.php : 216 -> PageHandler::show("loginFormSubmit")
Error 20070807092328
Error 20070807092328 Variables in storeUserCookie():
Error 20070807092328 v0.0801, loginFormSubmit, from 213.144.19.2, uri:/project/index.php
Error 20070807092328

Error 20070807092328 WARNING: render/render_page.inc.php : 494 Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)
Error 20070807092328 render/render_page.inc.php : 494 -> header("Content-type: text/html; chars")
Error 20070807092328 render/render_page.inc.php : 692 -> PageHtmlStart::__toString()
Error 20070807092328 render/render_page.inc.php : 680 -> PageHeader::PageHeaderAsHTML()
Error 20070807092328 pages/person.inc.php : 314 -> PageHeader::__toString()
Error 20070807092328 std/class_pagehandler.inc.php : 729 -> personList()
Error 20070807092328 pages/login.inc.php : 262 -> PageHandler::show("personList", [0])
Error 20070807092328 std/class_pagehandler.inc.php : 729 -> loginFormSubmit()
Error 20070807092328 index.php : 216 -> PageHandler::show("loginFormSubmit")
Error 20070807092328
Error 20070807092328 Variables in __toString():
Error 20070807092328 auth = OBJECT
Error 20070807092328 theme_config = themes/clean/theme_config.inc.php
Error 20070807092328 v0.0801, personList, from 213.144.19.2, uri:/project/index.php
Error 20070807092328

Error 20070807092349 WARNING: render/render_page.inc.php : 494 Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)
Error 20070807092349 render/render_page.inc.php : 494 -> header("Content-type: text/html; chars")
Error 20070807092349 render/render_page.inc.php : 692 -> PageHtmlStart::__toString()
Error 20070807092349 render/render_page.inc.php : 680 -> PageHeader::PageHeaderAsHTML()
Error 20070807092349 pages/login.inc.php : 81 -> PageHeader::__toString()
Error 20070807092349 std/class_pagehandler.inc.php : 729 -> loginForm()
Error 20070807092349 index.php : 248 -> PageHandler::show("loginForm")
Error 20070807092349
Error 20070807092349 Variables in __toString():
Error 20070807092349 auth = OBJECT
Error 20070807092349 theme_config = themes/clean/theme_config.inc.php
Error 20070807092349 v0.0801, loginForm, from 213.144.19.2, uri:/project/index.php?go=personList
Error 20070807092349
Log 20070807092452 usertime offset = 7200 sec
Log 20070807092452 'admin' logged in from 213.144.19.2

Error 20070807092452 WARNING: std/class_auth.inc.php : 436 Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)
Error 20070807092452 std/class_auth.inc.php : 436 -> setcookie("NORD_UID", "cf8ebe62c27e15434a31bf461f898c", int1189070692, "", "", false)
Error 20070807092452 pages/login.inc.php : 244 -> Auth::storeUserCookie()
Error 20070807092452 std/class_pagehandler.inc.php : 729 -> loginFormSubmit()
Error 20070807092452 index.php : 216 -> PageHandler::show("loginFormSubmit")
Error 20070807092452
Error 20070807092452 Variables in storeUserCookie():
Error 20070807092452 v0.0801, loginFormSubmit, from 213.144.19.2, uri:/project/index.php
Error 20070807092452

Error 20070807092452 WARNING: render/render_page.inc.php : 494 Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)
Error 20070807092452 render/render_page.inc.php : 494 -> header("Content-type: text/html; chars")
Error 20070807092452 render/render_page.inc.php : 692 -> PageHtmlStart::__toString()
Error 20070807092452 render/render_page.inc.php : 680 -> PageHeader::PageHeaderAsHTML()
Error 20070807092452 pages/home.inc.php : 97 -> PageHeader::__toString()
Error 20070807092452 std/class_pagehandler.inc.php : 729 -> home()
Error 20070807092452 pages/login.inc.php : 271 -> PageHandler::show("home", [0])
Error 20070807092452 std/class_pagehandler.inc.php : 729 -> loginFormSubmit()
Error 20070807092452 index.php : 216 -> PageHandler::show("loginFormSubmit")
Error 20070807092452
Error 20070807092452 Variables in __toString():
Error 20070807092452 auth = OBJECT
Error 20070807092452 theme_config = themes/clean/theme_config.inc.php
Error 20070807092452 v0.0801, home, from 213.144.19.2, uri:/project/index.php
Error 20070807092452
Log 20070807092606 usertime offset = 7200 sec
Log 20070807092606 'admin' logged in from 213.144.19.2

Error 20070807092606 WARNING: std/class_auth.inc.php : 436 Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)
Error 20070807092606 std/class_auth.inc.php : 436 -> setcookie("NORD_UID", "fdf1bfb8f6c9bd3e1d86c86d2b0d7e", int1189070766, "", "", false)
Error 20070807092606 pages/login.inc.php : 244 -> Auth::storeUserCookie()
Error 20070807092606 std/class_pagehandler.inc.php : 729 -> loginFormSubmit()
Error 20070807092606 index.php : 216 -> PageHandler::show("loginFormSubmit")
Error 20070807092606
Error 20070807092606 Variables in storeUserCookie():
Error 20070807092606 v0.0801, loginFormSubmit, from 213.144.19.2, uri:/project/index.php
Error 20070807092606

Error 20070807092606 WARNING: render/render_page.inc.php : 494 Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)
Error 20070807092606 render/render_page.inc.php : 494 -> header("Content-type: text/html; chars")
Error 20070807092606 render/render_page.inc.php : 692 -> PageHtmlStart::__toString()
Error 20070807092606 render/render_page.inc.php : 680 -> PageHeader::PageHeaderAsHTML()
Error 20070807092606 pages/home.inc.php : 97 -> PageHeader::__toString()
Error 20070807092606 std/class_pagehandler.inc.php : 729 -> home()
Error 20070807092606 pages/login.inc.php : 271 -> PageHandler::show("home", [0])
Error 20070807092606 std/class_pagehandler.inc.php : 729 -> loginFormSubmit()
Error 20070807092606 index.php : 216 -> PageHandler::show("loginFormSubmit")
Error 20070807092606
Error 20070807092606 Variables in __toString():
Error 20070807092606 auth = OBJECT
Error 20070807092606 theme_config = themes/clean/theme_config.inc.php
Error 20070807092606 v0.0801, home, from 213.144.19.2, uri:/project/index.php
Error 20070807092606

Error 20070807093940 WARNING: render/render_page.inc.php : 494 Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)
Error 20070807093940 render/render_page.inc.php : 494 -> header("Content-type: text/html; chars")
Error 20070807093940 render/render_page.inc.php : 692 -> PageHtmlStart::__toString()
Error 20070807093940 render/render_page.inc.php : 680 -> PageHeader::PageHeaderAsHTML()
Error 20070807093940 pages/login.inc.php : 81 -> PageHeader::__toString()
Error 20070807093940 std/class_pagehandler.inc.php : 729 -> loginForm()
Error 20070807093940 index.php : 248 -> PageHandler::show("loginForm")
Error 20070807093940
Error 20070807093940 Variables in __toString():
Error 20070807093940 auth = OBJECT
Error 20070807093940 theme_config = themes/clean/theme_config.inc.php
Error 20070807093940 v0.0801, loginForm, from 213.144.19.2, uri:/project/index.php?go=projList
Error 20070807093940
Log 20070807093944 usertime offset = 7200 sec
Log 20070807093944 'admin' logged in from 213.144.19.2

Error 20070807093944 WARNING: std/class_auth.inc.php : 436 Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)
Error 20070807093944 std/class_auth.inc.php : 436 -> setcookie("NORD_UID", "c2a132aefb5071730aaa90f8acf7f6", int1189071584, "", "", false)
Error 20070807093944 pages/login.inc.php : 244 -> Auth::storeUserCookie()
Error 20070807093944 std/class_pagehandler.inc.php : 729 -> loginFormSubmit()
Error 20070807093944 index.php : 216 -> PageHandler::show("loginFormSubmit")
Error 20070807093944
Error 20070807093944 Variables in storeUserCookie():
Error 20070807093944 v0.0801, loginFormSubmit, from 213.144.19.2, uri:/project/index.php
Error 20070807093944

Error 20070807093944 WARNING: render/render_page.inc.php : 494 Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)
Error 20070807093944 render/render_page.inc.php : 494 -> header("Content-type: text/html; chars")
Error 20070807093944 render/render_page.inc.php : 692 -> PageHtmlStart::__toString()
Error 20070807093944 render/render_page.inc.php : 680 -> PageHeader::PageHeaderAsHTML()
Error 20070807093944 pages/project_more.inc.php : 62 -> PageHeader::__toString()
Error 20070807093944 std/class_pagehandler.inc.php : 729 -> projList()
Error 20070807093944 pages/login.inc.php : 262 -> PageHandler::show("projList", [0])
Error 20070807093944 std/class_pagehandler.inc.php : 729 -> loginFormSubmit()
Error 20070807093944 index.php : 216 -> PageHandler::show("loginFormSubmit")
Error 20070807093944
Error 20070807093944 Variables in __toString():
Error 20070807093944 auth = OBJECT
Error 20070807093944 theme_config = themes/clean/theme_config.inc.php
Error 20070807093944 v0.0801, projList, from 213.144.19.2, uri:/project/index.php
Error 20070807093944

Error 20070807093951 WARNING: render/render_page.inc.php : 494 Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)
Error 20070807093951 render/render_page.inc.php : 494 -> header("Content-type: text/html; chars")
Error 20070807093951 render/render_page.inc.php : 692 -> PageHtmlStart::__toString()
Error 20070807093951 render/render_page.inc.php : 680 -> PageHeader::PageHeaderAsHTML()
Error 20070807093951 pages/login.inc.php : 81 -> PageHeader::__toString()
Error 20070807093951 std/class_pagehandler.inc.php : 729 -> loginForm()
Error 20070807093951 index.php : 248 -> PageHandler::show("loginForm")
Error 20070807093951
Error 20070807093951 Variables in __toString():
Error 20070807093951 auth = OBJECT
Error 20070807093951 theme_config = themes/clean/theme_config.inc.php
Error 20070807093951 v0.0801, loginForm, from 213.144.19.2, uri:/project/index.php?go=personList
Error 20070807093951
Log 20070807093954 usertime offset = 7200 sec
Log 20070807093954 'admin' logged in from 213.144.19.2

Error 20070807093954 WARNING: std/class_auth.inc.php : 436 Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)
Error 20070807093954 std/class_auth.inc.php : 436 -> setcookie("NORD_UID", "da71b8652c350c9de409e465ef9fac", int1189071594, "", "", false)
Error 20070807093954 pages/login.inc.php : 244 -> Auth::storeUserCookie()
Error 20070807093954 std/class_pagehandler.inc.php : 729 -> loginFormSubmit()
Error 20070807093954 index.php : 216 -> PageHandler::show("loginFormSubmit")
Error 20070807093954
Error 20070807093954 Variables in storeUserCookie():
Error 20070807093954 v0.0801, loginFormSubmit, from 213.144.19.2, uri:/project/index.php
Error 20070807093954

Error 20070807093954 WARNING: render/render_page.inc.php : 494 Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)
Error 20070807093954 render/render_page.inc.php : 494 -> header("Content-type: text/html; chars")
Error 20070807093954 render/render_page.inc.php : 692 -> PageHtmlStart::__toString()
Error 20070807093954 render/render_page.inc.php : 680 -> PageHeader::PageHeaderAsHTML()
Error 20070807093954 pages/person.inc.php : 314 -> PageHeader::__toString()
Error 20070807093954 std/class_pagehandler.inc.php : 729 -> personList()
Error 20070807093954 pages/login.inc.php : 262 -> PageHandler::show("personList", [0])
Error 20070807093954 std/class_pagehandler.inc.php : 729 -> loginFormSubmit()
Error 20070807093954 index.php : 216 -> PageHandler::show("loginFormSubmit")
Error 20070807093954
Error 20070807093954 Variables in __toString():
Error 20070807093954 auth = OBJECT
Error 20070807093954 theme_config = themes/clean/theme_config.inc.php
Error 20070807093954 v0.0801, personList, from 213.144.19.2, uri:/project/index.php
Error 20070807093954

Error 20070807094005 WARNING: render/render_page.inc.php : 494 Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)
Error 20070807094005 render/render_page.inc.php : 494 -> header("Content-type: text/html; chars")
Error 20070807094005 render/render_page.inc.php : 692 -> PageHtmlStart::__toString()
Error 20070807094005 render/render_page.inc.php : 680 -> PageHeader::PageHeaderAsHTML()
Error 20070807094005 pages/login.inc.php : 81 -> PageHeader::__toString()
Error 20070807094005 std/class_pagehandler.inc.php : 729 -> loginForm()
Error 20070807094005 index.php : 248 -> PageHandler::show("loginForm")
Error 20070807094005
Error 20070807094005 Variables in __toString():
Error 20070807094005 auth = OBJECT
Error 20070807094005 theme_config = themes/clean/theme_config.inc.php
Error 20070807094005 v0.0801, loginForm, from 213.144.19.2, uri:/project/index.php?go=systemInfo
Error 20070807094005
Log 20070807094303 usertime offset = 7200 sec
Log 20070807094303 'admin' logged in from 213.144.19.2

Error 20070807094303 WARNING: std/class_auth.inc.php : 436 Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)
Error 20070807094303 std/class_auth.inc.php : 436 -> setcookie("NORD_UID", "5c643f7f42a91ecd3bcac12b9a5e89", int1189071783, "", "", false)
Error 20070807094303 pages/login.inc.php : 244 -> Auth::storeUserCookie()
Error 20070807094303 std/class_pagehandler.inc.php : 729 -> loginFormSubmit()
Error 20070807094303 index.php : 216 -> PageHandler::show("loginFormSubmit")
Error 20070807094303
Error 20070807094303 Variables in storeUserCookie():
Error 20070807094303 v0.0801, loginFormSubmit, from 213.144.19.2, uri:/project/index.php
Error 20070807094303

Error 20070807094303 WARNING: render/render_page.inc.php : 494 Cannot modify header information - headers already sent by (output started at /var/www/web2/html/project/std/common.inc.php:97)
Error 20070807094303 render/render_page.inc.php : 494 -> header("Content-type: text/html; chars")
Error 20070807094303 render/render_page.inc.php : 692 -> PageHtmlStart::__toString()
Error 20070807094303 render/render_page.inc.php : 680 -> PageHeader::PageHeaderAsHTML()
Error 20070807094303 pages/home.inc.php : 97 -> PageHeader::__toString()
Error 20070807094303 std/class_pagehandler.inc.php : 729 -> home()
Error 20070807094303 pages/login.inc.php : 271 -> PageHandler::show("home", [0])
Error 20070807094303 std/class_pagehandler.inc.php : 729 -> loginFormSubmit()
Error 20070807094303 index.php : 216 -> PageHandler::show("loginFormSubmit")
Error 20070807094303
Error 20070807094303 Variables in __toString():
Error 20070807094303 auth = OBJECT
Error 20070807094303 theme_config = themes/clean/theme_config.inc.php
Error 20070807094303 v0.0801, home, from 213.144.19.2, uri:/project/index.php
Error 20070807094303


Issue report

Major
Always
streber 0.0801
siehe Beschreibung
 

4 Comments

oyvind.kinsey:Just comment out the line 97 in common.inc.php

11 years ago


oyvind.kinsey:This should really be fixed in the official download

11 years ago

In addition, USE_MOD_REWRITE should be set to false in the download. This should be an opt-in, not an opt-out.

pixtur:fixed... sorrry

11 years ago

This was debug-message which obviously was forgotten.

mod_rewrite is disabled by default. Why did you think, it was enabled by default?

oyvind.kinsey:hm, must have been a mistake on my hand, I must have looked at the url for streber-pm.org or something..

11 years ago

Im closing this as it is a duplicate of