Phpbb & CPG Phpbb & CPG
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Phpbb & CPG

Started by ISBB, October 19, 2005, 02:12:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ISBB

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

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

ISBB

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
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

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

ISBB

double checked everything... the database name is proper how else would cpg be able to install...  how do i check the table prefix?
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

in phpmyadmin... under my db for phpbb... phpbb_sessions does exist
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

sunnnuva b**** i just had a total brain fart... please excuse my ignorance
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

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