ilustrate Posted June 10, 2005 Share Posted June 10, 2005 Warning: session_start() [function.session-start]: open(/tmp\sess_4bb72da5641c10ce8b8e8e1fe845e41d, O_RDWR) failed: No such file or directory (2) in C:\apachefriends\xampp\xampp\htdocs\osCommerce\oscommerce-2.2ms2\catalog\admin\includes\functions\sessions.php on line 67 any idea where i need to put this directory or how to fix this new install i'm installing this locally using my apache server from Xampp also by the way. how do i go about setting permissions? i normally use smartftp but this is different because all the files are local. i'm using windows xp sp2. Link to comment Share on other sites More sharing options...
FalseDawn Posted June 10, 2005 Share Posted June 10, 2005 Change the session.save_path = ... setting in php.ini to point to the directory where you want to store session files. Change your session directory from /tmp to \tmp if you want to keep this directory. Restart Apache. Link to comment Share on other sites More sharing options...
ilustrate Posted June 11, 2005 Author Share Posted June 11, 2005 Change the session.save_path = ... setting in php.ini to point to the directory where you want to store session files. Change your session directory from /tmp to \tmp if you want to keep this directory. Restart Apache. <{POST_SNAPBACK}> Thank you very much for your expert support . Could you enlighten me a little more? I found the php.ini in two places (xampp\xampp\php and xampp\xampp\apache\bin) which one do I alter? Also, I'm understanding that I should "change your session directory from \tmp to \tmp if you want to keep this directory" does this mean that the lines in php.ini should end up looking something like this... before: ; variable in order to use PHP's session functions. session.save_path= ".;c:\apachefriends\xampp\xampp\tmp" after: ; variable in order to use PHP's session functions. session.save_path= ".;c:\apachefriends\xampp\xampp/tmp" thanks for any help you can continue providing... Link to comment Share on other sites More sharing options...
FalseDawn Posted June 11, 2005 Share Posted June 11, 2005 I don't know exactly how xampp works as I don't use it - however, I would try changing the php.ini in the php directory. Also, if you look in application_top.php, you'll see the line: tep_session_save_path(SESSION_WRITE_DIRECTORY); Which you should really comment out if you are setting the session_save_path manually. Regarding the string, I don't know what the ".;" is for at the beginning - I would try: session.save_path= "c:\apachefriends\xampp\xampp\tmp" and manually create the tmp directory. You can use any directory here as long as it actually exists on the filesystem Sorry about the "/", "\" confusion - one is used on Windows, the other on Linux. Link to comment Share on other sites More sharing options...
ilustrate Posted June 11, 2005 Author Share Posted June 11, 2005 I don't know exactly how xampp works as I don't use it - however, I would try changing the php.ini in the php directory. Also, if you look in application_top.php, you'll see the line: tep_session_save_path(SESSION_WRITE_DIRECTORY); Which you should really comment out if you are setting the session_save_path manually. Regarding the string, I don't know what the ".;" is for at the beginning - I would try: session.save_path= "c:\apachefriends\xampp\xampp\tmp" and manually create the tmp directory. You can use any directory here as long as it actually exists on the filesystem Sorry about the "/", "\" confusion - one is used on Windows, the other on Linux. <{POST_SNAPBACK}> Unfortuneatly I'm still at the same exact spot where I left off at. I put in about 12 hours into this and have no progress whatsoever. I've gone back to resetting all the php.ini files to their original form. Any other suggestions anyone......... Link to comment Share on other sites More sharing options...
radders Posted June 11, 2005 Share Posted June 11, 2005 Try setting up oscommerce to save sessions in the database. Xampp should be pretty simple to set up. As far as permissions are concerned, I think you can ignore them for a local setup with Xampp, apart from the ones you set up using their menu which are (hopefully) self-explanatory. The hardest part is remembering your passwords. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.