The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Please help with a header issue
I tried using the plugin system for includes but it didn't work, so then I ended up modifying the vBulletin code. That actually worked but sometimes it tells me that the headers are already sent and won't let me login to the control panel. Does anybody know where I could include the headers where that won't happen? Thanks.
|
#2
|
||||
|
||||
what did you try to do?
if you're trying to have a random header, there's absolutely no reason for you to use either header() or include() if you tried something different then the code is faulty. |
#3
|
|||
|
|||
I'm sorry I don't quite understand what you mean. I don't want a random header, I would like to use the header we're using for the rest of the website. What should I use instead of the plugin system? Thanks.
Here's the exact error that it shows when I try to login after the includes are in the code: Unable to add cookies, header already sent. File: D:\Apache2\sites\forums\global.php Line: 86 |
#4
|
||||
|
||||
what is the header exactly? is it just html? if so you could just copy and paste or you could use file_get_contents();
|
#5
|
|||
|
|||
Yeah it's just an HTML file but there is javascript files that are included with it. With file_get_contents() do I need to specify that the headers section be read by php? In the style manager I think the header is being read by HTML only. Thank you.
|
#6
|
||||
|
||||
I recommend posting what it is that you want to accomplish.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|