Error on phpbbConnector Control Panel

17 years 5 months ago #25046 by geeffland
Replied by geeffland on topic Re:Error on phpbbConnector Control Panel
banquer,

I am assuming you replaced the DOC_root variables I mentioned earlier... did you also replace the same varaiable in phpbbconnector.php?

Looks like there is no doc root on the front of the files... notice the error is about

/forum/extension.inc

versus

/usr/local/web/blahblah/forum/extension.inc


Greg

If you have already done so then let me know...

Greg

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in to join the conversation.

17 years 5 months ago #25059 by banquer
Replied by banquer on topic Re:Error on phpbbConnector Control Panel
AlL DOCUMENT_ROOT BY $mosConfig_absolute_path.

Thanks for your interest.
Regards.

Please Log in to join the conversation.

17 years 5 months ago #25064 by geeffland
Replied by geeffland on topic Re:Error on phpbbConnector Control Panel
OK took a quick peek at the filem and based on your response I think I know what you need to do...

In the cases where you replaced

$_SERVER

with

$mosConfig_absolute_path

AND the change was inside a function (such as the forumPath function... you need to make sure and set $mosConfig_absolute_path as global...

Looking at the patch file for phpbbconnector.php, the forumPath() function would look like this (NOTE this change may be needed in other places as well...)

[code:1] function forumPath() {
global $_SERVER, $mosConfig_absolute_path;
// ask server where the root for the website is located at
$pathparts = explode("/",$mosConfig_absolute_path);
$lastpart = count($pathparts);
// add forum to end of array
$pathparts[$lastpart] = $this->forumDirectory();
//rebuild string
$phpBBforumPath = implode("/", $pathparts);
//following variable defined for phpBB includes
return $phpBBforumPath."/";
}[/code:1]

Hope this helps,
Greg

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in to join the conversation.

17 years 5 months ago #25072 by banquer
Replied by banquer on topic Re:Error on phpbbConnector Control Panel
Thanks for your quickly reply.
Try to repair and post result.
I hope to have same moments to recode.

Best regards from Granada.
Home of Alhambra Palace.
Spain.

Please Log in to join the conversation.

Moderators: beatnantgeefflandmartijn189krileon
Time to create page: 0.153 seconds

Facebook Twitter LinkedIn