January 2, 200818 yr comment_6104 When I try to do a session_start() in php I get the error: Warning: session_start() [function.session-start]: open(/home/s/serve/tmp/\sess_t1gtuh8s36jkqcc9ic6p6suse0, O_RDWR) failed: No such file or directory even though in php.ini the save path for sessions is clearly set to: session.save_path = "/tmp/" I've no idea where the /home/s/serve path thing is coming from in the first error, I've searched all the files for that string and can't seem to locate it. I haven't changed anything in my php.ini that I know of. I'm using Uniform Server [3.5-Apollo] thanks for your help... Report
January 2, 200818 yr comment_6110 A quick test, I placed this code at the top of a php page: <?php// starts the sessionsession_start(); // sets variable in the session$_SESSION['fred']='test'; ?> No problems when run on XP Home, I was wondering if it’s a Vista issue. Like you I have no idea where that strange path /home/s/serve/tmp/ comes from. Ric Report
January 5, 200818 yr Author comment_6116 I found the problem - a rogue .htaccess file that was sitting in my /www folder from another project I worked on recently. Deleted the .htaccess and it worked fine. My own fault, oops... Report
January 6, 200818 yr comment_6117 I have no problem with “oops” been down that path many times myself.Its nice to see what resolved the problem may help others if they experience a similar problem so thanks for the feedback. All the bestRic Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.