coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: poc2603 on June 16, 2005, 08:28:47 AM

Title: Bridging failed
Post by: poc2603 on June 16, 2005, 08:28:47 AM
I've just download a copy of CPG 1.3.3 and install it on my webhost. I have an Invision Board 2.0.1 installed and since I have only one MySQL database then I decided to install CPG with the same database information. I followed the instruction. The installer create 13 tables with cpg133_ prefix and an admin account. I got it run perfectly (I tried the configuration, created an album, uploaded a picture..). However when I decided to integrate it with my existing board, it failed to run. I made modifications in the 2 file as following:
- in the init.inc.php
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'); <--- I uncomment this line
// 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...');


- in the invisionboard.inc.php

// ------------------------------------------------------------------------- //
// Modify the values below according to your Board installation              //
// ------------------------------------------------------------------------- //

// database configuration
define('IB_DB_NAME', 'viethung_viethungibf'); // The name of the database used by the board
define('IB_BD_HOST', 'localhost'); // The name of the database server
define('IB_DB_USERNAME', 'viethung_ibf'); // The username to use to connect to the database
define('IB_DB_PASSWORD', '*********'); // The password to use to connect to the database

// The web path to your Invision Board directory
// In this example http://yoursite_name.com/ivboard/
define('IB_WEB_PATH', '/ibf/');
// ------------------------------------------------------------------------- //
// You can keep the default values below if your installation is standard
// ------------------------------------------------------------------------- //


After making modification, I tried to access the admin page but failed and said smthing like: "Fatal error when processing a database querry"
When I disable the integration, everything is OK.
access my board at: http://binhminh.biz
I have a Invision Gallery installed (I don't know how to safely uninstall it) so just use the Gallery link on the Navigation bar on the left or go directly to: http://viethungpham.5gigs.com/cpg/
The username & password is demo. Please help!
Title: Re: Bridging failed
Post by: kegobeer on June 16, 2005, 01:26:26 PM
Have you read the documentation about bridging?  Specifically, having your board and gallery on the same webserver (www.test.com/gallery and www.test.com/forum)?  You also need to enable debug mode to see the actual error message.
Title: Re: Bridging failed
Post by: Nibbler on June 16, 2005, 06:29:52 PM
The invision file in the package is for invision 1, the bridge file for 2.0 is posted in the forums somewhere. Bridging can't currently work across domains however.