Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Getting some errors after installation


apotterdd

Recommended Posts

Posted

Everything installed correctly been searching the forums for the past few hours tried some of the things mentioned but they didn't work.

 

Errors I get in /catalog/

 

Warning: session_start() [function.session-start]: open(/tmp/sess_24d4503cd1560433a2c0d50cfd404c1f, O_RDWR) failed: Permission denied (13) in /catalog/includes/functions/sessions.php on line 68

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /oscommerce/catalog/includes/functions/sessions.php:68) in /oscommerce/catalog/includes/functions/sessions.php on line 68

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /oscommerce/catalog/includes/functions/sessions.php:68) in /catalog/includes/functions/sessions.php on line 68
Warning: I am not able to write to the sessions directory: /tmp. Sessions will not work until the right user permissions are set.

 

I'm also getting similiar errors in the admin panel

Warning: session_start() [function.session-start]: open(/tmp/sess_24bc09f2238f07d96475db7aedf4e2ec, O_RDWR) failed: Permission denied (13) in /catalog/admin/includes/functions/sessions.php on line 68

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /catalog/admin/includes/functions/sessions.php:68) in /catalog/admin/includes/functions/sessions.php on line 68

 

Not sure what line 68 has to do with anything says something like $success = session or something like that. I'm not sure what to change or how to fix it. I'm also new to phpMyAdmin so if changes need to be made there I would really appreciate step by step instructions on that.

 

I've been pulling my hair out all night over this any help is appreciated.

 

Anita

Posted

Open both /includes/configure.php and admin/includes/configure.php in a text editor and set:

 

define('STORE_SESSIONS', 'mysql');

 

(its right at the bottom of the file)

 

 

Sonia

Posted

Okay I did that but I now get this error.

 

1046 - No database selected

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

[TEP STOP]

 

Looking at both files should I change the http server and some of the other stuff to like localhost or my domain?

 

Thanks again.

Posted

It's all fixed and running nice and purdy. It was kicking and screaming the entire way but I didn't give up.

 

Thanks again.

 

Anita

Archived

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

×
×
  • Create New...