![]() |
![]() |
![]() ![]()
Post
#1
|
|
Grupa: Developerzy Postów: 823 Pomógł: 12 Dołączył: 18.12.2005 Ostrzeżenie: (0%) ![]() ![]() |
Mam wielki problem. Przy kodzie w pliku:
(http://www.diablo.phx.pl/z_bzdety/sesja.php) wawala błędy: Cytat Warning: session_start() [function.session-start]: open(/var/lib/php5/sess_2e42ef5925e77ddf27f1e7b08937bcf9, O_RDWR) failed: No such file or directory (2) in /var/virtuals/diablo.phx.pl/htdocs/z_bzdety/sesja.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/virtuals/diablo.phx.pl/htdocs/z_bzdety/sesja.php:2) in /var/virtuals/diablo.phx.pl/htdocs/z_bzdety/sesja.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/virtuals/diablo.phx.pl/htdocs/z_bzdety/sesja.php:2) in /var/virtuals/diablo.phx.pl/htdocs/z_bzdety/sesja.php on line 2 Warning: Unknown: open(/var/lib/php5/sess_2e42ef5925e77ddf27f1e7b08937bcf9, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php5) in Unknown on line 0 widać, że sesje się źle zapisują (po 1 warningu), nie mam dostępu do php.ini i funkcji ini_set(), co mam zrobić oprócz napisania do admina w tej sprawie? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Developerzy Postów: 823 Pomógł: 12 Dołączył: 18.12.2005 Ostrzeżenie: (0%) ![]() ![]() |
Cytat Ten błąd oznacza że nagłówki zostały wysłane, czyli musisz buforować dane. Wstaw na początku kodu ob_start();, a na końcu ob_end_flush(); No tak, ale nie są wysyłane żadne nagłówki (patrz kod w poście #1) B dziwne (IMG:http://forum.php.pl/style_emoticons/default/angrysmiley.gif) |
|
|
![]() ![]() |
![]() |
Aktualny czas: 4.10.2025 - 05:54 |