jamiedia Posted October 30, 2006 Posted October 30, 2006 My site has been working fine untill today. I have done a lot of work and I cant retrace my steps. I cant find anything in the forum when I search. When I go to the cart or my account I get this: "Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/includes/classes/currencies.php:76) in /home/username/public_html/includes/functions/general.php on line 33" I think its something to do with the SSL setup. Does anyone have any ideas? Heres the config. I cant see any errors Ive ive spent that long looking at it my heads going to explode. Its a shared ssl for the time being but I dont think that should make any difference "// Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://url.co.uk); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure17.websitewelcome.com/~username'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'https://secure17.websitewelcome.com/~username); define('HTTPS_COOKIE_DOMAIN', 'https://secure17.websitewelcome.com/~username); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); 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('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/username/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
241 Posted October 30, 2006 Posted October 30, 2006 you may have white space in the file download includes/classes/currencies.php find the last ?> on the page and place your cursor after the > then hit delete several times, save the file and upload No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
jamiedia Posted October 30, 2006 Author Posted October 30, 2006 you may have white space in the file download includes/classes/currencies.php find the last ?> on the page and place your cursor after the > then hit delete several times, save the file and upload That fixed it, perfect. I spent all day trying to figure that out - well at least I know for next time. Thanks for the help, its greatly appreciated.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.