coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: Texan78 on April 10, 2005, 09:00:54 PM

Title: Log on problems
Post by: Texan78 on April 10, 2005, 09:00:54 PM
I have searched the BB and FAQ and couldnt find anything that matched my issue, so i am hoping someone can help. Ok im having troubles loggin into my gallery. I click login from cpg and it takes me to the forum board to login, which is right, but when i click log in it takes me to cpg but im not logged in. Now the funny thing is it logs me into my portal and fourms but not cpg. Now i had problems with my board last night and had to do a restore on my DB but the resotre was from data that was 2 days old and it was working then.  Whats werid is when i go init.inc.php file and put the // back to unintergrate the board my cpg works fine as stand alone. Here is my details:

cpg verison 1.3.2

phpBB 2.0.13


Bridge File

// database configuration
define('PHPBB_DB_NAME', 'texascam_portal'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'texascam_Texan78'); // The username to use to connect to the database
define('XXXXXX', ''); // 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://www.texascampingforum.com/forum/',
// you'll have to set the below var to '/phpBB2/'.
define('PHPBB_WEB_PATH', '/forum/');
// 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
// ------------------------------------------------------------------------- //
// The prefix for the phpBB cookies
define('PHPBB_COOKIE_PREFIX', 'phpbb2mysql'); // The prefix used for board cookies

// Prefix and names for the database tables
define('PHPBB_TABLE_PREFIX', 'phpbb_'); // The prefix used for the DB tables
define('PHPBB_USER_TABLE', 'users'); // The members table
define('PHPBB_SESSION_TABLE', 'sessions'); // The session table
define('PHPBB_GROUP_TABLE', 'groups'); // The groups table
define('PHPBB_UGROUP_TABLE', 'user_group'); // The group/user table



Any help would be great, Thanks in advance
Title: Re: Log on problems
Post by: Nibbler on April 10, 2005, 09:23:34 PM
What's going on with the password ? have you edited the right bit in the file ?

Please post a test user account.
Title: Re: Log on problems
Post by: Texan78 on April 10, 2005, 09:52:32 PM
i replaced my password with XXXXX so i could post the bridge file.

user: test
pass: 123456
Title: Re: Log on problems
Post by: Nibbler on April 10, 2005, 09:55:17 PM
What you have replaced with XXX should have said PHPBB_DB_PASSWORD, and your password should have been in the bit that currently says ''
Title: Re: Log on problems
Post by: Texan78 on April 10, 2005, 10:01:13 PM
I changed my password for the posting. so no one can access my DB. Thats not the way it is in the Brdige file.
Title: Re: Log on problems
Post by: Nibbler on April 10, 2005, 10:07:15 PM
OK. Your test account worked fine for me.
Title: Re: Log on problems
Post by: Texan78 on April 10, 2005, 10:17:32 PM
Ok thats really weird, your right it is working. When you said it worked fine for me i was link uh. maybe my group_id was wrong. So i treid my Admin accoutna gaint and it worked. strange, but at least its working. Thanks