HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Strange Problem with PHP sessions path !!! (http://www.howtoforge.com/forums/showthread.php?t=3285)

lyndros 22nd March 2006 19:05

Strange Problem with PHP sessions path !!!
 
:( 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

lyndros 22nd March 2006 19:34

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


All times are GMT +2. The time now is 03:38.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.