session_start(); hatası

140

Merhaba Değerli Ziyaretçimiz;

Warning: session_start() [function.session-start]: open(/var/lib/php/session/sess_o3i1bsba2kbcaha17q8hmc55m7, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/site/httpdocs/system/library/session.php on line 11 Warning: Unknown: open(/var/lib/php/session/sess_o3i1bsba2kbcaha17q8hmc55m7, O_RDWR) failed: Permission denied (13) in Unknown on line 0Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0

Yukarıdaki gibi hata aldığımızda hata aldığımız php dosyasına girerek aşağıdaki kodu aratıyoruz.Kod silip kaydediyoruz sorun çözülmüştür.

  • session_start();

İyi çalışmalar…

 

 


Article Tags: · · · · ·

Leave a Comment

Paylaş