Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Error przy logowaniu do PA, Upload
Diler
post
Post #1





Grupa: Zarejestrowani
Postów: 1
Pomógł: 0
Dołączył: 10.01.2009

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


Witam
mam problem z uploadem
wszystko bylo dobrze bez zadnych warningow/errorow (na hoscie cba.pl) a gdy wgralem na server nazaw.pl to przy logowaniu sie na adma na gorze sa te warningi

[b]
Kod
Warning[/b]:  session_start() [[url="http://gtasforum.pl/function.session-start"]function.session-start[/url]]: Cannot send session cookie - headers already sent by (output started at /home/gtasforum/ftp/admin.php:1) in [b]/home/gtasforum/ftp/admin.php[/b] on line [b]23[/b]

[b]Warning[/b]:  session_start() [[url="http://gtasforum.pl/function.session-start"]function.session-start[/url]]: Cannot send session cache limiter - headers already sent (output started at /home/gtasforum/ftp/admin.php:1) in [b]/home/gtasforum/ftp/admin.php[/b] on line [b]23[/b]


Chcialem je zignorować lecz przy wpisaniu loginu i hasła wyświetla się 3 warning i robi powrót do logowania
Oto warning

[b]
Kod
Warning[/b]:  Cannot modify header information - headers already sent by (output started at /home/gtasforum/ftp/sprawdz.php:1) in [b]/home/gtasforum/ftp/sprawdz.php[/b] on line [b]35[/b]


A oto linijki
23. <?php session_start(); ?>
35. $directory="files"; // w fafu files

Prosze o szybka pomoc (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 3)
phpion
post
Post #2





Grupa: Moderatorzy
Postów: 6 072
Pomógł: 861
Dołączył: 10.12.2003
Skąd: Dąbrowa Górnicza




Cytat(Diler @ 10.01.2009, 15:34:41 ) *

Szybciej byś to znalazł - problem poruszany setki razy na forum. Generalnie chodzi o to, że przed session_start() nie możesz wysłać NIC do przeglądarki (żadnego kodu HTML, nawet spacji).
Go to the top of the page
+Quote Post
RubiX
post
Post #3





Grupa: Zarejestrowani
Postów: 162
Pomógł: 6
Dołączył: 14.02.2007
Skąd: Poznań

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


Dokładnie skasuj
23. <?php session_start(); ?>
i wklej to aby było w linijce 0
0. <?php session_start(); ?>
Go to the top of the page
+Quote Post
batman
post
Post #4





Grupa: Moderatorzy
Postów: 2 921
Pomógł: 269
Dołączył: 11.08.2005
Skąd: 127.0.0.1




Było milion razy na forum.
Zamykam.
Go to the top of the page
+Quote Post

Closed TopicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 14.09.2025 - 15:10