![]() |
![]() |
![]()
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. |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 24.06.2025 - 22:51 |