The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
I keep getting this error:
Warning: Cannot add header information - headers already sent by (output started at C:\Inetpub\wwwroot\start.php:7) in C:\Inetpub\wwwroot\admin\functions.php on line 1490 any ideas on how to troubleshoot it? Thanks Eric Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
What's start.php? For some reason you echo (or send other kinds of headers) in line 7 of it.
|
|
#3
|
|||
|
|||
|
its my main page(non-vb), i have a log in part on there that seems to cause this error.
|
|
#4
|
|||
|
|||
|
are you trying to set cookies?
if so they have to be sent before any output, this includes whitespace and text. Do you have an echo, print or even ?> html here <? on line 7 you will have to relocate it to above the part where content is being sent to the browser. |
|
#5
|
|||
|
|||
|
well i attached the file, if anyone can take a look at it i'd really appreciate it, i have been tryin to figure this out for afew days and have had no luck....
thanks.. |
|
#6
|
||||
|
||||
|
Move this bit:
Code:
<?PHP
chdir("");
require("/global.php");
error_reporting(7);
//connect to database
mysql_connect("localhost", "AllAboutSpeed", "aasfast");
mysql_select_db("aas");
$usernum = mysql_query("Select count(*) from user");
$users = mysql_fetch_array($usernum);
?>
|
|
#7
|
|||
|
|||
|
thanks a lot, it seems to be workin now.....
|
|
#8
|
||||
|
||||
|
cannot ass would be a serious problem.
|
|
#9
|
|||
|
|||
|
hey now i tried changin it....
|
![]() |
|
|