Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Hello I used qtranslate in my site. Four language selections.

English Russian Turkish Arabic

But not work arabic. executed this url; site.com/ar does not work. Shows an error. Error code ;

Warning: Cannot modify header information - headers already sent by (output started at /home/useruser/public_html/www.site.com/blog/wp-content/themes/tema/index.php:1) in /home/useruser/public_html/www.site.com/blog/wp-content/themes/tema/header.php on line 1

share|improve this question

2 Answers 2

...I can't see your site but anyway this problem occurs when you have BLANK spaces in the code. Make sure there is no space at the very top (line 1) of the php file.

share|improve this answer

Not the first line but the last line could be it.

Please check if you have a space after the last ?> sign of your header.php file. Its better suggested that you just remove the last ?> sign as well. So there wont be any headers already sent error generated.

And this sort of error usually occurs when you include a file before a header() or cookie() or session function call.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.