znap Posted April 17, 2004 Posted April 17, 2004 Hi all.. I have a little problem when i press the checkout buttom.. it says.. Warning: Cannot modify header information - headers already sent by (output started at /home/jpam/public_html/sh0p/includes/languages/english.php:341) in /home/jpam/public_html/sh0p/includes/functions/general.php on line 29 and this is the code.. between.. line 20 to 34 ////// Redirect to another page or site function tep_redirect($url) { if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url $url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL } } header('Location: ' . $url); tep_exit(); } //// Anyone know what could be wrong ? i cant figure it out.. same error msg displays when pressing, "My Account" tell me what you think.. really wanna get rid of this prob.. thanks / znap :ph34r:
♥yesudo Posted April 17, 2004 Posted April 17, 2004 http://www.oscommerce.com/forums/index.php?showtopic=86360 Your online success is Paramount.
znap Posted April 17, 2004 Author Posted April 17, 2004 Have already checked the whit spaces, the first thing i did.. but still not working.. :/
Mark Evans Posted April 17, 2004 Posted April 17, 2004 Did you check the right file? The problem is not in general.php its in english.php Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.