Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Intro Black Friday Offer for a lifetime*

Problem PHPBB Connector

  • geeffland
  • geeffland
  • OFFLINE
  • Posts: 199
  • Thanks: 0
  • Karma: 233
18 years 6 months ago #11196 by geeffland
Replied by geeffland on topic Re:Problem PHPBB Connector
My guess is that your DOCUMENT_ROOT server variable is set incorrectly..

Assuming your absolute path is

/var/www/html/domains/hard-beats.nl/public_html/forum/

then I would enter

"domains/hard-beats.nl/public_html/forum" into the forum directory

To double check go into Joomla Admin Side and click on System -> System Info

in the variable "$mosConfig_absolute_path"

it should say

/var/www/html/domains/hard-beats.nl/public_html

Does that match?

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in or Create an account to join the conversation.

  • zomah
  • zomah
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
18 years 6 months ago #11201 by zomah
Replied by zomah on topic Re:Problem PHPBB Connector
this is what there stands

$mosConfig_absolute_path = '/home/zomer86/domains/hard-beats.nl/public_html';

Please Log in or Create an account to join the conversation.

  • geeffland
  • geeffland
  • OFFLINE
  • Posts: 199
  • Thanks: 0
  • Karma: 233
18 years 6 months ago #11229 by geeffland
Replied by geeffland on topic Re:Problem PHPBB Connector
Not sure what to tell you... from that it looks like they are in two different directories...

I would guess your DOCUMENT_ROOT variable is messed up as it should point to the same directory as Joomla.

Only other thing I could think, assuming you can't modify the DOCUMENT_ROOT server variable, is to go into the plugin code and hack it so every place that looks for $_SERVER["DOCUMENT_ROOT"] sub out with $mosConfig_absolute_path or its equivalent "/home/zomer86/domains/hard-beats.nl/public_html"

Greg

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in or Create an account to join the conversation.

  • zomah
  • zomah
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
18 years 6 months ago #11250 by zomah
Replied by zomah on topic Re:Problem PHPBB Connector
its pointing to joomla because i put the joomla files on the ftp and not in a joomla map

Please Log in or Create an account to join the conversation.

  • geeffland
  • geeffland
  • OFFLINE
  • Posts: 199
  • Thanks: 0
  • Karma: 233
18 years 6 months ago #11335 by geeffland
Replied by geeffland on topic Re:Problem PHPBB Connector
Sounds like you have a custom setup...

For version 1.0.2 I recommend going into phpbbconnector.php and change the forumpath function to

function forumPath() {
return "/var/www/html/domains/hard-beats.nl/public_html/forum/";
}

Then go into phpbbgui.php and change (near line 151)

$phpbb_root_path = $phpBBforumPath."/";

to

$phpbb_root_path = "/var/www/html/domains/hard-beats.nl/public_html/forum/";

if that path is not correct then sub in your correct path... Ver. 1.0.3 will have a way built-in to define an absolute path... just not in 1.0.2 though

Greg

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in or Create an account to join the conversation.

18 years 6 months ago #11442 by lucasdelmont
Replied by lucasdelmont on topic Re:Problem PHPBB Connector
Geeffland

I´m a complete noob both at joomla, community builder AND phpbb.

I installed phpbb in a subdomain. And joomla in my domain.

forum.sorocababynight.com and sorocababynight.com, respectivelly.

I get the SQL error, but I have no idea how to make sure they´re both installed in the same database. How could I correct it (if they´re in different databases)? Or should I reinstall phpbb (and hope I don´t miss where I choose the correct sql database)?

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum