Problem PHPBB Connector

18 years 8 hours 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 to join the conversation.

18 years 6 hours 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 to join the conversation.

17 years 11 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 to join the conversation.

17 years 11 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 to join the conversation.

17 years 11 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 to join the conversation.

17 years 11 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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.221 seconds

Facebook Twitter LinkedIn