Strange Problem with PHP sessions path !!!

Discussion in 'Installation/Configuration' started by lyndros, Mar 22, 2006.

  1. lyndros

    lyndros New Member

    :( Hello guys im having some troubles on a site that is currently working when i make phpscript to start a session then that error appears

    Warning: session_start() [function.session-start]: open(/var/www/web5/phptmp//sess_xxxxxxx, O_RDWR) failed: Permission denied (13) in /var/www/web5/web/final/login.php on line 2

    the code is right as u can see here the problem is the path, because it adds an extra bar, i took a look in my vhost for the site and the path it's just the same than other site where the script is working fine....

    how can i solve this?

    thk u in advance :p
     
  2. lyndros

    lyndros New Member

    Now i've resolved my problem just erasing phptmp/ and creating again throught ispconfig after that added the session_path () and executed it only once and works without problems. after that u can remove session_path () function safely, because the path is now correct :p

    thk u to all the people contributing in ispconfig

    see u
     

Share This Page