Log-in problem Log-in 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

Log-in problem

Started by mxer210, June 30, 2004, 04:16:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mxer210

I just integrated coppermine gallery with my phpbb forum. Whenever someone tries to log-in, it goes to the phpbb log-in page. Then, when they log-in from there, it goes to the phpbb index page. It never logs them into coppermine.  :-[ I'm not sure if I typed in the correct info for cpg_redir.php though. I just didn't change any of the info cause the instructions were confusing. Any help would be appreciated.

ALapo


Casper

@  mxer210
please post the lines 24 to 50 of your phpbb.inc.php here (use **** where your password would be).
also confirm that your board settings are the same.

@ ALapo

We have seen your posts, please do not post for the same problem on different threads.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

mxer210

// database configuration
define('PHPBB_DB_NAME', 'teenpo2_phpbb1'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'teenpo2'); // 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
// In this example http://yoursite_name.com/phpBB2/
define('PHPBB_WEB_PATH', '/forum/');
// ------------------------------------------------------------------------- //
// 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
// ------------------------------------------------------------------------- //
// Group definitions
define('PHPBB_ADMIN_GROUP', 1);

Nibbler

The cpg_dir.php can be as simple as

<?php
header
("Location: http://www.yoursite.com/coppermine");
exit;
?>


It just points back to your coppermine install.

Casper

Is the name of your phpbb cookie actually 'phpbb2mysql'
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

ALapo

Quote from: Casper on June 30, 2004, 11:24:52 AM
@ ALapo

We have seen your posts, please do not post for the same problem on different threads.

Just posted to inform this person that it seems to be more of a universal issue.

mxer210

yes, for phpbb, the cookie is phpbb2mysql.

Nibbler

Can you post a link and test user account please ?

Hunter

Having the same problem with Invision.

Joachim Müller

Quote from: Hunter on July 06, 2004, 06:16:25 PM
Having the same problem with Invision.
don't try to hijack threads! Login with invision is not related at all to login issues with phpbb.

GauGau

Hunter

Little parnoid, are you. 

But I am having the same exact problem.  Just trying to kill two birds with one stone.  I gues you want two threads going for the same problem just different board software.

So be it.

Quote from: GauGau on July 07, 2004, 06:24:59 AM
Quote from: Hunter on July 06, 2004, 06:16:25 PM
Having the same problem with Invision.
don't try to hijack threads! Login with invision is not related at all to login issues with phpbb.

GauGau