PHP warning when switching from spanish to english in the front end

Tagged: 

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemePHP warning when switching from spanish to english in the front end

This topic has been marked as resolved.

Hi!

The default language for my shopping cart is spanish, but when I switch to english, I get this PHP warning:

Warning: Cannot modify header information – headers already sent by (output started at /*****/catalog/language/spanish/common/header.php:1) in /*****/system/engine/controller.php on line 28Warning: Cannot modify header information – headers already sent by (output started at /*****/catalog/language/spanish/common/header.php:1) in /*****/system/engine/controller.php on line 29

The formed URI is this: ******/index.php?route=common/home

If I reload the page(and asks me for the form re-submission in Google Chrome), then it switches to the english language. When I switch from english back to spanish, this PHP warning doesn’t show.

What could be this? This can really scare out my customers, so please give me some advice. Thanks for your support; it’s very good and straight up to the point

October 9, 2011 at 7:28 am #2248

As I suggested here, please zip your /catalog/language/spanish/ folder and send it to us.

October 12, 2011 at 12:20 pm #2364

Perfect; how do I send it? Any email?

October 12, 2011 at 7:02 pm #2383
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
October 13, 2011 at 11:36 am #2407

I just sent the language files; I hope it can help us all!

October 13, 2011 at 9:45 pm #2452

I’ve attached you the fixed catalog/language/spanish/common/header.php file. The file didn’t work regardless if you have Shoppica theme installed. You have saved the file as UTF-8 with BOM encoding. You can read this topic for more information on the subject.

October 17, 2011 at 12:03 pm #2627
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.