coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: MetalHellsAngel on July 08, 2005, 03:36:29 PM

Title: Bridged phbb a dozen times b4 suddenly not working?!?!
Post by: MetalHellsAngel on July 08, 2005, 03:36:29 PM
Ok I have bridged coppermine with phpbb dozens of times in the past and never had any problem with it I even wrote up an integration for it with mxbb portal (http://www.mx-system.com/) . Now all the sudden I'm getting this login error. I'm sure your familer with Not being logged in error from the look of the posts in this forum...lol ;). Well Let's see now Ok..

Here's the setup
database: the same I'v checked it three times

the bridge has the correct information in it I acutlly copied and pasted the the cookie name from my phpbb acp into the bridge file so I know that good. I also am positive that the db prefix is correct for phpbb.

Here's the Bridge file:
// database configuration
define('PHPBB_DB_NAME', 'metal'); // 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', '/metal/Forums/');
// 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', 'metal_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


Here's The Link to My Site (Http://metalhell.servemp3.com/metal/forums/index.php) and the testing Account info

Test User: Testing
Test Pass: Testing
Title: Re: Bridged phbb a dozen times b4 suddenly not working?!?!
Post by: Nibbler on July 08, 2005, 04:01:37 PM
The test account is Tester, not Testing.

Your forum is not setting proper cookies, just using sessions. You need to be setting a proper cookie (with phpbb2mysql_) for Coppermine to be able to recognise you.
Title: Re: Bridged phbb a dozen times b4 suddenly not working?!?!
Post by: MetalHellsAngel on July 08, 2005, 04:31:27 PM
Oh sorry its

Username: Tester
Pass: Tester

So I guess your saying I need to talk to the phpbb people to figure out the whoo cookie there right? Or is there something else I can do?

Thanks,
Angel
Title: Re: Bridged phbb a dozen times b4 suddenly not working?!?!
Post by: MetalHellsAngel on July 08, 2005, 07:49:45 PM
I posted the issue in the phpbb forums this is the answer I recieve. Would it be possible that using the 1.4 cpg would fix this I noticed in a different post your using a new bridge.

Quotephpbb uses sessions, because people are becooming worry of letting cookies be stored onto there pc, thus causing problems. These problems consist of errors on forms when cookies get disabled. Also sessions are faster because it just stores it on to the server which can handle a bigger load.

Thanks,
Angel
Title: Re: Bridged phbb a dozen times b4 suddenly not working?!?!
Post by: Nibbler on July 08, 2005, 08:04:15 PM
The phpbb coppermine bridge does not support authentication via sessions, either in 1.3.x or 1.4.x
Title: Re: Bridged phbb a dozen times b4 suddenly not working?!?!
Post by: MetalHellsAngel on July 08, 2005, 08:48:36 PM
Here is the info in my cookie from my temp internet files does this help at all, because I see that both my site and cpg have input information into the cookie.

1c2f8ba665236c223a7c90973761a0a6
f5e846228640e2b23def32da8039f284
metalhell.servemp3.com/
1024
4091548672
29724393
2732184208
29721577
*
cpg140_data
YTozOntzOjI6IklEIjtzOjMyOiI2YmVlMzMxNmNhYjgyYTg2ZGRhZDZkZTNkZGViYjc2MyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjt9
metalhell.servemp3.com/
1024
151888256
29727614
284279616
29721579
*
Title: Re: Bridged phbb a dozen times b4 suddenly not working?!?!
Post by: MetalHellsAngel on July 11, 2005, 02:35:25 AM
I noticed, after doing an uninstall and reinstall that when I first bridge coppermine and phpbb that I'm logged in then if I close the browser window then go back then I'm not logged in so what up with that??


t.y.i.a.,
Angel
Title: Re: Bridged phbb a dozen times b4 suddenly not working?!?!
Post by: Joachim Müller on July 11, 2005, 08:31:56 AM
OK, this thread is more complicated than it should be, let me summarize the facts: