Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sessions.php error


mjmco3

Recommended Posts

I have searched and found several suggestions that do not work. I am getting the following error:

 

Warning: session_start() [function.session-start]: open(D:\\inetpub\\vhosts\\mjm-consulting.com\\httpdocs\\osCommerce/tmp\sess_1e0f322dee934ea2f1314527c58b74d6, O_RDWR) failed: Permission denied (13) in D:\inetpub\vhosts\mjm-consulting.com\httpdocs\oscommerce\includes\functions\sessions.php on line 67

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at D:\inetpub\vhosts\mjm-consulting.com\httpdocs\oscommerce\includes\functions\sessions.php:67) in D:\inetpub\vhosts\mjm-consulting.com\httpdocs\oscommerce\includes\functions\sessions.php on line 67

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\inetpub\vhosts\mjm-consulting.com\httpdocs\oscommerce\includes\functions\sessions.php:67) in D:\inetpub\vhosts\mjm-consulting.com\httpdocs\oscommerce\includes\functions\sessions.php on line 67

 

 

Does anyone have ideas on where the source of this error is? Have looked at the php file listed in the error on line 67 and it is a simple callout. I have also created a folder named "tmp" under the OsCommerce main folder. I have even checked the configuration file in \Admin\includes\, none of which helped. This also leads to the following issue when trying to run the Administration pages:

Warning: Unknown(): open(D:\\inetpub\\vhosts\\mjm-consulting.com\\httpdocs\\osCommerce/tmp\sess_f9b734c6aa78e5aaa156736d4c7814b5, O_RDWR) failed: Permission denied (13) 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 (D:\\inetpub\\vhosts\\mjm-consulting.com\\httpdocs\\osCommerce/tmp) in Unknown on line 0

 

 

any help is greatly appreciated.

Link to comment
Share on other sites

Make the last line of both configure.php files read 'mysql' where indicated - thus storing sessions in the database and not in files in a folder. This should remove the errors.

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...