cpg 133 and phpbb 1.17 login problem cpg 133 and phpbb 1.17 login problem
 

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]

Main Menu

cpg 133 and phpbb 1.17 login problem

Started by bdcarz, August 24, 2005, 10:20:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bdcarz

i have done what is in the docs but even after changing ever thing it's not working. When my users are logged in my forum then goes to my gallery the user finds that he is not logged in in the gallery and when he comes bak to the forum he is logged in. plz help me i'm having a big prob with this and i'm new this stuff.

phpbb.inc.php

// database configuration
define('PHPBB_DB_NAME', 'bdcarzc_bdcarzcom'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'bdcarzc_dbuser'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'XXXXXXXXXX'); // 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', '/forum/');
// 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


init.inc.php
define('COPPERMINE_VERSION', '1.3.3');
// 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');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
// Start output buffering
ob_start();
// Report all errors except E_NOTICE
// This is the default value set in php.ini
// error_reporting (E_ALL ^ E_NOTICE);
error_reporting(E_ALL);

set_magic_quotes_runtime(0);
// used for timing purpose
$query_stats = array();
$queries = array();

// Perform database queries to calculate user's privileges based on group membership
function cpgGetUserData($pri_group, $groups, $default_group_id = 3)
{
 

Gallery Link  http://www.bdcarz.com/gallery
Forum Link  http://www.bdcarz.com/forum

Test User

User : cpg_sup
Pass : 123456

Please help me i need help imidiatelly

Nibbler

Login is working fine. You are missing a cpg_redir.php in your forum folder though.

bdcarz

so what should i do ??? and a new prob arised member can't upload pics  ???

Nibbler

Put the cpg_redir.php file in place as in the docs and get over to the groups page.