The Arcive of vBulletin Modifications Site. |
|
Details »»
|
||||||||||||||||||||||||||
I'm creating an addition to my vbulletin.
I'm getting this error: Quote:
PHP Code:
Show Your Support
|
||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Two things to check:
a) make sure there are no blanks after the closing > at the end of the file. b) set your cookie domain in your control panel. I have no idea why this has an effect, but it has worked for others. Amy |
|
#3
|
||||
|
||||
|
How do I set the cookie domain?? What should it be set to??
|
|
#4
|
|||
|
|||
|
Little hint, use the stuff from vB to access the DB. Makes your life easier
|
|
#5
|
||||
|
||||
|
I'm using global??? What else can I use??
|
|
#6
|
|||
|
|||
|
Well, there are 2 things specially i dont like in that thing
![]() PHP Code:
Would look like this for your example: PHP Code:
The reason to use the class is, that you use the data from the class AND use the same error reporting tools. If something happens, you get informed... |
|
#7
|
||||
|
||||
|
I tried to use the headers, but I got errors about headers already being set. I'll change the other part.
Thanks |
|
#8
|
||||
|
||||
|
I'm still having problems with the cannot set headers error:
Warning: Cannot add header information - headers already sent by (output started at /home/sites/home/web/gathering/pw_event_whois.php:3) in /home/sites/home/web/gathering/admin/functions.php on line 1490 Any ideas?? |
|
#9
|
||||
|
||||
|
Can someone help??
Why do I get this header error? |
![]() |
|
|