Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] Dołączanie skryptu forum do strony., Warning: Cannot modify header information - headers already sent by
Mishczu
post
Post #1





Grupa: Zarejestrowani
Postów: 20
Pomógł: 0
Dołączył: 6.04.2010

Ostrzeżenie: (0%)
-----


Witam! Mam stronę i chciałem do niej dołączyć forum (MiniBB). Forum się wyświetla normalnie, ale jak chcę napisać posta lub się zalogować wywala błąd:

Kod
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\WebServ\httpd\lastSPARY2\forum\index.php:6) in C:\Program Files\WebServ\httpd\lastSPARY2\forum\bb_cookie.php on line 101

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\WebServ\httpd\lastSPARY2\forum\index.php:6) in C:\Program Files\WebServ\httpd\lastSPARY2\forum\bb_cookie.php on line 87

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\WebServ\httpd\lastSPARY2\forum\index.php:6) in C:\Program Files\WebServ\httpd\lastSPARY2\forum\bb_functions.php on line 293

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\WebServ\httpd\lastSPARY2\forum\index.php:6) in C:\Program Files\WebServ\httpd\lastSPARY2\forum\bb_functions.php on line 294

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\WebServ\httpd\lastSPARY2\forum\index.php:6) in C:\Program Files\WebServ\httpd\lastSPARY2\forum\bb_functions.php on line 293

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\WebServ\httpd\lastSPARY2\forum\index.php:6) in C:\Program Files\WebServ\httpd\lastSPARY2\forum\bb_functions.php on line 294



Kod forum:
http://wklej.org/hash/a09cd2b93fb/

Pytanie 2: jak ustawić polską strefę czasową w tym skrypcie?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Daimos
post
Post #2





Grupa: Zarejestrowani
Postów: 1 319
Pomógł: 118
Dołączył: 26.11.2003
Skąd: Lublin

Ostrzeżenie: (0%)
-----


Cytat(demolka666 @ 4.06.2010, 12:04:04 ) *
taki błąd wyskakuje czasem jeżeli masz w zrobione przekierowanie na inną stronę w PHP. Użyj do tego java scriptu (polecenie header.location.href).

po nazwach plików, które tam widać przy błędach, to jest raczej przez wysłanie ciastek, dobre zastosowanie przedstawił już zend:
Cytat(zend @ 4.06.2010, 12:32:32 ) *
w index.php
  1. <?php
  2. //cała zawartość index.php
  3.  
  4. ?>

tylko niepotrzebnie dajesz echo przed ob_end_flush
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 10.10.2025 - 20:42