![]() |
![]() |
![]() ![]()
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: Zarejestrowani Postów: 32 Pomógł: 0 Dołączył: 1.03.2006 Ostrzeżenie: (0%) ![]() ![]() |
umnie występuje podobny problem dokładnie:
Cytat Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at c:\usr\apache\httpd\html\work\both\ildv1.0b\index2.php:1) in c:\usr\apache\httpd\html\work\both\ildv1.0b\index2.php on line 2 przy kodzie:
Problemem okazało się to że plik był zapisany z kodowaniem utf-8 jeżeli zapisałbym go w ANSI(Windows) to podany problem wogóle nie wytępuję. Jednak pisanie w ANSI jest dosyć niewygodne. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 5.10.2025 - 02:46 |