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 & CPG  (Read 7453 times)

0 Members and 1 Guest are viewing this topic.

ISBB

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 93
    • Northwest ZR2's
Phpbb & CPG
« on: October 19, 2005, 02:12:25 am »

OK heres my problem...  Whever i uncheck undefine the init.inc.php in the includes dir i get Fatal error :
There was an error while processing a database query

my phpbb bridge file looks like:
// database configuration
define('PHPBB_DB_NAME', 'ddrcpg'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', '****'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', '********'); // The password to use to connect to the database

// The web path to your phpBB directory
// If your URL to your board is for example 'http://yoursite_name.com/phpBB2/',
// you'll have to set the below var to '/phpBB2/'.
define('PHPBB_WEB_PATH', '/');


Any Ideas... I have done this bridge numerous times and this is the first time i have ran into this problem.. and its a prettty darn fresh install of phpbb as well with a few mods nothing major though...

The install of coppermine went perfectly fine.. if i leave init.inc.php bb like normal with the // infront fo the proper line my gallery works fine but its not bridged obviously...
« Last Edit: October 19, 2005, 02:27:38 am by Nibbler »
Logged
Its gaurunteed.. until it breaks

Lifted trucks are like boob jobs, no matter what size shape or dimension they are always fun to look at.

Nibbler

  • Guest
Re: Phpbb & CPG
« Reply #1 on: October 19, 2005, 02:13:18 am »

Enable debug mode and post the mysql error message you get when you enable the bridge.
Logged

ISBB

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 93
    • Northwest ZR2's
Re: Phpbb & CPG
« Reply #2 on: October 19, 2005, 02:15:42 am »

While executing query "SELECT user_id, username as user_name, user_level FROM `ddrcpg`.phpbb_sessions INNER JOIN `ddrcpg`.phpbb_users ON session_user_id = user_id WHERE session_id='687cf979a39b60075b9b4f5259486149' AND session_user_id ='2' AND user_active='1'" on 0

mySQL error: Table 'ddrcpg.phpbb_sessions' doesn't exist
Logged
Its gaurunteed.. until it breaks

Lifted trucks are like boob jobs, no matter what size shape or dimension they are always fun to look at.

Nibbler

  • Guest
Re: Phpbb & CPG
« Reply #3 on: October 19, 2005, 02:17:24 am »

Looks like you have the wrong db name or table prefix set in your bridge file.
Logged

ISBB

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 93
    • Northwest ZR2's
Re: Phpbb & CPG
« Reply #4 on: October 19, 2005, 02:18:28 am »

double checked everything... the database name is proper how else would cpg be able to install...  how do i check the table prefix?
Logged
Its gaurunteed.. until it breaks

Lifted trucks are like boob jobs, no matter what size shape or dimension they are always fun to look at.

ISBB

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 93
    • Northwest ZR2's
Re: Phpbb & CPG
« Reply #5 on: October 19, 2005, 02:21:44 am »

in phpmyadmin... under my db for phpbb... phpbb_sessions does exist
Logged
Its gaurunteed.. until it breaks

Lifted trucks are like boob jobs, no matter what size shape or dimension they are always fun to look at.

ISBB

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 93
    • Northwest ZR2's
Re: Phpbb & CPG
« Reply #6 on: October 19, 2005, 02:22:35 am »

sunnnuva b**** i just had a total brain fart... please excuse my ignorance
Logged
Its gaurunteed.. until it breaks

Lifted trucks are like boob jobs, no matter what size shape or dimension they are always fun to look at.

ISBB

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 93
    • Northwest ZR2's
Re: Phpbb & CPG
« Reply #7 on: October 19, 2005, 02:24:44 am »

i guess i should read a little closer...
define('PHPBB_DB_NAME', 'ddrcpg')   NOT the database used by CPG... DOH...

thx again for the help... i feel like a idiot...
Logged
Its gaurunteed.. until it breaks

Lifted trucks are like boob jobs, no matter what size shape or dimension they are always fun to look at.

Nibbler

  • Guest
Re: Phpbb & CPG
« Reply #8 on: October 19, 2005, 02:27:54 am »

:)
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.