Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PHP] Problemy z sesją
patryk20120
post
Post #1





Grupa: Zarejestrowani
Postów: 256
Pomógł: 1
Dołączył: 20.04.2008

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


Witam,

wgrałem swoją stronę na inny serwer(przeprowadzka (IMG:style_emoticons/default/tongue.gif) ) no i wyskoczyły mi następujące błędy w kodzie(na starym hostingu ich nie było):
  1. Warning: session_start() [function.session-start]: open(/tmp/(...), O_RDWR) failed: No such file or directory (2) in /index.php on line 59
  2.  
  3. Warning: Unknown: open(/tmp/(...), O_RDWR) failed: No such file or directory (2) in Unknown on line 0
  4.  
  5. Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0


Czy mogę to jakoś naprawić (IMG:style_emoticons/default/questionmark.gif)
Go to the top of the page
+Quote Post
Kildyt
post
Post #2





Grupa: Zarejestrowani
Postów: 869
Pomógł: 53
Dołączył: 20.10.2003
Skąd: Przeworsk

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


Problem musi być po stronie serwera.
Sprawdź czy w php.ini obsługa sesji nie jest wyłączona i czy katalogi posiadają odpowiednie uprawnienia (na początek najlepiej odpal phpinfo()).
Jeżeli nie pomoże przeszukaj temat na bugs.php.net.

Ten post edytował Kildyt 21.01.2011, 21:53:32
Go to the top of the page
+Quote Post
Mephistofeles
post
Post #3





Grupa: Zarejestrowani
Postów: 1 182
Pomógł: 115
Dołączył: 4.03.2009
Skąd: Myszków

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


Nie masz uprawnień do zapisu w katalogu tmp. Czy to nie przypadkiem serwer na Windowsie? On nie ma katalogu tmp (IMG:style_emoticons/default/tongue.gif) .
Go to the top of the page
+Quote Post
cojack
post
Post #4





Grupa: Zarejestrowani
Postów: 898
Pomógł: 80
Dołączył: 31.05.2008

Ostrzeżenie: (20%)
X----


Nie masz czasem przed session_start() funkcji session_destroy() ?
Go to the top of the page
+Quote Post
patryk20120
post
Post #5





Grupa: Zarejestrowani
Postów: 256
Pomógł: 1
Dołączył: 20.04.2008

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


Dobra, dodałem folder tmp w głównym katalogu i śmiga. Nie mam jak skonfigurować serwera (IMG:style_emoticons/default/tongue.gif) To wina home.pl, można zamknąć (IMG:style_emoticons/default/winksmiley.jpg)
Go to the top of the page
+Quote Post

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: 23.08.2025 - 18:55