coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: Cenobitez on September 20, 2005, 11:44:19 PM

Title: PHPBB & Coppermine: Crital Error Unable to Connect to DB issue
Post by: Cenobitez on September 20, 2005, 11:44:19 PM
The address is www.netgirls.co.uk/diablo

PHPBB
// database configuration
define('PHPBB_DB_NAME', 'phpbb1'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'phpbb'); // The username to use to connect to the database
define('PHPBB_DB_PASSWPRD', '********'); // The password to use to connect to the database
define('PHPBB_WEB_PATH', '/');
define('PHPBB_LOGOUT_GET', TRUE);
define('PHPBB_COOKIE_PREFIX', 'netgirlscookie'); // The prefix used for board cookies


INIT
define('COPPERMINE_VERSION', '1.3.2');
// User database integration
// Uncomment the applicable line if you want to use it
define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');

All the info is spot on, but im getting a Unable to Connect to DB.

the Config.inc.php of whatever it is called in the gallery folder has the old databse information, do i change that as well because its not listed in the documentation. I also added the cpg_redirect file as well.

I have double check and rechecked and created new mysql users to check passwords and usersnames and compared them to the phpbb one and its all a match.
Title: Re: PHPBB & Coppermine: Crital Error Unable to Connect to DB issue
Post by: kegobeer on September 20, 2005, 11:56:14 PM
Coppermine requires phpbb and Coppermine tables to be in the same database, as per the documenation.  Are they in the same db?

Enable debug mode (use phpmyadmin to change debug_mode from 0 to 1, if you can't access Coppermine's config page) and post the actual SQL error message.
Title: Re: PHPBB & Coppermine: Crital Error Unable to Connect to DB issue
Post by: Nibbler on September 21, 2005, 09:00:21 AM
Why does it say PHPBB_DB_PASSWPRD instead of PHPBB_DB_PASSWORD ?
Title: Re: PHPBB & Coppermine: Crital Error Unable to Connect to DB issue
Post by: Cenobitez on September 22, 2005, 01:58:18 AM
OK :) i fixed that typo and im online but have other issues, now so il start another thread :)