still have problem with login after 2.0.18 upgrade still have problem with login after 2.0.18 upgrade
 

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

still have problem with login after 2.0.18 upgrade

Started by Mr Tee, November 06, 2005, 07:42:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mr Tee

I still have the login proble. Members can log in through the BB but if they check the remember me box, they are not logged in the tha gallery.

http://www.thestudio-online.co.uk

http://www.thestudio-online.co.uk/gallery

Test account Username testing password testing

Bridge details as follows

// database configuration
define('PHPBB_DB_NAME', '*******'); // The name of the database used by the board
define('PHPBB_BD_HOST', '**********'); // The name of the database server
define('PHPBB_DB_USERNAME', '*********'); // 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
// 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', '//');

// ------------------------------------------------------------------------- //
// You can keep the default values below if your instalation is standard
// ------------------------------------------------------------------------- //
// The prefix for the phpBB cookies
define('PHPBB_COOKIE_PREFIX', 'photo'); // The prefix used for board cookies

// Prefix and names for the database tables
define('PHPBB_TABLE_PREFIX', 'forum_'); // 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
define('PHPBB_SESSIONS_KEYS_TABLE', 'sessions_keys'); // The new session key table

Nibbler

Are you actually using the new 2.0.18 bridge file ? Doesn't look to me like you are.

Mr Tee

#2
This is the one I downloaded, I just downloaded it again to make sure. The only changes made are the database configuration. I can't see any difference. What have I done wrong? BTW sorry I posted in the wrong place.

<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2005 Coppermine Dev Team
  v1.1 originaly written by Gregory DEMAR

  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.
  ********************************************
  Coppermine version: 1.3.5
  $Source: /cvsroot/coppermine/stable/bridge/phpbb.inc.php,v $
  $Revision: 1.13 $
  $Author: gaugau $
  $Date: 2005/09/24 16:31:32 $
**********************************************/

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

// database configuration
define('PHPBB_DB_NAME', '******'); // The name of the database used by the board
define('PHPBB_BD_HOST', ******'); // The name of the database server
define('PHPBB_DB_USERNAME', '******'); // 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
// 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', '//');

// ------------------------------------------------------------------------- //
// You can keep the default values below if your instalation is standard
// ------------------------------------------------------------------------- //
// The prefix for the phpBB cookies
define('PHPBB_COOKIE_PREFIX', 'photo'); // The prefix used for board cookies

// Prefix and names for the database tables
define('PHPBB_TABLE_PREFIX', 'forum_'); // 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
define('PHPBB_SESSIONS_KEYS_TABLE', 'sessions_keys'); // The new session key table

Nibbler

Verify that you have the correct version of the file on the server - make a change to the file and check if the change shows up on the site.

Mr Tee

Yep, did that and it showed on the server when I called the file.

Mr Tee

There appears to be another problem since upgrade. Neither Admin or members can go into user mode. Clicking on the link shows the screen "leaving Admin Mode" but it then returns to Admin mode.

Nibbler

Switching between admin and user mode works fine for me using the test account provided. Please zip up and attach your bridge file to this thread, removing any sensitive information.

Mr Tee

Now that's odd, because I logged in with the test account and I could switch to user mode. zip attached


Mr Tee

Solved the switching, must have had something to do with the cookies. I deleted them all and it is OK now.

Nibbler

Very strange, any chance you could PM me an FTP login to your gallery folder so I can see what's going on ?

Mr Tee