![]() |
Unknown Error in index.php Code
Unable to add cookies, header already sent.
File: /homepages/26/d196297218/htdocs/index.php Line: 8 Search Engine Friendly URLs by vBSEO 3.2.0 Viewable: http://www.legionofangels.net ---------------------------------------------- Solutions, thoughts, ideas? |
Make sure there is no whitespace before the <?php tag in index.php & config.php.
|
I don't get this at all the code looks and works fine now on Firefox, but not on IE 7 or Safari 3.2 or whatever I have.
The original code maker of which it works on his own website installed it tonight. I'm lost. |
What is line 8 on your php page? (I get the error in both firefox and safari on my mac.)
|
Quote:
Line 8 is our Meta Tag or Meta Description. |
Very strange. I'm not sure what else to suggest. Whenever I've heard this error brought up, it is because of either an extra space around the php tags or because part of the header is parsed prematurely (I can't remember if that was also because of the extra space). I guess I would start over with writing the index page. Start a new one and slowly add in parts of the code until you get the error.
|
It's caused when you run a script that adds cookies AFTER content has been sent to the browser. White-space is content, BTW.
|
PHP Code:
|
I don't get the error when testing it on my site. Try copying the code from here into a new page and test it.
Also, you may want to correct this line (//feed2.js is incorrect): HTML Code:
<script language="JavaScript" src="http://feed2js.org//feed2js.php?src=http%3A%2F%2Frss.cnn.com%2Frss%2Fcnn_showbiz.rss&chan=title&num=7&desc=1" type="text/javascript"></script> |
Quote:
It errored again. The lower right white box is gone again though. |
All times are GMT. The time now is 11:11 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|