Lampwrights Forum

Lampwrights Forum (http://www.lampwrights.com/index.php)
-   vBulletin Wordpress Bridge (http://www.lampwrights.com/forumdisplay.php?f=13)
-   -   WP 3.2.1 and VB 3.8.6, same server different folders (http://www.lampwrights.com/showthread.php?t=292)

Damoen 02-20-2012 04:56 PM

WP 3.2.1 and VB 3.8.6, same server different folders
 
My wordpress is installed on the domain root and my vbulletin is on a sub-folder /f/

The only way i can get the bridge to somewhat work is by moving wordpress files to the same directory as vbulletin. This creates a problem due to the permalinks and htaccess files conflicting. so im going back to having wp and vb in different folders

however, When they are in different folders with wordpress being in the root, i keep getting the "Unable to add cookies, header already sent.
File: /home/content/xxxxxx/xx/html/wp-content/plugins/vbbridge/vbbridge.php
Line: 35" error when trying to map users or save the vbbridge settings.


Help Jeff! am i missing something?

Jeff 02-21-2012 04:41 PM

Did you leave plugins disabled in the vbbridge settings?

Damoen 02-21-2012 04:42 PM

Quote:

Originally Posted by Jeff (Post 1064)
Did you leave plugins disabled in the vbbridge settings?

yep, the plugins are disabled.

Jeff 02-23-2012 09:43 AM

It sounds to me like you either did not get the proper path to vbulletin, or there is something different going on in your vb install than normal.. Not sure what the issue is.

Damoen 02-23-2012 05:59 PM

this is the line thats causing the issue:

Code:

echo "<div class=\"updated\">\n" . "<p>" . "<strong>" . __('Options saved.', 'vbridge') . "</strong>" . "</p>\n" . "</div>\n";

ill keep looking around the code to see if there is something that isnt being parsed correctly by the browser.

ill post back if i find the fix

Damoen 02-27-2012 05:52 PM

Quote:

Originally Posted by Jeff (Post 1068)
It sounds to me like you either did not get the proper path to vbulletin, or there is something different going on in your vb install than normal.. Not sure what the issue is.

Finally, Found what the problem is.

In my php5.ini file, the output buffering was set to off. Since the code is trying to send info to the browser before the headers are sent, its kicking out that error.

If anyone else has the problem make sure they turn on output buffering in their php.ini file, or you can use ob_start(); in the vbbridge.php file

:)

thcpub 06-20-2012 12:02 AM

Quote:

Originally Posted by Damoen (Post 1076)
Finally, Found what the problem is.

In my php5.ini file, the output buffering was set to off. Since the code is trying to send info to the browser before the headers are sent, its kicking out that error.

If anyone else has the problem make sure they turn on output buffering in their php.ini file, or you can use ob_start(); in the vbbridge.php file

:)

Can you explain in a little more detail? I am using a subdomain for VB as well and have the same error.

Damoen 06-20-2012 12:33 AM

Quote:

Originally Posted by thcpub (Post 1199)
Can you explain in a little more detail? I am using a subdomain for VB as well and have the same error.

check your php.ini or php5.ini file on your server.

If you dont see anything regarding OUTPUT BUFFERING then you need to add the line

Code:

output_buffering = On
or

Code:

output_buffering = 4096

Damoen 06-20-2012 12:37 AM

also:

be sure that you only have one instance of global.php from vbulletin being called whenever a wordpress page is rendered.

I installed a vb login widget for wordpress and it called global.php 2x


All times are GMT -4. The time now is 07:54 PM.

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