phpbb 2.0.8a integration problem... phpbb 2.0.8a integration problem...
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

phpbb 2.0.8a integration problem...

Started by thecodman, July 09, 2004, 09:11:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thecodman

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!

thecodman

I figured this might help:

username: testun
password: test

thecodman

#2
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

Joachim Müller

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

thecodman

#4
now i cant even log into my php forum anymore to check that!

any suggestions?

thecodman

I turned the bridge off and my coppermine cookie settings are:

cookie name: cpg11d
cookie path: /

Joachim Müller

login works fine for me on your board...

GauGau

thecodman

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

Joachim Müller

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...

thecodman

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!

Joachim Müller

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

zebraplayer

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.

Tranz

@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.