Help for a newbie, please Help for a newbie, please
 

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

Help for a newbie, please

Started by VSK, July 30, 2004, 09:17:08 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

VSK

My apologies for asking such an elementary question, but I don't know my way around php very well at all.  I am trying to install the bridge between the coppermine and phpbb.  In the documentation, it says:

----------------------------
At the beginning of the file there are a number a configuration values that need to be set. For phpBB they are the following :

// database configuration
define('PHPBB_DB_NAME','phpBB');     // 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

Am I putting my requested info only in the first set of quotes (such as 'PHPBB_DB_NAME') or also in the 2nd set of quotes (such as 'phpBB'?

// 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);

Same question here (this was when I questioned myself putting the info only in the first set of quotes).  Will my define line above read:

'websitename.com/forum','/phpBB2/'           or
'websitename.com/forum','/forum/'             ?


-----------------------------------------------------------

Thanks for the help.  When I went through my site's control panel to upgrade my phpbb, it added a new database and right now I'm unsure whether my forum is using the database I originally created for it or the new one which has appeared.  Therefore, I knew if I got errors, i'd not know if it's due to my incorrect configuration above or if my guess as to which database was the wrong guess.

Nibbler

define('PHPBB_DB_NAME','phpBB');     // The name of the database used by the board

If your database was called Boris, this would be:

define('PHPBB_DB_NAME','Boris');     // The name of the database used by the board

You are defining 'PHPBB_DB_NAME' to be 'Boris'. You must only change the second part.