phpBB integration problems? phpBB integration problems?
 

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]

Main Menu

phpBB integration problems?

Started by Preseren, April 29, 2005, 01:13:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Preseren

Hy all...

Well, I think, Ive done All as I should, but I get this, when I try to open the galery direct (paste the link into the browser):

Notice: Use of undefined constant PHPBB_BD_HOST - assumed 'PHPBB_BD_HOST' in /data/members/free/tripod/uk/z/a/i/zainproti/htdocs/galerija/bridge/phpbb.inc.php on line 526

Notice: Use of undefined constant PHPBB_DB_NAME - assumed 'PHPBB_DB_NAME' in /data/members/free/tripod/uk/z/a/i/zainproti/htdocs/galerija/bridge/phpbb.inc.php on line 530

Notice: Use of undefined constant PHPBB_DB_NAME - assumed 'PHPBB_DB_NAME' in /data/members/free/tripod/uk/z/a/i/zainproti/htdocs/galerija/bridge/phpbb.inc.php on line 530
Fatal error :
There was an error while processing a database query

No idea what this is....


Nibbler

You've probably editted the bridge file incorrectly. Verify you edited the right bits, and post it here if you are unsure. (*** out your password).

Preseren

Well, I think Ive done it the right way..

Here is it, Im not using a password for the base, so theres none.... Is this a problem? If I leave it like its written donw here, than I get:
Parse error: parse error in /data/members/free/tripod/uk/z/a/i/zainproti/htdocs/galerija/bridge/phpbb.inc.php on line 30

Fatal error: Call to undefined function: udb_authenticate() in /data/members/free/tripod/uk/z/a/i/zainproti/htdocs/galerija/include/init.inc.php on line 2

How should I do it if I dont use a pass?


// ------------------------------------------------------------------------- //
// phpBB2 Integration for Coppermine                                         //
// ------------------------------------------------------------------------- //
// Modify the values below according to your Board installation              //
// ------------------------------------------------------------------------- //

// database configuration
define('zainproti_uk_db', 'phpBB'); // The name of the database used by the board
define('localhost', 'localhost'); // The name of the database server
define('zainproti', 'root'); // The username to use to connect to the database
define(''''); // 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('/phpbb2', '/phpBB2/');
// Logout Flag
// the value of this boolean constant depends on your phpBB version:
// If your version of phpBB is 2.0.4 or lower - change the value to FALSE;
// if your version of phpBB is 2.0.5 or newer - leave it as TRUE
define('PHPBB_LOGOUT_GET', TRUE);
// ------------------------------------------------------------------------- //
// You can keep the default values below if your instalation is standard
// ------------------------------------------------------------------------- //

Nibbler

That's all wrong. It should be like this:

// database configuration
define('PHPBB_DB_NAME', 'zainproti_uk_db'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'root'); // 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', '/phpbb2/');
// Logout Flag
// the value of this boolean constant depends on your phpBB version:
// If your version of phpBB is 2.0.4 or lower - change the value to FALSE;
// if your version of phpBB is 2.0.5 or newer - leave it as TRUE
define('PHPBB_LOGOUT_GET', TRUE);
// ------------------------------------------------------------------------- //
// You can keep the default values below if your instalation is standard
// ------------------------------------------------------------------------- //

Preseren

where was my head????....

sorrry....
works now... thanks