最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

multi language - qtranslate arabic shortcode?

programmeradmin0浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论