Thanks for the quick reply, GauGau.
Index Error:
Notice: Use of undefined constant PHPBB_BD_HOST - assumed 'PHPBB_BD_HOST' in /hsphere/local/home/villagec/hmongvillage.com/mystuff/bridge/phpbb.inc.php on line 526
Notice: Undefined index: mysql*.mysql5.ixwebhosting.com in /hsphere/local/home/villagec/hmongvillage.com/mystuff/bridge/phpbb.inc.php on line 526
Notice: Use of undefined constant PHPBB_DB_NAME - assumed 'PHPBB_DB_NAME' in /hsphere/local/home/villagec/hmongvillage.com/mystuff/bridge/phpbb.inc.php on line 530
Notice: Use of undefined constant PHPBB_DB_NAME - assumed 'PHPBB_DB_NAME' in /hsphere/local/home/villagec/hmongvillage.com/mystuff/bridge/phpbb.inc.php on line 530
Coppermine critical error:
Unable to connect to phpBB Board database !
MySQL said: Unknown MySQL Server Host 'mysql5ixwebhostingcom' (1)
phpbb.inc.php as stated above:
// ------------------------------------------------------------------------- //
// phpBB2 Integration for Coppermine //
// ------------------------------------------------------------------------- //
// Modify the values below according to your Board installation //
// ------------------------------------------------------------------------- //
// database configuration
define('village_nuke', 'phpBB'); // The name of the database used by the board
define('mysql5.ixwebhosting.com', 'localhost'); // The name of the database server
define('admin', 'root'); // The username to use to connect to the database
define('***', ''); // The password to use to connect to the database
Also:
// ------------------------------------------------------------------------- //
// Define wheter we can join tables or not in SQL queries (same host & same db or user)
define('UDB_CAN_JOIN_TABLES', (PHPBB_BD_HOST == $CONFIG['mysql*.mysql5.ixwebhosting.com'] && (PHPBB_DB_NAME == $CONFIG['village_coppermine'] || PHPBB_DB_USERNAME == $CONFIG['admin'])));
init.inc codes:
define('COPPERMINE_VERSION', '1.3.3');
// 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');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
// Start output buffering
cpg_redir codes:
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
$cpg_host=$_SERVER['HTTP_HOST'];
}
$http://hmong='http://hmongvillage.com/mystuff';
header("Location: http://".$cpg_host.$http://hmongvillage.com/mystuff);
exit;
?>