Helpful Information
 
 
Category: vB3 General Discussions
Header Problems When Putting Members Online on Index Page

I'm having some problems while helping a friend make his webpage. I integrated the vbulletin members online on the main page (which is .php). Everyting looks fine and works perfectly on my computer, but when its looked at by another computer the following error displays on the top of the page sporadically (but the page still works perfectly).

<b>Warning: Cannot add header information - headers already sent by (output started at /usr/home/v1/a0011053/html/mig/index.php:4) in /usr/home/v1/a0011053/html/mig/vbulletin/global.php on line 755

Warning: Cannot add header information - headers already sent by (output started at /usr/home/v1/a0011053/html/mig/index.php:4) in /usr/home/v1/a0011053/html/mig/vbulletin/global.php on line 758</b>

if someone could please take a look at my page and let me know what may be causing this, that would be great.

webpage --> http://208.185.95.167/mig/index.php
code --------> http://208.185.95.167/mig/index-code.html

thanks,

You are including a file right ?

What you need to do is make that other file the index page and put all your html in it to solve the problem.

um, im still unclear about this. the main file is the "index.php" file. in that im using the code:
"<?php
echo $loggedinusers;
?>"
to pull and display the members online information to the main php page. im kinda new to this so sorry if i sound like an idiot.










privacy (GDPR)