Guest PcGamerz13 Posted March 14, 2006 Share Posted March 14, 2006 When I Use This[code]<?phpsession_start();?>[/code]I get this errorWarning: session_start() [function.session-start]: open(../tmp\sess_98e8b2237f9169a0b501698d87ec1f78, O_RDWR) failed: No such file or directory (2) in C:\wamp\www\test\index.php on line 2Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\wamp\www\test\index.php:2) in C:\wamp\www\test\index.php on line 2Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\wamp\www\test\index.php:2) in C:\wamp\www\test\index.php on line 2 Quote Link to comment https://forums.phpfreaks.com/topic/4900-session-error/ Share on other sites More sharing options...
Guest PcGamerz13 Posted March 14, 2006 Share Posted March 14, 2006 What must I fix in the php.ini to fix this? Quote Link to comment https://forums.phpfreaks.com/topic/4900-session-error/#findComment-17262 Share on other sites More sharing options...
wildteen88 Posted March 14, 2006 Share Posted March 14, 2006 have your changed a setting in the php.ini callled [b]session.save_path[/b]? if you have what have you changed it to as php is trying to use the session file which it uses to keep track of being added in the session, but php cant access this file and so you're getting the error message(s) above.For now clear what ever you have set in the [b]session.save_path[/b] directive in the php.ini file.Save the php.ini and restart Apache or what ever webserver you're using. Try using sessions now. Quote Link to comment https://forums.phpfreaks.com/topic/4900-session-error/#findComment-17306 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.