![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
![]() Grupa: Zarejestrowani Postów: 1 640 Pomógł: 28 Dołączył: 13.02.2003 Skąd: Międzyrzecz/Poznań Ostrzeżenie: (0%) ![]() ![]() |
Czym moze byc spowodowany ten blad:
Kod Warning: session_start() [function.session-start]: Node no longer exists in index.php on line 3 Kod Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at index.php:3) in index.php on line 3 oraz na koncu pliku Kod Warning: Unknown: Node no longer exists in Unknown on line 0 Mecze sie z tym juz troche czasu, nie wiem czym moze byc to spowodowane ![]() Ten post edytował kicaj 24.08.2007, 01:34:25 -------------------- PHP Developer
"Nadmiar wiedzy jest równie szkodliwy jak jej brak" Émile Zola |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 19 Pomógł: 0 Dołączył: 21.08.2007 Ostrzeżenie: (0%) ![]() ![]() |
Message
Warning: Cannot send session cache limiter - headers already sentOccurance PHP, HTML, webpages, using start_session() or headers()Cause The PHP function such as headers(), used with start_session(), produces HTML headers. When the PHP fragments are placed in the body of the HTML, this causes errors because the PHP fragments are trying to put HTML headers within the HTML body.Solution Put the PHP fragments before the HTML body tag.Other White spaces before the <?php or after ?>, session_start(); must be at the firts line at the code; no enter; use ob_start() at start of the script and ob_flush() at end to desabe the header send messageInnymi słowy i po naszemu: "Cannot send session cache limiter - headers already sent" "Nie można wysłać zapytania sesji - nagłówek już został wysłany" 1 linijka: <?php session_start(); 2 linijka: 3 linijka: przed session_start(); nie moze być nic; przed <?php nawet spacji błą 2 związany z pierwszym. |
|
|
![]()
Post
#3
|
|
![]() Grupa: Zarejestrowani Postów: 2 262 Pomógł: 21 Dołączył: 3.05.2004 Skąd: Sopot, Krakow, W-wa Ostrzeżenie: (0%) ![]() ![]() |
Jaki serwer ? Jesli to Linux to mozliwe ze jakis problem z plikami.
-------------------- Javascript, Coffeescript, Node.js, Mongo, CouchDb, chmury, workery & inne bajery - zycie jest zbyt krotkie aby miec nudna prace :)
|
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 19 Pomógł: 0 Dołączył: 21.08.2007 Ostrzeżenie: (0%) ![]() ![]() |
Serwer to webser.
Kolega wczesniej wkleil calego linka z dostempem. (output started at C:\WebServer\www\acidShop\www\index.php:3) |
|
|
![]()
Post
#5
|
|
![]() Grupa: Zarejestrowani Postów: 1 640 Pomógł: 28 Dołączył: 13.02.2003 Skąd: Międzyrzecz/Poznań Ostrzeżenie: (0%) ![]() ![]() |
Nie chodzi o zwykly blad z naglowkiem jak pisze @loopb.
Problem juz rozwiazany. Problem polegal na zarjestrowaniu obiektu SimpleXML w sesji (wywala wlasnie te 3 bledy). Wyjsciem z sytuacji jest umieszczenie typu przed obiektem:
-------------------- PHP Developer
"Nadmiar wiedzy jest równie szkodliwy jak jej brak" Émile Zola |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 22.06.2025 - 12:18 |