Lampwrights Forum

Lampwrights Forum (http://www.lampwrights.com/index.php)
-   vBulletin Wordpress Bridge (http://www.lampwrights.com/forumdisplay.php?f=13)
-   -   Error when activating this plugin (http://www.lampwrights.com/showthread.php?t=259)

iamrob 12-12-2011 07:33 PM

Error when activating this plugin
 
I am trying to install this mod onto a new server. I have Vbulletin running properly and Wordpress running properly.

I am getting this error:

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

Warning: include_once() [function.include]: Failed opening './global.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/58/8713658/html/wp-content/plugins/vbbridge/vbloader.php on line 16

Any ideas? I'm running PHP 5.3 and wordpress 3.2.1

iamrob 12-12-2011 11:30 PM

Quote:

Originally Posted by iamrob (Post 940)
I am trying to install this mod onto a new server. I have Vbulletin running properly and Wordpress running properly.

I am getting this error:

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

Warning: include_once() [function.include]: Failed opening './global.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/58/8713658/html/wp-content/plugins/vbbridge/vbloader.php on line 16

Any ideas? I'm running PHP 5.3 and wordpress 3.2.1

I downgraded to 3.0.4. Same issue.

iamrob 12-13-2011 01:09 AM

Quote:

Originally Posted by iamrob (Post 941)
I downgraded to 3.0.4. Same issue.

Ok I got this to work.

For others having this same issue: The problem is due to the path being used in vbloader.php. Some accounts/ servers need to have the line:

@chdir($_SERVER['DOCUMENT_ROOT'] . $path);
Changed to the full path to your forum:
@chdir('/full/path/to/forum/blah');
Hope this helps anyone.

Jeff 12-13-2011 05:54 AM

Or you can disable error messages from displaying, as it should be in production.

iamrob 12-13-2011 08:13 AM

Quote:

Originally Posted by Jeff (Post 943)
Or you can disable error messages from displaying, as it should be in production.

How do you do this?

I'm not that great with php, so I do a lot of trial and error, but this error was crashing my header and post info. Disabling error messages would fix it?

Jeff 12-13-2011 08:19 AM

You do this in your php.ini file.


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

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