coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: Tripredacus on September 18, 2007, 07:06:23 AM

Title: NULL in var $CONFIG['dbserver']
Post by: Tripredacus on September 18, 2007, 07:06:23 AM
I have the following issue when trying to bridge coppermine and Invision PowerBoard 1.3Final:

NULL Coppermine critical error:
Unable to connect to UDB database !

MySQL said:


Coppermine install: http://tripredacus.net/gallery/
Bridging app install: http://tripredacus.net/forum/
Coppermine version: cpg1.4.13
Bridging app version: Invision Power Board 1.3F
Test user account: not applicable

BridgeManager settings:
Forum URL:  http://tripredacus.net/forum
Relative path to your BBS's config file:  ../forum/conf_global.php
Use post-based groups?:  1

---
I changed some files also. Please inform me if these could be a problem. I cannot access any part of CPG at this time. I only have access to the source code and the MySQL data.

invisionboard.inc.php (previously invisionboard20.inc.php)
define('USE_BRIDGEMGR', 0);

If I set to 1, I get a blank white screen.

//if (!USE_BRIDGEMGR) {
$this->boardurl = 'http://tripredacus.net/forum/';
require_once('../forum/conf_global.php');
$this->use_post_based_groups = 1;
//} else {
// require_once('../forum/conf_global.php');
// $this->boardurl = $INFO['board_url'];
// $this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
//}


Leaving lines uncommented produces the same results.

// Database connection settings
var_dump($CONFIG['dbserver']);
$this->db = array(
SNIP


The var_dump produces the NULL seen in the error message. I receive NULL from any of the 4 variables listed in the config.inc.php file. All (relevant) lines in the config.inc.php file match those found in the conf_global.php file.

//require '../include/config.inc.php';

I found no reference to including this file in the index or the bridge. If left uncommented, I receive a blank screen.

The only other change is that previously, the db_password listed in table cpg14x_bridge was blank, even after I initially used the Bridge Wizard. I inserted the password (manual query) but it generated it as MD5 has and is viewable as encrypted. Is this a problem also?
Title: Re: NULL in var $CONFIG['dbserver']
Post by: Nibbler on September 18, 2007, 09:49:26 AM
IPB 1.3 is not supported, only 2.x or later. Renaming the file will not change this.