Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sessions problems


neelyrobert

Recommended Posts

Posted

:unsure:

 

I'm just getting started with osCommerce. After some work(!), I've got Apache+PHP+mySql up, and got really excited when I finally say osCommerce in my browser. But, I got a ton of error messages, namely: (see below) Please help!

 

In Admin mode, at the top of the screen:

 

Warning: session_start(): open(/tmp\sess_733cac0d4142350d5f2225af40bffdaa, O_RDWR) failed: No such file or directory (2) in c:\program files\apache group\apache\htdocs\catalog\admin\includes\functions\sessions.php on line 67

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\program files\apache group\apache\htdocs\catalog\admin\includes\functions\sessions.php:67) in c:\program files\apache group\apache\htdocs\catalog\admin\includes\functions\sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\program files\apache group\apache\htdocs\catalog\admin\includes\functions\sessions.php:67) in c:\program files\apache group\apache\htdocs\catalog\admin\includes\functions\sessions.php on line 67

 

At the bottom of the screen:

Warning: Unknown(): open(/tmp\sess_733cac0d4142350d5f2225af40bffdaa, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

 

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

 

Additionally, if I go into the catalog:

 

Warning: Installation directory exists at: c:/program files/apache group/apache/htdocs/catalog/install. Please remove this directory for security reasons.

Warning: I am able to write to the configuration file: c:/program files/apache group/apache/htdocs/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

 

Where do I create the directory it is looking for?

Posted

Try this instead in both catalog/includes/configure.php and admin/includes/configure.php change this line

define('STORE_SESSIONS', '');

to this

define('STORE_SESSIONS', 'mysql');

 

The install directory can be deleted as you no longer require it.

 

Once you have changed the configure.php files change the permissions on them to chmod 644 or 444 chmod 444 is read only

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

Thank you for reminding me of that one.

I was about to kick myself.

If you choose not to decide you still have made a choice, I will choose a purpose clear, I will choose Free Will. --Neal Peart - Rush

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...