Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

session_start() errors


Guest

Recommended Posts

at the top of my catalog and admin pages im getting :

 

Warning: session_start(): open(/tmp\sess_c430702f93f2a0f9a963460c14bc78e6, O_RDWR) failed: No such file or directory (2) in C:\oscommerce\catalog\admin\includes\functions\sessions.php on line 67

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\oscommerce\catalog\admin\includes\functions\sessions.php:67) in C:\oscommerce\catalog\admin\includes\functions\sessions.php on line 67

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\oscommerce\catalog\admin\includes\functions\sessions.php:67) in C:\oscommerce\catalog\admin\includes\functions\sessions.php on line 67

 

 

and at the bottom im getting :

 

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

 

anyone any ideas whats causing this ? help much appreciated

Link to comment
Share on other sites

As a first step, store the session data in the database.

 

Edit BOTH configure.php files at the bottom and set sessions to 'mysql'

 

catalog/includes/configure.php

catalog/admin/includes/configure.php

 

HTH

Tom

Link to comment
Share on other sites

As a first step, store the session data in the database.

 

Edit BOTH configure.php files at the bottom and set sessions to 'mysql'

 

catalog/includes/configure.php

catalog/admin/includes/configure.php

 

HTH

Tom

 

cheers the error has gone now however when i click a link i get page cannot be displayed the link displayed is :

 

http://localhostindex.php/?cPath=1&osCsid=...9874e476c0133ce

Link to comment
Share on other sites

Looks like you might be missing a slash in one of the configure.php entrys for http server.

 

http://localhostindex.php/?cPath=1&osCsid=...9874e476c0133ce

 

should be

 

http://localhost/index.php/?cPath=1&osCsid...9874e476c0133ce

 

Also maybe safe URL's in the admin section of MY STORE needs to be set to false because

 

http://localhost/index.php/?cPath=1&osCsid...9874e476c0133ce

 

should be

 

http://localhost/index.php?cPath=1&osCsid=...9874e476c0133ce

 

 

Anyway if those don't work post your configure.php file for assistance here on the forum (***** out passwords). I'll check back in a few hours, maybe one of the other fine folks here on the forum can look at the configure.php while I'm out and not available.

 

HTH

Tom

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...