I have opencart 1.5.6 with Swedish language file
I get an error code when the customer should register an account

2013-11-16 14:54:16 - PHP Warning: Can not modify header information - headers alreadycreated late by (output started at / customers/1/b/6/mittföretag.se/httpd.www/catalog/language/swedish / account / register.php: 1) in / customers/1/b/6/mittföretag.se/httpd.www/system/engine/controller.php on line 28
2013-11-16 14:54:16 - PHP Warning: Can not modify header information - headers alreadycreated late by (output started at / customers/1/b/6/mittföretag.se/httpd.www/catalog/language/swedish / account / register.php: 1) in / customers/1/b/6/mittföretag.se/httpd.www/system/engine/controller.php on line 29

If the customer has items in their cart, everything works perfectly, but when the customer's shopping cart is empty and he should sign up an account i got this error code.

Can someone please help me

Recommended Answers

All 3 Replies

What did OpenCart comunity say? Is that common error there?

Member Avatar for diafol

If you don't post the relevant php code, then I don't know how you expect us to help. We could look into our crystal balls and tell you that your header() is in the wrong place.

Looks like you're trying to do a redirect or something like that after outputing HTML to the browser.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.