The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Getting past "Header already sent" errors
I am trying to put this:
PHP Code:
Is there any way i can get past this ? Much thanks in advance. |
#2
|
||||
|
||||
Check for blank lines before <?php, this is the most common issue.
Are you trying this within vB? Then cookies might be an issue. |
#3
|
||||
|
||||
Yep kirby... adding my code to functions_bbparse.php actually.
|
#4
|
||||
|
||||
anyone ?
|
#5
|
|||
|
|||
I don't think you can send a header after the body has started. But i am not a html guru.
|
#6
|
||||
|
||||
headers sent by header() are not HTML headers, they are HTTP headers which are sent in the "Header" of the HTTP reply back to the client.. ie.
your browser sends something like GET / HTTP/1.1 Host: vbulletin.org Connection: keep-alive Server sends something back like HTTP/1.1 200 OK Connection: Keep-Alive Content-Length: 5 Content-Type: text/plain Jebus So if you are getting that error, it means you have already outputted some sort of data, either intentionally or unintentionally.. Rule of thumb is, always output headers with header() before you ever output anything. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|