novyan Posted November 20, 2005 Posted November 20, 2005 Hi all, New guy here, very excited! But do need help a bit here. Installed... and I got this message, I did lil search, found... isn't this a bug that supposed hase been fixed on 2.1? mm... :confused: Anyways, here it is what I see: Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/novyan/public_html/catalog/admin/includes/configure.php:50) in /home/novyan/public_html/catalog/admin/includes/functions/sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/novyan/public_html/catalog/admin/includes/configure.php:50) in /home/novyan/public_html/catalog/admin/includes/functions/sessions.php on line 67 And this is waht my includes/configeure.php looks like (as the admin one): define('HTTP_SERVER', 'http://www.diokay.com/'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 'false'); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.diokay.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/home/novyan/public_html/catalog/'); define('HTTPS_COOKIE_PATH', ''); 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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers ...... define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> I have tried following but no luck: - define all the https - define('STORE_SESSIONS', ''); to define('STORE_SESSIONS', 'mysql'); - cookie to: define('HTTP_COOKIE_PATH', '/home/novyan/public_html/catalog/catalog/'); - or to: define('HTTP_COOKIE_PATH', '/catalog/'); Anything I am missing? Please help, thanks ;)
Guest Posted November 20, 2005 Posted November 20, 2005 I'd say the problem is the editor you are using - what is it? Try editing the file in notepad - the file has nowhere near the 50 lines indicated by the error message - there should be nothing after the final ?> Storing sessions in mysql is a good option. Matti
novyan Posted November 20, 2005 Author Posted November 20, 2005 I'd say the problem is the editor you are using - what is it? Try editing the file in notepad - the file has nowhere near the 50 lines indicated by the error message - there should be nothing after the final ?> Storing sessions in mysql is a good option. Matti Thanks Johnson ;) It's fixed... I directly edit using the Cpanel, I found one post suggesting removing the empty space at the end of both configure.php ... it ressolved it ;) :D ... nice ;) excitement! excitement here! Again thanks!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.