Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problem with the functioning of the system OS comerce BG language


bgcasio

Recommended Posts

Posted

Hello!

I have a problem with the functioning of the system OS comerce BG language. When an order is not our bed and still gives me this error:

Warning: Cannot modify header information - headers already sent by (output started at / home / onlinsho / public_HTML / OS / includes / languages / Bulgarian.php: 337) in / home / onlinsho / public_HTML / OS / includes / functions / general. php on line 33

Posted

The file /OS/includes/languages/bulgarian.php started some output to the browser "too early" at around line 337. The three most likely causes:

 

1) error message on the screen -- check the PHP code for errors in the statement including line 337, and the statement before it. View > Page source in the browser to better see what's at the very beginning of your page

 

2) blank or empty line, or space(s) before the opening <?php or after the closing ?>

 

3) someone used a Microsoft editor on this file, and it left some "droppings", namely the Byte Order Mark (i+umlaut, >>, inverted-?). Use a different editor to remove these three characters from the very beginning of the file

 

When text of any kind is sent to the browser, the HTTP "headers" are sent. These would be the default headers if the application code has not yet defined any custom headers. If some text (error message, blank, BOM, etc.) was somehow sent "unexpectedly early", and then the program tries to define some custom headers, you'll get this error message.

Archived

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

×
×
  • Create New...