The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Unable to add cookies, header already sent.
I just migrated my server to a new one different os version but rest of the environment is same.
I moved all my accounts using cpanel account transfer. Now i am getting strange errors Only 1 light theme seems to be working right now when i try to view the forum category it shows Quote:
Quote:
|
#2
|
||||
|
||||
The unable to add headers error is common if you didn't use a plain text editor to edit the config.php file and thus you end up with an unseen BOM at the beginning of the script.
|
#3
|
|||
|
|||
I didn't touched the files first. They were gzipped and automatically moved the new server. I've tried reuploading config.php again & again but doesnot work.
My site's address is: www.musclediscussion.com Try clicking on Full Site on top right you'll see another error. Quote:
This is my complete config file PHP Code:
This seems to be more serious issue here PHP Code:
|
#4
|
|||
|
|||
as was said...
Quote:
|
#5
|
|||
|
|||
As a couple of people have mentioned, you should make sure your config.php is OK by starting with a fresh copy (or the one from the old server) and using a programming editor to make changes (you say you didn't chnage any of the files, but wouldn't you have to change config.php if you moved servers?). The reason the original error says "unable to add cookies" is because they cannot be added to the header once any output has been sent, and the hidden character at the beginning of config.php causes output (this is a common error message that's been seen here many times, that's why everyone's so sure what the problem is). How did you manage to change the cookie prefix if you were getting that error?
I don't know what's causing that other error - which version of vbulletin are you running? |
#6
|
|||
|
|||
As for the other error, read this.
Quote:
|
#7
|
|||
|
|||
I have reuploaded every single file by making a zip from previous server and deleting every single file on the new server and than extracting the zip onto the new one but i think my real issue is with the 2nd error i posted not with the first one.
http://www.musclediscussion.com/index.php?styleid=6 http://www.musclediscussion.com/forumdisplay.php?f=29 |
#8
|
|||
|
|||
That error, on the other hand, is one I don't remember ever seeing before.
As far as I can determine, that error means an object didn't get created like it should have. I'm not sure which object it is because in vb4.2.0PL3 there's no call to set() on that line. If you're moving to a new server, wouldn't you have to edit the details in config.php? I would think that most of the time the database connection info would change. |
#9
|
|||
|
|||
You might be right because using firebug tell shows me this
In html for the forum display page How do i look in which file it is? --------------- Added [DATE]1357949437[/DATE] at [TIME]1357949437[/TIME] --------------- Error gone now. Very good article there bro. Helped me to disable bom in notepad++ and my issue was gone. --------------- Added [DATE]1357950245[/DATE] at [TIME]1357950245[/TIME] --------------- Can some one guide me why only 1 light theme is working fine and not others? --------------- Added [DATE]1357953064[/DATE] at [TIME]1357953064[/TIME] --------------- Thank You for the solution guys Thank You very much. I just have one more issue right now whenever i rebuild style or any of the module does it destroys and deletes threadbit templates and several other. Why is this happening? --------------- Added [DATE]1357954159[/DATE] at [TIME]1357954159[/TIME] --------------- I took a backup of template table and than rebuild templates. Site started to look shitty than reloaded template.sql to the db but it still looks shitty and missing a hell lot of template groups. Does anyone have suggestions? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|