The Arcive of vBulletin Modifications Site. |
|
Strange error on index page... Details »»
|
|||||||||||||||||||||||||
It says this on my index page...
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site30/fst/var/www/html/index.php:6) in /home/virtual/site30/fst/var/www/html/forums/admin/functions.php on line 1614 This happened when I changed from an HTML index page to myvBindex as my index page. The funny thing is it doesn't do it ALL the time. Any help, ideas?? Thanks in advance! Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
This error occurs when you post a text before you should. In vb this usually indicates you added a code to your global.php and it's sending a text to the user although it should not. Even if you accidently send a space char (which wouldnt be shown in the browser), you'll get the error. So if you check according to this information you might fix it by yourself. Make sure it's not 'echo'ing something in global.php..
|
|
#3
|
||||
|
||||
|
What do you mean by posting a text before I should? This is happening on myvBindex page AND on my main forums page. I don't understand what you mean by posting a text before I should? What should I look for and in which file? Thanks for your help
|
|
#4
|
|||
|
|||
|
It will only occur if:
1. You have extra characters, including whitespace, before or after the <? and ?> (respectively) or 2. You use echo, print_r, print, etc. if vB sends HTTP headers like for cookies, redirects, etc. |
|
#5
|
||||
|
||||
|
Thank you very much.... the problem was that I had put some HTML before the <? for my Meta Tags, Key words etc....
I took it out and problem solved. Where could I put keywords etc? Thanks so much for all the help! |
|
#6
|
|||
|
|||
|
Always put HTML thatyou'll display in the templates.
|
![]() |
|
|