help fatal error bridge vbulletin and wordpress users

surfsun2007

New Member
I need help to bridge vbulletin and wordpress users. I am using:
vBulletin 3.6.1
wordpress 2.7
vbbridge III 3.03
I followed the instructions for vbbridge III. I uploaded the vbridge.php and functions_wysiwyg2.php to my wordpress folder wp-content/plugins.
I activated the plugin from wordpress and defined the options.
vb user id:
vb username:
vb forum id:
Forum url:
Forum url:
Forum Relative Path:
Database prefix:
From wordpress Users, I click on “Vbridge User Settings” then I see this fatal error:

Fatal error: Call to a member function query_read() on a non-object in /wp-content/plugins/vbbridge.php on line 308


Anyone know how to fix this error?
 

surfsun2007

New Member
I tried putting in a path: $vwd = '/home/public_html';
Anyone know what this error means? Why did the script write the path twice?

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/public_html/blog/wp-content/plugins/vbbridge.php on line 431
cannot load /home/public_html/home/public_html/global.php. You should check your path!
 

surfsun2007

New Member
It was giving me the same error before. When I first activate the vbbridge plugin it gives me error:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/witri/public_html/blog/wp-content/plugins/vbbridge.php on line 431
cannot load /home/public_html/home/public_html/global.php. You should check your path!

I doubled check the path to the my vbulletin global.php and the correct path is: /home/public_html/global.php

Why is the vbbridge plugin not working when I activate it?
 

bluescorpion

New Member
surfsun2007 said:
It was giving me the same error before. When I first activate the vbbridge plugin it gives me error:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/witri/public_html/urpartycom/blog/wp-content/plugins/vbbridge.php on line 431
cannot load /home/witri/public_html/urpartycom/home/witri/public_html/urparty.com/global.php. You should check your path!

I doubled check the path to the my vbulletin global.php and the correct path is: /home/witri/public_html/urpartycom/global.php

Why is the vbbridge plugin not working when I activate it?

I use to use that bridge a long time ago and I am pretty sure that I got that error and solved it with an instruction in the installer that says something about manually setting the path. I will see if I can find it again. The path change is in the bridge files not vb. Let me see if I can find it.
 

bluescorpion

New Member
When I was using that bridge a while back, I couldn't get it to work with

PHP:
chdir($_SERVER['DOCUMENT_ROOT'] . get_option('vbb_VBRPATH'));

but had to use:

PHP:
chdir('/home/user/domain/public_html/forums');

instead. Jafo has this documented somewhere.

Try doing the chdir to the absolute path and I think the error will go away.

HTH
 

surfsun2007

New Member
I tried to activate the vbbridge settings. I get an error after I click on submit. Why is this happening and how do u fix it?

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/blog/wp-content/plugins/vbbridge.php:132) in /home/public_html/blog/wp-includes/functions.php on line 698
 

bluescorpion

New Member
Looks like vbbridge.php (most likely) has some white space before or after the php tags.

Check <?php and ?> to make sure nothing is before or after these tags.
 

surfsun2007

New Member
I got it to work. I was able to post from wordpress to vbulletin. Now I just want to make sure I am able to login with the same user on both my forum and blog.
 
Top