Bridging failed Bridging failed
 

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

Bridging failed

Started by poc2603, June 16, 2005, 08:28:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

poc2603

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!

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Nibbler

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.