From: <php...@li...> - 2010-10-15 09:40:18
|
Hello all. I'm getting this message when ever 'session_start()' runs: /root/wasce/var/log//server.out:PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open('/root/wasce/var/temp'/sess_9695854ea31bcf9308a4b98d17830eb8, O_RDWR) failed: No such file or directory (2) in /root/wasce/repository/default/claim/1287058146236/claim-1287058146236.war/missing/config.php on line 3 /root/wasce/var/log//server.out:PHP Warning: Unknown: open('/root/wasce/var/temp'/sess_9695854ea31bcf9308a4b98d17830eb8, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 /root/wasce/var/log//server.out:PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct ('/root/wasce/var/temp') in Unknown on line 0 Path exists, already tried to change to /tmp. File permission is good, since I'm running as root. Tried from different Linux platforms (i386 and s390) using Geronimo and Jetty, always getting result above. My code is pretty simple: <? include_once($_SERVER['DOCUMENT_ROOT']."/java/Java.inc"); session_start(); .. . ?> Can someone advise how to handle PHP standards sessions? Thanks for your time!! -- Garcia -- Garcia |