@daniel27lt
From the above screenshot, the error is:
PHP Error Warning:
session_start():open(/var/lib/php/ssession/sess_xxxx, O_RD_RW) failed: Permission denied(13)
As you can see, it is a permission issue.
Please change the permission for the path i.e. “/var/lib/php/ssession/”.
If you cannot change the permission for any reason, you can set a different path for the session using the following code:
function set_new_session_path(){
session_save_path($my_new_path);
if ("" == session_id()) {
session_start();
}
}
add_action('init', 'set_new_session_path');
Place this code in your theme functions.php file.
-
This reply was modified 8 years, 9 months ago by
Faiyaz Alam.