The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
"Unable to add cookies" means you have sent output to the browser before the script could send cookie headers. Whitespace is considered output.
|
#22
|
|||
|
|||
Please also post the contents of index-test.php.
|
#23
|
|||
|
|||
Hey guys,
Thanks to all of you for your continued support. I've stripped down the code to the bare minimum. Currently this is the entire code for the index-test.php page: ========= <?php chdir('/home/xxxx/public_html/forum'); ?> <link href="http://www.lahabraevents.com/forum/clientscript/vbulletin_css/style-b391d83b-00002.css" rel="stylesheet" type="text/css"> <?php include ("http://www.lahabraevents.com/forum/calendar.php"); ?> ========= As previously suggested I added to the headinclude template: ========= base href="http://www.lahabraevents.com/forum/" ========= I've tried various combinations of code, changing the order, making sure to delete white space, etc. but still can't get this to work. (I have also tried putting the two php code elements within the same php tags with no difference. The reason they are separate is I need to use some table tags for layout.) As the code is above, the calendar loads on the page and there are no error codes but the login status and calendar view links are not correct. If I make the include path relative ("calendar.php"), we get the error: "Unable to add cookies, header already sent. File: /home/xxxx/public_html/index-test.php Line: 3" I understand the idea there may be conflict due to duplicate header calls. I just don't know how to avoid it. As Dismounted previously suggested, I've tried using the calendar.php code on the index page rather than using an include but I don't know how to delete the header call - IF that is what I need to do. Once again, I appreciate any other ideas or suggestons. David |
#24
|
||||
|
||||
In your code:
Code:
<?php chdir('/home/xxxx/public_html/forum'); ?> <link href="http://www.lahabraevents.com/forum/clientscript/vbulletin_css/style-b391d83b-00002.css" rel="stylesheet" type="text/css"> <?php include ("http://www.lahabraevents.com/forum/calendar.php"); ?> |
#25
|
|||
|
|||
Quote:
Thanks again everyone for all the help. I really do appreciate it. David |
#26
|
||||
|
||||
That is correct. Any character sent to the browser is considered output. HTML is sent directly to the browser.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|