The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Headers already sent...
Ok this is what I get...
Code:
Warning: Cannot add header information - headers already sent by (output started at /usr/local/psa/home/vhosts/wcgalaxy.com/httpdocs/index.php:26) in /usr/local/psa/home/vhosts/wcgalaxy.com/httpdocs/shoutbox.php on line 31 PHP Code:
PHP Code:
|
#2
|
||||
|
||||
be sure you don't have any output before the header() function in your shoutbox.php
|
#3
|
||||
|
||||
what i have is
PHP Code:
|
#4
|
||||
|
||||
yes that's it...
you cannot use header after you have used print or echo or something like that |
#5
|
||||
|
||||
ok i switched it around to do
PHP Code:
|
#6
|
||||
|
||||
be sure there are no other output functions before the header:
remeber a empty line after the last ?> in header.php or a empty line before the first <? are also outputs |
#7
|
||||
|
||||
well header.php is all HTML, and it looks like it's not even running the header() command so is there any other way to redirect you to a page after you hit Submit? I have...
PHP Code:
|
#8
|
||||
|
||||
you could code a redirect with javascript (look at how vb makes that)
don't ask me how to code javascript, i don't know javascript |
#9
|
||||
|
||||
wow, i just figured that out then read your post, for javascript you do...
Code:
<script language="javascript"> window.location.href=("<?php echo $url; ?>"); </script> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|