Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sessions.php


Guest

Recommended Posts

Posted

during installation, I get these errors :

 

Warning: session_start(): open(/tmp/sess_ef0e29b2e02f9fab9f48ca843927550f, O_RDWR) failed: Permission denied (13) in /opt/www/debrabanterk/web/www.drakkarproductions.com/webshop/catalog/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /opt/www/debrabanterk/web/www.drakkarproductions.com/webshop/catalog/includes/functions/sessions.php:67) in /opt/www/debrabanterk/web/www.drakkarproductions.com/webshop/catalog/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /opt/www/debrabanterk/web/www.drakkarproductions.com/webshop/catalog/includes/functions/sessions.php:67) in /opt/www/debrabanterk/web/www.drakkarproductions.com/webshop/catalog/includes/functions/sessions.php on line 67

 

Warning: I am not able to write to the sessions directory: /tmp. Sessions will not work until the right user permissions are set.

 

url of website : http://www.drakkarproductions.com/webshop/catalog/

 

how do I configure it that way, that these errors get solved ?

 

 

I'm totally new with oscommerce, but i want to give it a try

Posted

Change both catalog/includes/configure.php and catalog/admin/includes/configure.php to have sessions stored in the database.

 

define('STORE_SESSIONS', 'mysql');

 

HTH

Tom

Posted
Change both catalog/includes/configure.php and catalog/admin/includes/configure.php to have sessions stored in the database.

 

define('STORE_SESSIONS', 'mysql');

 

HTH

Tom

 

How do I change them? is it directly in my ftp program ? or open them via dreamweaver ?

 

Am kind of a 'noob' in these things, so I could use all help.

 

Thanks for helping!

Posted

Ftp them to your PC and edit them locally and keep backups. Use a good editor (maybe GVIM) then ftp the source back to your server.

 

Tom

Posted
Ftp them to your PC and edit them locally and keep backups. Use a good editor (maybe GVIM) then ftp the source back to your server.

 

Tom

 

Ok, have changed them and uploaded succesfully

 

errors don't appear anymore !

 

Many thanks !

Archived

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

×
×
  • Create New...