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: PHPBB & Coppermine: Crital Error Unable to Connect to DB issue  (Read 3414 times)

0 Members and 1 Guest are viewing this topic.

Cenobitez

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 15
  • U cant run with the Hare, and hunt with the Hounds
    • Skindustrial
PHPBB & Coppermine: Crital Error Unable to Connect to DB issue
« 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.
« Last Edit: September 22, 2005, 08:40:45 am by GauGau »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: PHPBB & Coppermine: Crital Error Unable to Connect to DB issue
« Reply #1 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.
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: PHPBB & Coppermine: Crital Error Unable to Connect to DB issue
« Reply #2 on: September 21, 2005, 09:00:21 am »

Why does it say PHPBB_DB_PASSWPRD instead of PHPBB_DB_PASSWORD ?
Logged

Cenobitez

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 15
  • U cant run with the Hare, and hunt with the Hounds
    • Skindustrial
Re: PHPBB & Coppermine: Crital Error Unable to Connect to DB issue
« Reply #3 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 :)
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 16 queries.