Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Language and Charset problems


Zane86

Recommended Posts

Hi.

When a customer are trying to create an account on the swedish part of my site, i get the error-code below.

There is no problem in the english version of the site, so i tried copying the english create_account.php-file, and it worked exept that non-english letters (like Å, Ä and Ö) were in strange letters (The letters worked with the original swedish-files).

 

Anyone know where the problem lies?

 

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by  
(output started at /storage/content/63/120863/my-site.com/public_html/includes/languages/swedish/create_account.php:1) in  
/storage/content/63/120863/my-site.com/public_html/includes/functions/sessions.php on line 102 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent  
(output started at /storage/content/63/120863/my-site.com/public_html/includes/languages/swedish/create_account.php:1) in  
/storage/content/63/120863/my-site.com/public_html/includes/functions/sessions.php on line 102 

Warning: Cannot modify header information - headers already sent by  
(output started at /storage/content/63/120863/my-site.com/public_html/includes/languages/swedish/create_account.php:1) in  
/storage/content/63/120863/my-site.com/public_html/includes/functions/general.php on line 45

 

Worth mention is that i:

• copied the english file to the swedish-directory

• Opend the old swedish-filen and copy-pasted ALL text to the new language file

• It worked on the website exept non-english letters such as Å, Ä and Ö-letters.

 

I get the exact same errors on login.php, checkout_process.php and contact_us.php....and so on...

Link to comment
Share on other sites

Headers Already Sent

 

Click the link above for an explanation.

 

The problem is in includes/languages/swedish/create_account.php (line 1)

 

The opening PHP tag:

 

<?php

MUST be at the very beginning of the file, no blank lines or spaces or other characters (seen or unseen) preceding it.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...