Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Installation Errors: Warning: session_start():


Recommended Posts


Ive just transferred a website from one host to to another

New URL: http://domain1154475.sites.fasthosts.com/


The oscommerce website is not working correctly and my main errors are;


1 - Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/nas03l/n/nefaria.co.uk/user/htdocs/index.php:1) in /home/nas03l/n/nefaria.co.uk/user/htdocs/includes/functions/sessions.php on line 97

2 - Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/nas03l/n/nefaria.co.uk/user/htdocs/index.php:1) in /home/nas03l/n/nefaria.co.uk/user/htdocs/includes/functions/sessions.php on line 97


My front end configure.php file:


define('HTTP_SERVER', 'http://domain1154475.sites.fasthosts.com/');


define('ENABLE_SSL', false); // secure

define('HTTP_COOKIE_DOMAIN', 'http://domain1154475.sites.fasthosts.com/');


define('HTTP_COOKIE_PATH', 'http://domain1154475.sites.fasthosts.com/');


define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');


define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');


I have tried editing the configuration key, SESSION_WRITE_DIRECTORY, changing it from '/tmp' to 'tmp' as some have suggested but no luck.

Im desperate for a solution... As i have read on here so are others.


My phpinfo file is here: http://domain1154475.sites.fasthosts.com/phpinfo.php

Im assuming everything is ok there.


PS - i also have the same session errors in the admin area and you may notice the buy button doesnt work, is this to do with the session error?


Thanks for your time and help.

Link to comment
Share on other sites


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

  • Create New...