I'm getting these messages after following the doc in bridging phpBB & CPG:
Warning: main(bridge/phpbb.inc.php): failed to open stream: No such file or directory in /home/sbstech/public_html/cms_shared/cpg/include/init.inc.php on line 243
Warning: main(bridge/phpbb.inc.php): failed to open stream: No such file or directory in /home/sbstech/public_html/cms_shared/cpg/include/init.inc.php on line 243
Fatal error: main(): Failed opening required 'bridge/phpbb.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sbstech/public_html/cms_shared/cpg/include/init.inc.php on line 243
My phpBB installation is located at http://mydomain.com/portal or http://portal.mydomain.com
My CP installation is located at http://mydomain.com/cms_shared/cpg
My http://mydomain.com/portal/cpg_redir.php are as follows:
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/cms_shared/cpg/';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>
My http://mydomain.com/cms_shared/cpg/bridge/phpbb.inc.php modifications are as follows:
// database configuration
define('PHPBB_DB_NAME', 'db_portal'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'root'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'xxxxxx'); // The password to use to connect to the database
// The web path to your phpBB directory
// If your URL to your board is for example 'http://yoursite_name.com/phpBB2/',
// you'll have to set the below var to '/phpBB2/'.
define('PHPBB_WEB_PATH', '/portal/');
define('PHPBB_LOGOUT_GET', TRUE);
My http://mydomain.com/cms_shared/cpg/includes/init.inc.php modifications are as follows:
define('COPPERMINE_VERSION', '1.3.2');
// User database integration
// Uncomment the applicable line if you want to use it
define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
Please help..
any reason for not telling us your real url? Post a "real" link and a test user account.
Joachim
Check the bridge files exists and is readable.