![]() |
![]() |
![]()
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%) ![]() ![]() |
Z przyzwyczajenia (IMG:style_emoticons/default/smile.gif) Tak samo nie stosuje konkatencji na obiektach zawierających metodę __toString() tylko używam Wydaje mi się że to jest dobra praktyka i pozwala unikać problemów związanych z różnymi wersjami php na serwerach (dot. __toString()) hehe no ale ja np w pracy nauczylem sie ze przyzwyczajenia takie nie sa za dobre, pozniej ktos sie pyta po co to? - z przyzwyczajenia odpowiedz prosta: wywal to, jak cos jest nie potrzebne, to w kodzie ktory idzie na produkcjie, ma sie nie pojawiac (IMG:style_emoticons/default/winksmiley.jpg) ps. konkatencji = konkatenacji (IMG:style_emoticons/default/biggrin.gif) |
|
|
![]() ![]() |
![]() |
Aktualny czas: 9.10.2025 - 03:11 |