Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Log-in problem  (Read 5778 times)

0 Members and 1 Guest are viewing this topic.

mxer210

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Log-in problem
« on: June 30, 2004, 04:16:11 am »

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.
« Last Edit: June 30, 2004, 07:33:24 am by mxer210 »
Logged

ALapo

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Log-in problem
« Reply #1 on: June 30, 2004, 08:01:03 am »

Same issue I have, but with I use the vbulletin module.

http://forum.coppermine-gallery.net/index.php?topic=7200.0
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Log-in problem
« Reply #2 on: June 30, 2004, 11:24:52 am »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Log-in problem
« Reply #3 on: June 30, 2004, 06:50:48 pm »

// 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);
Logged

Nibbler

  • Guest
Re: Log-in problem
« Reply #4 on: June 30, 2004, 08:18:10 pm »

The cpg_dir.php can be as simple as
Code: [Select]
<?php
header
("Location: http://www.yoursite.com/coppermine");
exit;
?>

It just points back to your coppermine install.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Log-in problem
« Reply #5 on: June 30, 2004, 08:22:27 pm »

Is the name of your phpbb cookie actually 'phpbb2mysql'
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Log-in problem
« Reply #6 on: June 30, 2004, 08:44:20 pm »

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

mxer210

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Log-in problem
« Reply #7 on: June 30, 2004, 09:02:15 pm »

yes, for phpbb, the cookie is phpbb2mysql.
Logged

Nibbler

  • Guest
Re: Log-in problem
« Reply #8 on: June 30, 2004, 09:07:22 pm »

Can you post a link and test user account please ?
Logged

Hunter

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Log-in problem
« Reply #9 on: July 06, 2004, 06:16:25 pm »

Having the same problem with Invision.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Log-in problem
« Reply #10 on: July 07, 2004, 06:24:59 am »

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
Logged

Hunter

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Log-in problem
« Reply #11 on: July 08, 2004, 05:09:08 am »

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.

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
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 15 queries.