term help please now i have errors term help please now i have errors
 

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

term help please now i have errors

Started by helpme, April 25, 2005, 07:46:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

helpme

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

i need the definitions of everything in ' ' wat exactly it is.

Joachim Müller

Quotedefine('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','xxxx');      // The password to use to connect to the database
Replace the stuff I highlighted in red with the data that applies to your bbs.


helpme

do i put my account info like my host name or like my domain name in it and do i put like my host pass word and stuff

Joachim Müller

the info you need to enter is not from your webhosting account, but from your database setup. You need to fill in the data you used to set up your phpbb install. As the coppermine bridge requires the bbs database and the coppermine database to be on the same table, the data should be similar to the db info you used to install coppermine as well. If you don't know the data (e.g. because someone else has set up phpbb and/or coppermine for you), you'll have to ask your webhost for the data.

Joachim

helpme

the only thing i dont know is wat localhost means cuz every it just says localhost

Joachim Müller

leaving this as "localhost" is usually fine. Why don't you give it a try?

Joachim

helpme

Fatal error :
There was an error while processing a database query

helpme

<?php
if (!$_SERVER['HTTP_HOST']) {
  $cpg_host=$HTTP_SERVER_VARS['http://www.dj2big.com'];
} else {
  $cpg_host=$_SERVER['http://www.dj2big.com'];
}
$cpg_path='/pics';
header("Location: http://www.dj2big.com/pics".$cpg_host.$cpg_path);
exit;
?>

did i do this right