coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: thecodman on July 09, 2004, 09:11:50 PM

Title: phpbb 2.0.8a integration problem...
Post by: thecodman on July 09, 2004, 09:11:50 PM
When i click login it takes me to the login for the forum so i login and it logs me in there fine, but then i go over to my gallery and im not logged in.  I've tried changing slashes and cookie names and everything, i followed all of the integration instructions please assist.

My gallery is located at: http://www.lcrhosting.com/ssv
My phpbb is located at: http://www.lcrhosting.com/board

Thanks!
Title: Re: phpbb 2.0.8a integration problem...
Post by: thecodman on July 09, 2004, 09:17:41 PM
I figured this might help:

username: testun
password: test
Title: Re: phpbb 2.0.8a integration problem...
Post by: thecodman on July 09, 2004, 09:39:59 PM
I just noticed somebody else with a similiar problem was told to "post both your cookie paths and cookie names in coppermine and phpBB, and post your first 40 lines of your bridge file" so i figured i would do it now and some time:

phpbb

cookie domain: lcrhosting.com
cookie name: phpbb2mysql
cookie path: /


coppermine

i cant login there anymore; so where do i get this info?




first lines of bridge file


<?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.2.1                                            //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002,2003 Gregory DEMAR                                     //
// http://www.chezgreg.net/coppermine/                                       //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team                                        //
// (http://coppermine.sf.net/team/)                                          //
// see /docs/credits.html for details                                        //
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify      //
// it under the terms of the GNU General Public License as published by      //
// the Free Software Foundation; either version 2 of the License, or         //
// (at your option) any later version.                                       //
// ------------------------------------------------------------------------- //

// phpBB2 Integration for Coppermine

// ------------------------------------------------------------------------- //
// ------------------------------------------------------------------------- //
// Modify the values below according to your Board installation
// ------------------------------------------------------------------------- //
// database configuration
define('PHPBB_DB_NAME', 'admin_xxxeditxxx'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'admin_xxxeditxxx'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'xxxeditxxx'); // The password to use to connect to the database

// The web path to your phpBB directory
// In this example http://www.lcrhosting.com/board/
define('PHPBB_WEB_PATH', '/board/');
// ------------------------------------------------------------------------- //
// 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
// ------------------------------------------------------------------------- //




Hopefully this will help solve the problem. Thanks!


edit: database login info edited out. -Tranzndance
Title: Re: phpbb 2.0.8a integration problem...
Post by: Joachim Müller on July 09, 2004, 11:02:18 PM
Try changing your cookie path to "/".
To log into coppermine again, temporarily disable integration by putting the double slashes back into init.inc.php

GauGau
Title: Re: phpbb 2.0.8a integration problem...
Post by: thecodman on July 09, 2004, 11:12:06 PM
now i cant even log into my php forum anymore to check that!

any suggestions?
Title: Re: phpbb 2.0.8a integration problem...
Post by: thecodman on July 09, 2004, 11:37:00 PM
I turned the bridge off and my coppermine cookie settings are:

cookie name: cpg11d
cookie path: /
Title: Re: phpbb 2.0.8a integration problem...
Post by: Joachim Müller on July 09, 2004, 11:39:26 PM
login works fine for me on your board...

GauGau
Title: Re: phpbb 2.0.8a integration problem...
Post by: thecodman on July 09, 2004, 11:44:39 PM
are you sure, it shows that your logged in on the bottom, but then at the top it doesnt and for my admin it keeps telling me that im not logged in when i try and access the admin area
Title: Re: phpbb 2.0.8a integration problem...
Post by: Joachim Müller on July 09, 2004, 11:46:12 PM
delete your local cookie. I even posted a message while logged in...

GauGau

P.S. This board is not the place to look for help on setting up phpBB. Get your board running properly and the try the integration again...
Title: Re: phpbb 2.0.8a integration problem...
Post by: thecodman on July 09, 2004, 11:51:48 PM
Ok, i will try it again, a few quick clarifications:

1. Should it be installed in the same directory?

2. Should it be installed in the same mysql database?

Thanks!
Title: Re: phpbb 2.0.8a integration problem...
Post by: Joachim Müller on July 10, 2004, 03:43:19 PM
Quote from: thecodman on July 09, 2004, 11:51:48 PM1. Should it be installed in the same directory?
no, of course not-

Quote from: thecodman on July 09, 2004, 11:51:48 PM2. Should it be installed in the same mysql database?
yes, of course - read the documentation that comes with coppermine!

GauGau
Title: Re: phpbb 2.0.8a integration problem...
Post by: zebraplayer on October 15, 2004, 05:37:24 PM
I think this guy is having the same problem as me. His user accts work, but his Admin acct doesn't. That would explain why Gau-Gau could log in, but he couldn't. COuld this be a conflict between the user number in the bridge file and the user ID number in the phpbb db?

Also, this guy posted the password to his db in the code file. Someone should delete it, before trouble befalls him.
Title: Re: phpbb 2.0.8a integration problem...
Post by: Tranz on October 15, 2004, 05:43:12 PM
@zebraplayer: Thank you for pointing out the password in the code.

@thecodman: I edited out the database info but you should still change your password if possible.