Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error message is shown on top of the page in Admin and Index pages


sormui

Recommended Posts

Posted

I have the following error message showing up on the top of the page in both Admin and Index pages:

 

Warning: session_start() [function.session-start]: open(/tmp\sess_hn1d4vmfdt0fuj11ni57fkagu2, O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\oscommerce\catalog\admin\includes\functions\sessions.php on line 67

 

Please help .... thanks in advance!!!

Posted

open(/tmp\sess_hn1d4vmfdt0fuj11ni57fkagu2, O_RDWR) failed: No such file or directory

 

 

It says that the path to the session catalog dont eksist, and a quick search in here and you would have found the answer. It has been answered many thimes before..

 

This you set under admin - configuration - catche

 

You can also enable session in database as well.

Posted
open(/tmp\sess_hn1d4vmfdt0fuj11ni57fkagu2, O_RDWR) failed: No such file or directory

It says that the path to the session catalog dont eksist, and a quick search in here and you would have found the answer. It has been answered many thimes before..

 

This you set under admin - configuration - catche

 

You can also enable session in database as well.

I can't find any answer in here. Would you mind tell me how to fix it? Thanks a lot!!!

Posted
You should be storing sessions in the database - not a directory on the server. Add this (in bold below) to the store_sessions part of both your configure.php files:

 

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

The error message is gone. Thank you, Jason!!!

Archived

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

×
×
  • Create New...