Phpbb Login problem --yes I did look at the other threads Phpbb Login problem --yes I did look at the other threads
 

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 Login problem --yes I did look at the other threads

Started by daxcastro, August 13, 2005, 08:53:26 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

daxcastro

Okay.. so I tried not to post. I scoured the other threads and tried several of the fixes supplied for each of the problems. Non worked.

So sorry for the post but I am stumped.

without integration I can login just fine. With integration on, I try to log in and it sends me to the phpbboard login just fine, I log in and it bounces me to the gallery just fine, but I am still not logged in.

I know from reading that it is a cookie problem of some sort, but darn it if I cant find an answer that fixes my issue.

link to galler:  http://www.mylifeinascrapbook.com/phpbboard/gallery

user name is board  pw is giraffe

Thanks for the help!
Dax

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

// database configuration
define('PHPBB_DB_NAME', 'palmer_phpb1'); // 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 [edit GauGau]Username removed[/edit]

define('PHPBB_DB_PASSWORD', '****'); // The password to use to connect to the database [edit GauGau]Password removed[/edit]

// 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', '/phpbboard/');
// 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

// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //

Joachim Müller

I edited your above posting, it contained your mySQL password, which is a no-no on a public board. For security reasons, I strongly recommend to change your password immediately.
You have enabled session authentification in phpBB. However, coppermine needs cookie authentification to make bridging work. Go to your phpBB control panel and change the auth method there, then try again.

daxcastro

hmmmm... now when I login to the phpbboard.. I can but when I click the admin menu link at the bottom of the page, it bounces me back to the login.

Dax

Joachim Müller


daxcastro

okay. I am back into the admin again.. when I reset the cookie params i did it wrong. Fixed that .. now I am back to being able to log in. Below are the settings I have for cookies.


These details define how cookies are sent to your users' browsers. In most cases the default values for the cookie settings should be sufficient, but if you need to change them do so with care -- incorrect settings can prevent users from logging in
=================
Cookie domain  .mylifeinascrapbook.com
Cookie name  myliphpb_phpbb
Cookie path  /phpbboard
Cookie secure yes or no  ---- If your server is running via SSL, set this to enabled, else leave as disabled Disabled   Enabled
Session length [ seconds ] 

Joachim Müller

Quote from: daxcastro on August 13, 2005, 10:16:19 AM
Cookie path  /phpbboard
Set it to "/" only, the cookie has to be readible for coppermine.

daxcastro

okay.. i set the cookie path in Phpbb to "/"  when I enable bridging it acts the same. Loops...lets me log in into the board but then when it goes to the gallery page I am not logged in.

daxcastro

what about setting the cookie path in CM to /phpbboard to match where it is configured for phpbb?

chat at www.mlias.com/phpbboard   chat link at top.

daxcastro

okay.. now... not bridged.. I get a red Warning your browser does not accept script's cookies even though I turned all security off and set accept all cookies.

So I can log in.. but no admin priviledges.


Boy I tell you.. I appreciate your help.. but what a pain this all is. Can I just pay you to go in and get it working?
Dax

daxcastro

off too bed for me.. gotta get up in 4 hrs. Let me know about the script. I have installed tons of scripts and I am pretty comfortable that I have followed all the instructions. Just something small is being missed here and I am at a loss.

Thanks for your help. And continued help I hope.

I have about 200 people waiting for this to go live.

Dax

Nibbler

Put the copperine cookie settings back as they were, making coppermine's cookies unreadable by coppermine is hardly going to help you.

Also, these must match

bridge file:
define('PHPBB_COOKIE_PREFIX', 'phpbb2mysql'); // The prefix used for board cookies

And phpbb config:
Cookie name  myliphpb_phpbb

daxcastro

That was it. Thanks a ton~!!! Works great!

I dunno why it didnt match I thought I checked everything.. but thanks. You caught my mistake. Thanks a ton!

Dax