Lampwrights Forum

Lampwrights Forum (http://www.lampwrights.com/index.php)
-   vBulletin Wordpress Bridge (http://www.lampwrights.com/forumdisplay.php?f=13)
-   -   Unable to add cookies, header already sent. (http://www.lampwrights.com/showthread.php?t=66)

kpmedia 02-20-2011 01:44 AM

Unable to add cookies, header already sent.
 
The bridge seems to work (login shared for WP + vB), and that's what I needed.
And I can map roles to usergroups (although it ignores certain roles-based permissions as set by WP, but that's another conversation).

When I go to the admin menu, and change the vBBridge settings, in either place, I get this response in the browser:

Quote:

Unable to add cookies, header already sent.
File: C:\Inetpub\vhosts\nooffseason.com\httpdocs\wp-content\plugins\vbbridge\vbbridge.php
Line: 27
Now, the settings are changing. I've logged into MySQL to verify.

Is this something I should be concerned about?
It appears to be vBulletin-related, and not WP related.
I'm not exactly clear on what this message means, and Google searching didn't turn up anything specific that I could see.

I saw the other thread here: http://www.lampwrights.com/showthread.php?t=45
And I added this as line 2 of vbbridge.php:
PHP Code:

define('DISABLE_HOOKS'true); 

Now I get this:
Quote:

Unable to add cookies, header already sent.
File: C:\Inetpub\vhosts\nooffseason.com\httpdocs\wp-content\plugins\vbbridge\vbbridge.php
Line: 28
Wanted your input.

Not sure if this is related to my WP roles permissions not being honored, if it's a meaningless error, or something else entirely.

Thanks.

Jeff 02-20-2011 05:33 PM

Quote:

Originally Posted by kpmedia (Post 249)
The bridge seems to work (login shared for WP + vB), and that's what I needed.
And I can map roles to usergroups (although it ignores certain roles-based permissions as set by WP, but that's another conversation).

When I go to the admin menu, and change the vBBridge settings, in either place, I get this response in the browser:

Now, the settings are changing. I've logged into MySQL to verify.

Is this something I should be concerned about?
It appears to be vBulletin-related, and not WP related.
I'm not exactly clear on what this message means, and Google searching didn't turn up anything specific that I could see.

I saw the other thread here: http://www.lampwrights.com/showthread.php?t=45
And I added this as line 2 of vbbridge.php:
PHP Code:

define('DISABLE_HOOKS'true); 

Now I get this:
Wanted your input.

Not sure if this is related to my WP roles permissions not being honored, if it's a meaningless error, or something else entirely.

Thanks.

Hmm not sure why you are getting that error. Something is outputting text before it should.

What editor are you using to edit the scripts?

kpmedia 02-20-2011 07:28 PM

EditPlus 3
http://www.editplus.com/
It should be a plain-text editor.
Essentially just Notepad + color coding and line markers.

Jeff 02-21-2011 08:21 AM

Could you download metapad and then try saving each file into first a UNIX format, and if that does not fix it, a DOS format? I am assuming you are using a windows server?

Jeff 02-21-2011 08:33 AM

I did find a character that may be considered a null value on some systems. I have removed this character and updated the version. Please try installing the latest version.

wacnstac 02-23-2011 11:54 AM

Have the same problem. Using latest version. No edits done.

kpmedia 02-24-2011 04:18 AM

I tried Metapad, both as UNIX and DOS formats --- no change.
Also tried the new version --- no change.

And yes, using Windows Server 2008 IIS 7.

DigitalMikey 03-11-2011 04:33 AM

I have the same problem. Running the latest bridge as well.

WP: Latest
vB: 3.8.6

kpmedia 03-11-2011 03:33 PM

The last time I went to edit the table, because I added a new vB usergroup that needed to be associated with a WP role, I got no error. Nothing else about the site had changed.

I don't get it. :confused:

DigitalMikey 03-14-2011 09:54 PM

Well Jeff, I tried the Metapad route and still nothing. I get the following after I submit my mapped users everytime:

Unable to add cookies, header already sent.
File: /home/digitalm/public_html/mydomainname/wp-content/plugins/vbbridge/vbbridge.php
Line: 30

I only have 3 plugins running in WP, so I have no idea what is conflicting. Once I enable this plugin my main wordpress index returns a blank page. I am up-to-date on versions of WP and vB. Any help Jeff will be appreciated as I'd really like to use this.

kpmedia 03-14-2011 10:47 PM

Which plugins are running?
I've identified several conflicting plugins -- mostly cache and security related ones.

DigitalMikey 03-14-2011 10:49 PM

Quote:

Originally Posted by kpmedia (Post 355)
Which plugins are running?
I've identified several conflicting plugins -- mostly cache and security related ones.

Yup that's what I figured too.

I'm running this one which caches the WP header so I can insert it in to vB.

http://pixopoint.com/products/pixopo...me-integrator/

Just that, wp-polls, and contact forms 7.

If there is someway you or Jeff can help me figure out a way to have the bridge co-exist with this plugin I would be forever grateful.

kpmedia 03-14-2011 10:56 PM

That plugin has never worked well. The only way to truly have identical WP and vB headers/footers is to generate them outside of WP or vB, using HTML or something else.

DigitalMikey 03-14-2011 10:59 PM

Quote:

Originally Posted by kpmedia (Post 357)
That plugin has never worked well. The only way to truly have identical WP and vB headers/footers is to generate them outside of WP or vB, using HTML or something else.

Actually, it's running flawless with my latest version of WP. I have had no troubles with it at all. Just vbbridge. Is there something I can add or comment out to allow this to function properly?

I'd even be willing to pay. :)

DigitalMikey 03-15-2011 07:36 PM

Was wondering if Jeff or anyone else had any solutions or thoughts on this matter?

Jeff 03-16-2011 07:42 AM

I suggest disabling your other WP plugins if they are causing issues.

DigitalMikey 03-16-2011 11:08 AM

Quote:

Originally Posted by Jeff (Post 376)
I suggest disabling your other WP plugins if they are causing issues.

Thanks for the help Jeff.....

Ryfje 03-17-2011 06:16 PM

I'm getting this error too on WP 3.1

MissKalunji 03-22-2011 11:26 PM

I'm having the same issue, It just "happened" it seemed to be fine at first...

MissKalunji 03-22-2011 11:39 PM

I fixed the issue by deleting the folder of my server. I noticed it had created a .svn.

re-uplaoded and working fine now


All times are GMT -4. The time now is 03:44 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.