Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Log In Problem


Makkara

Recommended Posts

Posted

When my old customers try to log in they get this message after pressing Log In-button:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/erapuoti/public_html/kauppa/includes/languages/finnish/login.php:55) in /home/erapuoti/public_html/kauppa/includes/functions/general.php on line 33

 

 

In general.php lines go like this and line 33 is that one marked red.

 

 

 

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();

}

 

////

// Parse the data used in the html tags to ensure the tags will not break

function tep_parse_input_field_data($data, $parse) {

return strtr(trim($data), $parse);

 

Please tell me what on earth should I do ?

Posted

i had this general.php on line 33 error also.

i think i removed a whitespace in the bottom of general.php to fix this

 

See if there is any " white space" after the final ?> ...

Posted
i had this general.php on line 33 error also.

i think i removed a whitespace in the bottom of general.php to fix this

 

See if there is any " white space" after the final ?> ...

 

 

There was a whitespace after the last marks and I removed it but it didn´t help.

Posted

PROBLEM SOLVED!

 

The whitespace was in my login.php, not in general.php.

Archived

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

×
×
  • Create New...