Lampwrights Forum > Other Stuff > vBulletin Wordpress Bridge
Register Community Today's Posts Search

Reply
 
Thread Tools
03-15-2011, 01:47 PM   #1
UT1
Junior Member
 
Join Date: Mar 2011
Posts: 13
Rep Power: 0
UT1 is getting browny points
Fatal Error

I'm not sure why, but after successfully installing the vb Bridge, and it working for a day or so, I got a fatal error. I did temporarily deactivate the plugin because I thought it might be causing an issue(which I later found was caused by another plugin, which I removed).
I've tried deactivating all plugins and then activating vbbridge, but it didn't work. I'm using WP 3.1 and vB 3.8.6. My domain is http://theheardproject.com and this is the error I'm getting:

Fatal error: Call to a member function query_first_slave() on a non-object in C:\HostingSpaces\ariah09\theheardproject.com\wwwro ot\forum\includes\functions.php on line 1380


UT1 is offline   Reply With Quote

03-15-2011, 01:49 PM   #2
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Where exactly do you get this error?
Jeff is offline   Reply With Quote
03-15-2011, 01:52 PM   #3
UT1
Junior Member
 
Join Date: Mar 2011
Posts: 13
Rep Power: 0
UT1 is getting browny points
In the the wp-admin plugins menu. When I try to activate the plugin, WP prevents it from activating due to the fatal error.
UT1 is offline   Reply With Quote
03-15-2011, 01:59 PM   #4
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Hmm yes, I believe this is a bug. This should fix it for you, please confirm:

Find this line in vbbridge.php:

Code:
if ( (!preg_match('#wp-admin#', $_POST['redirect_to']) and !defined('WP_ADMIN') and !defined('XMLRPC_REQUEST') and !$_GET['preview']) or defined('USE_ADMINCP_BRIDGE')):
Change to:

Code:
if ( (!preg_match('#wp-admin#', $_POST['redirect_to']) and !defined('WP_ADMIN') and !defined('XMLRPC_REQUEST') and !$_GET['preview'] and !$install) or (defined('USE_ADMINCP_BRIDGE') and !$install)):
Jeff is offline   Reply With Quote
03-15-2011, 02:05 PM   #5
UT1
Junior Member
 
Join Date: Mar 2011
Posts: 13
Rep Power: 0
UT1 is getting browny points
I'm getting a different fatal error (the other one is gone though). Shows up when I try to activate.

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\HostingSpaces\ariah09\theheardproject.com\wwwro ot\wp-content\plugins\vbbridge\vbbridge.php on line 317
UT1 is offline   Reply With Quote
03-15-2011, 02:06 PM   #6
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
I think you may have not copied the line correctly there..
Jeff is offline   Reply With Quote
03-15-2011, 02:07 PM   #7
UT1
Junior Member
 
Join Date: Mar 2011
Posts: 13
Rep Power: 0
UT1 is getting browny points
you're right, I think I didn't either, sorry, trying again
UT1 is offline   Reply With Quote
03-15-2011, 02:08 PM   #8
UT1
Junior Member
 
Join Date: Mar 2011
Posts: 13
Rep Power: 0
UT1 is getting browny points
Quote:
Originally Posted by UT1 View Post
you're right, I think I didn't either, sorry, trying again
Works now, thanks!!!
UT1 is offline   Reply With Quote
03-15-2011, 02:11 PM   #9
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Excellent!
Jeff is offline   Reply With Quote
03-15-2011, 07:56 PM   #10
Esoteric_Monk
Junior Member
 
Join Date: Mar 2011
Posts: 5
Rep Power: 0
Esoteric_Monk is getting browny points
Cool

Quote:
Originally Posted by Jeff View Post
Excellent!
Hooray for fixes!

Jeff, I checked the recent download, and unless I'm losing my mind the new vbbridge.php file comes with the
Code:
define('USE_ADMINCP_BRIDGE', true);
already uncommented. I think this may confuse some folks.
Esoteric_Monk is offline   Reply With Quote
03-15-2011, 08:22 PM   #11
Rushster
Junior Member
 
Join Date: Mar 2011
Posts: 7
Rep Power: 0
Rushster is getting browny points
I too am getting the fatal error. I noticed the code had been changed in the download but I am still getting a fatal error.
Rushster is offline   Reply With Quote
03-15-2011, 09:39 PM   #12
Rushster
Junior Member
 
Join Date: Mar 2011
Posts: 7
Rep Power: 0
Rushster is getting browny points
Whoops for got to say what I was using which doesn't help much. Running vb 3.8.7 and WP 3.1.

Thanks in advance and great work on picking this back up.

Quote:
Originally Posted by Rushster View Post
I too am getting the fatal error. I noticed the code had been changed in the download but I am still getting a fatal error.
Rushster is offline   Reply With Quote
03-15-2011, 10:46 PM   #13
Rushster
Junior Member
 
Join Date: Mar 2011
Posts: 7
Rep Power: 0
Rushster is getting browny points
Actualy I got it working finally, didn't realise I had to create a vbbridge dir for the loader file.

However, now the Visual Editor in WP is disabled and there is no way to get it to work without the disabling rhe bridge. Any ideas or have I missed something that needs to be set in WP?
Rushster is offline   Reply With Quote
03-16-2011, 07:43 AM   #14
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Quote:
Originally Posted by Rushster View Post
Actualy I got it working finally, didn't realise I had to create a vbbridge dir for the loader file.
You have to put all the files in the vbbridge directory, not just the loader.
Jeff is offline   Reply With Quote
03-24-2011, 08:25 AM   #15
phoenix1977
Junior Member
 
Join Date: Mar 2011
Posts: 2
Rep Power: 0
phoenix1977 is getting browny points
Quote:
Originally Posted by Jeff View Post
You have to put all the files in the vbbridge directory, not just the loader.
I ha the following error when activate the plugin:

Warning: include_once(./global.php) [function.include-once]: failed to open stream: No such file or directory in /wp-content/plugins/vbbridge/vbloader.php on line 16

Warning: include_once() [function.include]: Failed opening './global.php' for inclusion (include_path='.:/usr/local/lib/php') in /wp-content/plugins/vbbridge/vbloader.php on line 16
phoenix1977 is offline   Reply With Quote
03-24-2011, 12:46 PM   #16
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
You need to disable warnings on your PHP install. Warnings should never show on production. Once you get the product installed correctly, the warning goes away, but it should never show on a live site. In fact, you should not DISPLAY errors ever in production, they should only exist in the logs.
Jeff is offline   Reply With Quote
03-24-2011, 01:20 PM   #17
phoenix1977
Junior Member
 
Join Date: Mar 2011
Posts: 2
Rep Power: 0
phoenix1977 is getting browny points
Quote:
Originally Posted by Jeff View Post
You need to disable warnings on your PHP install. Warnings should never show on production. Once you get the product installed correctly, the warning goes away, but it should never show on a live site. In fact, you should not DISPLAY errors ever in production, they should only exist in the logs.
Thank you very much for suggest.

Now i have another error when put path of my /forum

Options saved.

Unable to add cookies, header already sent.
File: /wp-content/plugins/vbbridge/vbbridge.php
Line: 30
phoenix1977 is offline   Reply With Quote
03-25-2011, 08:17 AM   #18
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Disable all of your other WP plugins and see if that fixes the issue. If so, enable them one at a time and find out which plugin starts the issue. If this works, please report back here what plugin you found it to be.
Jeff is offline   Reply With Quote
04-14-2011, 12:50 AM   #19
AngelDrago
Junior Member
 
Join Date: Apr 2011
Posts: 2
Rep Power: 0
AngelDrago is getting browny points
hello, Jeff thank you for this vbridge i will try it on a virgin install an let you know how it went.

Angel
AngelDrago is offline   Reply With Quote
04-22-2011, 06:57 AM   #20
rafirahhim
Junior Member
 
Join Date: Apr 2011
Posts: 5
Rep Power: 0
rafirahhim is getting browny points
i download the plugin but the something wrong somewhere with the file. please check. tq
rafirahhim is offline   Reply With Quote
Reply

Tags

vbulletin wordpress bridge



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 11:02 PM.


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