Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: NULL in var $CONFIG['dbserver']  (Read 3466 times)

0 Members and 1 Guest are viewing this topic.

Tripredacus

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
NULL in var $CONFIG['dbserver']
« on: September 18, 2007, 07:06:23 am »

I have the following issue when trying to bridge coppermine and Invision PowerBoard 1.3Final:

Code: [Select]
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)
Code: [Select]
define('USE_BRIDGEMGR', 0);
If I set to 1, I get a blank white screen.

Code: [Select]
//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.

Code: [Select]
// 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.

Code: [Select]
//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?
Logged

Nibbler

  • Guest
Re: NULL in var $CONFIG['dbserver']
« Reply #1 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.