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.bizI 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!