04-14-2023, 10:10 PM
I have a problem that literally happened overnight. One day it was working, and the next, it wasn't. My php script, which is in a subdomain now outputs the error "Warning: session_start() [function.session-start]: open(/var/www/vhosts/sur/sur.com/httpdocs/subdomains/ns/phptmpdir/sess_71c80badeda0a257401e03c36ffbb423, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/sur/sur.com/httpdocs/subdomains/ns/includes/header.php on line 3
and then in the footer
Warning: Unknown: open(/var/www/vhosts/sur/sur.com/httpdocs/subdomains/ns/phptmpdir/sess_71c80badeda0a257401e03c36ffbb423, O_RDWR) failed: Permission denied (13) 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/www/vhosts/sur/sur.com/httpdocs/subdomains/ns/phptmpdir) in Unknown on line 0
I googled this and people said to change the session directory. When I looked at that, all I saw was N/path or something like that in the php.ini. Any help? i need to get this solved
Thanks
Restored from old drupal forum, for user uid:2687 username:ehcpuser
You may reset your password to access your new account here.
and then in the footer
Warning: Unknown: open(/var/www/vhosts/sur/sur.com/httpdocs/subdomains/ns/phptmpdir/sess_71c80badeda0a257401e03c36ffbb423, O_RDWR) failed: Permission denied (13) 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/www/vhosts/sur/sur.com/httpdocs/subdomains/ns/phptmpdir) in Unknown on line 0
I googled this and people said to change the session directory. When I looked at that, all I saw was N/path or something like that in the php.ini. Any help? i need to get this solved
Thanks
Restored from old drupal forum, for user uid:2687 username:ehcpuser
You may reset your password to access your new account here.