facarroll Posted September 29, 2013 Share Posted September 29, 2013 Since my remote hosting server was recently migrated I am receiving an error message generally which goes like this Warning: session_start() [function.session-start]: open(c:/wampserver/tmp/session_file_name, O_RDWR) failed: No such file or directory (2) in /home/safetyte/public_html/portal/woodwork_sub/ws_member_profile.php on line 2 Lines 1 and 2 are <?phpsession_start(); This message is coming from the remote server but refers to a folder on my local computer (c:/wampserver/tmp) which is in fact the correct path for saving on the testing server. You can see this message is displayed on any computer (yours) by linking to http://www.safetytestingonline.com/portal/woodwork_sub/ws_member_profile.php . Any help would be appreciated. My webhost isn't doing much for me. Quote Link to comment https://forums.phpfreaks.com/topic/282517-linux-server-tries-to-store-session-files-on-cwampserver/ Share on other sites More sharing options...
kicken Posted September 29, 2013 Share Posted September 29, 2013 Somewhere either in your code or in your php.ini file you have configured session.save_path to point to C:/wampserver/tmp. You need to change that configuration to point to an appropriate directory on your remote host. Quote Link to comment https://forums.phpfreaks.com/topic/282517-linux-server-tries-to-store-session-files-on-cwampserver/#findComment-1451628 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.