![]() |
![]() |
![]()
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? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 1 319 Pomógł: 118 Dołączył: 26.11.2003 Skąd: Lublin Ostrzeżenie: (0%) ![]() ![]() |
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: w index.php
tylko niepotrzebnie dajesz echo przed ob_end_flush |
|
|
![]() ![]() |
![]() |
Aktualny czas: 10.10.2025 - 20:42 |