Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sessions Error


pharaoh

Recommended Posts

Hi All,

 

I have just installed the latest version an d all whent well. that was until i when to load a page or the admin panel.

 

i can not save any changes to the admin con fig due to a sessions error.

 

These are the errors that i am getting.

 

Warning: session_start(): open(/tmp\sess_0167be5e454aea10c482a9831e94bb8e, O_RDWR) failed: No such file or directory (2) in C:\Inetpub\vhosts\xxxx.net.au\subdomains\store\httpdocs\catalog\admin\includes\functions\sessions.php on line 67

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\vhosts\xxxx.net.au\subdomains\store\httpdocs\catalog\admin\includes\functions\sessions.php:67) in C:\Inetpub\vhosts\xxxx.net.au\subdomains\store\httpdocs\catalog\admin\includes\functions\sessions.php on line 67

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\xxxx.net.au\subdomains\store\httpdocs\catalog\admin\includes\functions\sessions.php:67) in C:\Inetpub\vhosts\xxxx.net.au\subdomains\store\httpdocs\catalog\admin\includes\functions\general.php on line 22

Warning: Unknown(): open(/tmp\sess_0167be5e454aea10c482a9831e94bb8e, 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

 

Any help on this would be appreciated.

 

Thanks in advance.

 

Pharaoh

Link to comment
Share on other sites

Try this first:

 

In admin/includes/configure.php set the last line like so:

 

// define our database connection

define('DB_SERVER', '');

define('DB_SERVER_USERNAME', 'mysql');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'osCommerce');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

 

Let me know if that solves the problem.

 

Does this mean that i need to create a folder calledf sessions and then a TMP dir with in it?

 

any suggestions ?

 

Create a directory somewhere in your webspace, catalog is OK, you can name it sessions or whatever you wish.

 

Go into admin -> Configuration -> Sessions and set your new directory as the target.

 

This will be the full path, ie:

 

C:\Inetpub\vhosts\xxxx.net.au\subdomains\store\httpdocs\catalog\sessions

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...