Warning: main(bridge/phpbb.inc.php): failed to open stream: No such file or dir Warning: main(bridge/phpbb.inc.php): failed to open stream: No such file or dir
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Warning: main(bridge/phpbb.inc.php): failed to open stream: No such file or dir

Started by SBSTechInc, November 09, 2004, 01:32:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SBSTechInc

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..

Joachim Müller

any reason for not telling us your real url? Post a "real" link and a test user account.

Joachim