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: admin phpbb - coppermine login  (Read 5364 times)

0 Members and 1 Guest are viewing this topic.

h4mmer

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
admin phpbb - coppermine login
« on: January 21, 2005, 06:01:57 pm »

When I go to coppermine and click login it takes me to the forum (phpbb) then when I log in as administrator I am taken back to coppermine where the administrator login is not reflected

http://www.living-the-dream.co.uk/ramshead/gallery/
http://www.living-the-dream.co.uk/ramshead/phpBB2/

test account:
username:test
pwd:test
« Last Edit: January 25, 2005, 07:27:47 pm by TranzNDance »
Logged

h4mmer

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
Re: admin phpbb - coppermine login
« Reply #1 on: January 24, 2005, 12:09:32 pm »

Checked all files cant see any problem but still cant log in to gallery ??? ???
Logged

Nibbler

  • Guest
Re: admin phpbb - coppermine login
« Reply #2 on: January 24, 2005, 02:47:40 pm »

Post the parts of files you have changed.
Logged

h4mmer

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
Re: admin phpbb - coppermine login
« Reply #3 on: January 24, 2005, 03:42:08 pm »

include init.int

Code: [Select]
define('COPPERMINE_VERSION', '1.3.2');
// User database integration
// Uncomment the applicable line if you want to use it
define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');



include config.inc.php
Code: [Select]
<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =                         '213.171.218.229';        // Your database server
$CONFIG['dbuser'] =                         'livingadream';        // Your mysql username
$CONFIG['dbpass'] =                         '********';                // Your mysql password
$CONFIG['dbname'] =                         'livingphotos';        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                'cpg132_rams';
?>



phpbbinc.php
Code: [Select]
define('PHPBB_DB_NAME', 'livingphotos'); // The name of the database used by the board
define('PHPBB_BD_HOST', '213.171.218.229'); // The name of the database server
define('PHPBB_DB_USERNAME', 'livingadream'); // 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', '/ramshead/phpBB2/');
// Logout Flag
// the value of this boolean constant depends on your phpBB version:
// If your version of phpBB is 2.0.4 or lower - change the value to FALSE;
// if your version of phpBB is 2.0.5 or newer - leave it as TRUE
define('PHPBB_LOGOUT_GET', TRUE);
// ------------------------------------------------------------------------- //
// 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

cpg_redir.php
Code: [Select]
<?php
if (!$_SERVER['HTTP_HOST']) {
  
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
  
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/ramshead/gallery';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>


cookie info
domain : living-the-dream.co.uk
cookie name : phpbb2mysql
path: /



Logged

h4mmer

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
Re: admin phpbb - coppermine login
« Reply #4 on: January 25, 2005, 01:54:54 pm »

must be to do with the cookie 's   ???
Logged

h4mmer

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
Re: admin phpbb - coppermine login
« Reply #5 on: January 25, 2005, 03:04:44 pm »

:oops:  

sorted it was a mistype in the database table prefix
Logged
Pages: [1]   Go Up
 

Page created in 0.032 seconds with 19 queries.