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
zend
post
Post #2





Grupa: Zarejestrowani
Postów: 580
Pomógł: 85
Dołączył: 25.03.2010
Skąd: Skrzyszów :)

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
  1. echo 'xxx' . $obj -> __toString() . ' ' . $obj2 -> __toString();
Wydaje mi się że to jest dobra praktyka i pozwala unikać problemów związanych z różnymi wersjami php na serwerach (dot. __toString())

Ten post edytował zend 4.06.2010, 11:54:16
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: 3.10.2025 - 17:24