Tegwin Posted December 10, 2005 Posted December 10, 2005 Now that I have the shop working. I get lots of warnings on the screen. When I click on admin or catalog I get some warnings at the top of the screen. How do I remove these Thanks Warning: session_start(): open(/tmp\sess_cd6efdec5d61e32e5d2c9d5526fa1abc, O_RDWR) failed: No such file or directory (2) in C:\Inetpub\wwwroot\phpshop\catalog\includes\functions\sessions.php on line 97 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Inetpub\wwwroot\phpshop\catalog\includes\functions\sessions.php:97) in C:\Inetpub\wwwroot\phpshop\catalog\includes\functions\sessions.php on line 97 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\wwwroot\phpshop\catalog\includes\functions\sessions.php:97) in C:\Inetpub\wwwroot\phpshop\catalog\includes\functions\sessions.php on line 97 Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.
ozcsys Posted December 10, 2005 Posted December 10, 2005 Now that I have the shop working. I get lots of warnings on the screen. When I click on admin or catalog I get some warnings at the top of the screen. How do I remove these Thanks Warning: session_start(): open(/tmp\sess_cd6efdec5d61e32e5d2c9d5526fa1abc, O_RDWR) failed: No such file or directory (2) in C:\Inetpub\wwwroot\phpshop\catalog\includes\functions\sessions.php on line 97 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Inetpub\wwwroot\phpshop\catalog\includes\functions\sessions.php:97) in C:\Inetpub\wwwroot\phpshop\catalog\includes\functions\sessions.php on line 97 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\wwwroot\phpshop\catalog\includes\functions\sessions.php:97) in C:\Inetpub\wwwroot\phpshop\catalog\includes\functions\sessions.php on line 97 Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. In your configure.php files try changing This define('STORE_SESSIONS', ' '); // leave empty '' for default handler or set to 'mysql' To define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
Tegwin Posted December 10, 2005 Author Posted December 10, 2005 In your configure.php files try changing This define('STORE_SESSIONS', ' '); // leave empty '' for default handler or set to 'mysql' To define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' NOPE that has not worked. Exactly the same I have tried to change the error reporting in the PHP.INI file but still not happenings ; - Show all errors, except for notices ; error_reporting = E_WARNING ; - Show only errors ;
Tegwin Posted December 11, 2005 Author Posted December 11, 2005 NOPE that has not worked. Exactly the same I have tried to change the error reporting in the PHP.INI file but still not happenings ; - Show all errors, except for notices ; error_reporting = E_WARNING ; - Show only errors ; I have still not been able to get this to work. even after changing the various files. It is obviously seeing them as errors. How do I tell it otherwise.
fncool Posted December 11, 2005 Posted December 11, 2005 the very first error, and very last error both say you don't have a directory called tmp so make a directory called tmp. what you should have done during the install is told it to use the database to store sessions, but i'm new, so i am not exactly sure how you'd change that now (if it even matters) i believe ozcsys has just told you how to change it manually
Recommended Posts
Archived
This topic is now archived and is closed to further replies.