Subdomain/Path issues with phpBB & MediaWiki integration

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php|uber.leet Forum Index // General
View previous topic :: View next topic  
Author Message
527



Joined: 19 Sep 2008
Posts: 3

PostPosted: Fri Sep 19, 2008 4:20 pm    Post subject: Subdomain/Path issues with phpBB & MediaWiki integration Reply with quote
My phpBB3 install is at http://forum.mydomain.com

I have installed MediaWiki at http://mydomain.com/wiki/

They are using separate databases. I am not sure what value to put in LocalSettings.php for

Code:
$wgAuth_Config['PathToPHPBB']    = '../../subdomains/forum/httpdocs/';         // Path from this file to your phpBB install.


Obviously I have it wrong as when I go to log in, I get an error "exception 'Exception' with message 'Unable to find phpBB installed at (../../subdomains/forum/httpdocs/).' in /var/www/vhosts/mydomain.com/httpdocs/wiki/extensions/Auth_phpBB.php:650"

What should be the proper path? I am on a plesk server and the forum subdomain is in the default location. Here are the absolute paths:


var/www/vhosts/mydomain.com/subdomains/forum/httpdocs/
var/www/vhosts/mydomain.com/httpdocs/wiki/
Back to top
View user's profile Send private message
root
Site Admin


Joined: 24 Jun 2005
Posts: 471

PostPosted: Fri Sep 19, 2008 10:21 pm    Post subject: Reply with quote
try using. "/var/www/vhosts/mydomain.com/subdomains/forum/httpdocs/"

Also take a look at this post to see what files the code is looking for.

http://uber.leetphp.com/forums/viewtopic.php?t=137
Back to top
View user's profile Send private message
527



Joined: 19 Sep 2008
Posts: 3

PostPosted: Tue Sep 23, 2008 9:18 am    Post subject: Reply with quote
I am sorry for not replying earlier to the help you offered.

Thank you for your help - your suggestion was correct and it worked.

For some reason my phpBB install also had different names for the tables than the default, so I had to change that as well, but not much of an issue there.

Thanks for a very useful tool for my site. Now to integrate my shopping cart users with the other modules!

Smile
Back to top
View user's profile Send private message
527



Joined: 19 Sep 2008
Posts: 3

PostPosted: Tue Sep 23, 2008 11:47 am    Post subject: Reply with quote
Actually, I must correct myself. I actually uploaded the phpbb3/includes/utf directory on the same domain as the wiki... and pointed the config value to ../phpBB3/

and then it worked Smile
Back to top
View user's profile Send private message
antheii



Joined: 27 Oct 2005
Posts: 2

PostPosted: Tue Dec 07, 2010 10:11 am    Post subject: Reply with quote
Hi,

Unfortunately I get the same error, and I already tried all suggestions above.

I have two subdomains; wiki.mydomain.com and forum.mydomain.com, on a Plesk server, with standard settings

I tried the full path
Code:
$wgAuth_Config['PathToPHPBB']    = '/var/www/vhosts/mydomain.com/subdomains/forum/httpdocs/';


Several versions of relative paths, like
Code:
$wgAuth_Config['PathToPHPBB']    = '../../forum/httpdocs/';


But I still get the
Quote:
Unexpected non-MediaWiki exception encountered, of type "Exception"
exception 'Exception' with message 'Unable to find phpBB installed at (/var/www/vhosts/mydomain.com/subdomains/forum/httpdocs/).' in /var/www/vhosts/mydomain.com/subdomains/wiki/httpdocs/extensions/Auth_phpBB.php:650


Anybody an idea what I'm doing wrong?

Regards,

Hans
Back to top
View user's profile Send private message
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php|uber.leet Forum Index // General All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

alexisBlue v1.2 // Theme Created By: Andrew Charron and Web Hosting Bluebook
Powered by phpBB © 2001, 2002 phpBB Group