sekz Posted June 2, 2004 Posted June 2, 2004 Hi. When I try to open the catalog directory on Internet Explorer I get this error: Warning: session_start(): open(/tmp\sess_faf2d2747941267f3bfca2ef21a4c89d, O_RDWR) failed: No such file or directory (2) in C:\Programas\Apache Group\Apache2\htdocs\catalog\includes\functions\sessions.php on line 67 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Programas\Apache Group\Apache2\htdocs\catalog\includes\functions\sessions.php:67) in C:\Programas\Apache Group\Apache2\htdocs\catalog\includes\functions\sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Programas\Apache Group\Apache2\htdocs\catalog\includes\functions\sessions.php:67) in C:\Programas\Apache Group\Apache2\htdocs\catalog\includes\functions\sessions.php on line 67 Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. I've read about it at the bugs report list and I found this: Add a directory called tmp (the default is that this folder is not created, not sure why). Make sure you set the correct permissions for it (I believe 755). This may solve the problem but I don't know how to give those permissions in Windows XP. Bug report link: http://www.oscommerce.com/community/bugs,1...2BConfiguration I thank you for your help in advance.
Mark Evans Posted June 2, 2004 Posted June 2, 2004 Just edit the configure.php file and change define('STORE_SESSIONS', '') to define('STORE_SESSIONS', 'mysql') And your problem will go away :-) Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds)
thefunkygibbon Posted June 4, 2004 Posted June 4, 2004 hmm i was getting the same problem and i have changed the configure.php in both admin and normal include folder to specify sessions to be kept in the mysql database. but everytime attempt to log in now i get the following error Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in xxx/www/catalog/includes/functions/sessions.php on line 67 any ideas on this? thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.