Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error Msg, when Press Checkout!


znap

Recommended Posts

Posted

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:

Posted

Have already checked the whit spaces, the first thing i did..

but still not working..

 

:/

Posted

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)

Archived

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

×
×
  • Create New...