Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Past the PHP and stuck on MySQL


julie

Recommended Posts

Hi all,

 

I searched to see if anyone has had the same exact problem as me. Here's what errors I'm getting when I bring up the shopping cart on the site.

 

Warning: session_start(): open(/tmp\sess_a7b96fadb5f35bde401a818626edb72d, O_RDWR) failed: No such file or directory (2) in E:\Webservers\micamericas\shopping\catalog\admin\includes\functions\sessions.php on line 67

 

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

 

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

 

 

Here's what Is on line 66 & 67 of "...catalog\admin\includes\functions\sessions.php"

 

function tep_session_start() {

return session_start();

 

Is there something I'm missing?

Thanks,

Julie

Link to comment
Share on other sites

It looks like you are testing the code on a Windows server and have the session directory configured incorrectly. In the includes/configure.php file change the STORE_SESSIONS to 'mysql' on both the admin and catalog side. This will use the database to store the session data and you won't have to worry about folders and permissions...especially nice if you are testing / developing locally on a Windows machine and upload to a *Nix based live server.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...