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: Bridging failed  (Read 2984 times)

0 Members and 1 Guest are viewing this topic.

poc2603

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Bridging failed
« 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
Code: [Select]
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

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

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Bridging failed
« Reply #1 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.
Logged
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

  • Guest
Re: Bridging failed
« Reply #2 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.