admin管理员组

文章数量:1319953

I used qTranslate in my site. Four language selections.

English
Russian
Turkish
Arabic

But Arabic does not work. I tried this url: site/ar but it still does not work. Shows an error like the following:

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

I used qTranslate in my site. Four language selections.

English
Russian
Turkish
Arabic

But Arabic does not work. I tried this url: site/ar but it still does not work. Shows an error like the following:

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

Share Improve this question edited Oct 15, 2020 at 19:03 Lenin 1902 silver badges14 bronze badges asked Oct 17, 2012 at 8:45 Mehmet AlpMehmet Alp 101
Add a comment  | 

2 Answers 2

Reset to default 2

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.

...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.

本文标签: multi languageqtranslate arabic shortcode