Lampwrights Forum

Lampwrights Forum (http://www.lampwrights.com/index.php)
-   vBulletin Wordpress Bridge (http://www.lampwrights.com/forumdisplay.php?f=13)
-   -   Install error on bridge - vbloader.php on line 16 (http://www.lampwrights.com/showthread.php?t=65)

kpmedia 02-18-2011 05:21 PM

Install error on bridge - vbloader.php on line 16
 
Having the same issues as is here: http://www.lampwrights.com/showthread.php?t=63
Windows 2008 IIS7 with FastCGI
vBulletin 3.8.6 current
WordPress 3.0.5 current

PHP Code:

Warning: include_once(./global.php) [function.include-once]: failed  to open streamNo such file or directory in  C:\Inetpub\vhosts\domain.com\httpdocs\wp-content\plugins\vbbridge\vbloader.php  on line 16
Warning
: include_once() [function.include]: Failed opening  './global.php' for inclusion (include_path='.;./includes;./pear'in  C:\Inetpub\vhosts\domain.com\httpdocs\wp-content\plugins\vbbridge\vbloader.php  on line 16 

Quote:

Originally Posted by Jeff (Post 232)
Hmm sounds like an issue with your server. I am not familiar with Windows as I use Linux. Not sure if I can help you here.

Honestly, it's all in the PHP -- Windows vs Linux, both OS are relatively the same these days.
Jeff, I can provide a test domain on my Windows VPS, if you're willing to help on this.
It may simply require some code rewrite to absolute instead of relative, based on my educated guess.
If you can get it to work, I'll make a $$ or $$$ donation of some kind, to support this project.
Possibly give you a long-term testing area for Windows testing of the bridge.

I really want to implement this on a site, while leaving it on the Windows server.

Thanks.

Jeff 02-18-2011 05:23 PM

Actually they are not relatively the same. Unfortunately I have piles of work on my plate currently and cannot get involved in any custom projects at this time.

Again that error message looks to be a path issue.

kpmedia 02-19-2011 05:44 AM

Quote:

Originally Posted by Jeff (Post 241)
Again that error message looks to be a path issue.

Alright ... so what specifically could I try and edit in the PHP files?
While I don't understand PHP as well as you do, I do understand Windows servers fairly well.
With a more specific nudge in the right direction, maybe I could figure it out.

Jeff 02-19-2011 07:20 AM

Quote:

Originally Posted by kpmedia (Post 243)
Alright ... so what specifically could I try and edit in the PHP files?
While I don't understand PHP as well as you do, I do understand Windows servers fairly well.
With a more specific nudge in the right direction, maybe I could figure it out.

I would try to modify this line if I were you, in vbloader.php:

Code:

@chdir($_SERVER['DOCUMENT_ROOT'] . $path);
To the path where config.php is.. Example:

Code:

@chdir('C:\Inetpub\vhosts\domain.com\httpdocs\forums');

kpmedia 02-20-2011 01:57 AM

Quote:

Originally Posted by Jeff (Post 245)
I would try to modify this line if I were you, in vbloader.php:
Code:

@chdir($_SERVER['DOCUMENT_ROOT'] . $path);
To the path where config.php is.. Example:
Code:

@chdir('C:\Inetpub\vhosts\domain.com\httpdocs\forums');

That did the trick! Thanks very much. :)

I get login on both sites, so the bridge is working.

However, I do get a new error, but I don't think it's related, so I'll start a new post...
http://www.lampwrights.com/showthread.php?t=66


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

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