Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

need help with this error


blackmarketgames

Recommended Posts

Posted

The tmp dir has to be in your root

So it has to be create by your Hosting Provider

 

The_Bear

Posted

I am running a test server on a win XP machine using apache 1.3.28

 

I have added a tmp folder to C:\Program Files\Apache Group\Apache (my root)

 

I still get

 

Warning: session_start(): open(/tmp\sess_31b8feee069d3741776eb488af8bbd4e, O_RDWR) failed: No such file or directory (2) in c:\program files\apache group\apache\htdocs\catalog\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\includes\functions\sessions.php:67) in c:\program files\apache group\apache\htdocs\catalog\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\includes\functions\sessions.php:67) in c:\program files\apache group\apache\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.

Posted

Found what is the matter - looks like this solution needs to be a sticky

 

in configure.php you'll probably see

 

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

 

...at the bottom

 

forget the 'leave empty' jibberish and put in 'mysql'.

 

define('STORE_SESSIONS', 'mysql');

Posted

alter the configure.php in both catalog/includes/ and admin/includes ;-)

 

I sure do wish one could edit their posts in this place.

Posted
in your catalog dir /catalog/tmp perm it 777

same here, ive tested localy, you can add tmp to www, catalog, etc etc full permissions, prob still there...dam thing

Cheers

 

MickTheFish

Posted
in your catalog dir /catalog/tmp perm it 777

same here, ive tested localy, you can add tmp to www, catalog, etc etc full permissions, prob still there...dam thing

Cheers

 

MickTheFish

Posted
The tmp dir has to be in your root

So it has to be create by your Hosting Provider

 

The_Bear

hey bear, do you mean on the samw level as you catalog or 1 above it or different, can you give an example pzl

Cheers

 

MickTheFish

Archived

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

×
×
  • Create New...