Adzzzz Posted September 4, 2006 Share Posted September 4, 2006 after a new install osc works fine on my web server, however when i try to create a new account or login i get the following error messages: Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (e:\sslroot;c:\winnt\temp;) in E:\SSLRoot\mydomain\catalog\includes\functions\sessions.php on line 252 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at E:\SSLRoot\mydomain\catalog\includes\functions\sessions.php:252) in E:\SSLRoot\mydomain\catalog\includes\functions\sessions.php on line 98 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at E:\SSLRoot\mydomain\catalog\includes\functions\sessions.php:252) in E:\SSLRoot\mydomain\catalog\includes\functions\sessions.php on line 98 I am sure that it is to do with my configure.php setup, but not sure where i am going wrong? Here is my confugure.php: define('HTTP_SERVER', 'http://www.mydomain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://vault2.secured-url.com/mydomain'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://www.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'https://vault2.secured-url.com/mydomain'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/fhlinux189/s/mydomain.com/user/htdocs/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); I am using shared SSL and did have this working a few weeks ago. Any help would be a great help. Thanks Adam Link to comment Share on other sites More sharing options...
Adzzzz Posted September 5, 2006 Author Share Posted September 5, 2006 Anyone? Link to comment Share on other sites More sharing options...
♥Vger Posted September 5, 2006 Share Posted September 5, 2006 Fasthosts are running PHP in Safe Mode, using a version of PHP which has a bug in it with regard to the Session Save Path when used in conjunction with Safe Mode. To resolve it, go to your osC admin panel --> Configuration --> Sessions -->Session Save Path and change it to just tmp with no slash before or after tmp Vger Link to comment Share on other sites More sharing options...
Adzzzz Posted September 5, 2006 Author Share Posted September 5, 2006 Thanks Vger that has cleared up those errors at the top! however i am still getting an error at the bottom of the page which says: "Error! Unable to determine the page link!" i did not notice this before. Link to comment Share on other sites More sharing options...
♥Vger Posted September 5, 2006 Share Posted September 5, 2006 Set 'Use Search Engine Friendly URL's' to false in your osCommerce admin panel. Vger Link to comment Share on other sites More sharing options...
Adzzzz Posted September 5, 2006 Author Share Posted September 5, 2006 Thanks Vger! Dont suppose you know how i can improve the SEO side of things? I would like to use Ultimate SEO URLs but the .htaccess wont run properly on fasthosts servers? Cheers Adam Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.