PHPBB 2.17 log in issuse (read other threads, still no fix) PHPBB 2.17 log in issuse (read other threads, still no fix)
 

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

PHPBB 2.17 log in issuse (read other threads, still no fix)

Started by darth larsen, July 22, 2005, 06:23:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

darth larsen

We are tring to bridge our old gallery with phpbb 2.17
it isnt letting us login.

i tried all the cookie fixes listed in other threads.

init.inc.php
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');
// 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);


phpbb.inc.php
// database configuration
define('PHPBB_DB_NAME', 'mgadmin_forumsql'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'mgadmin_forum'); // 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', '/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', 'mgforum_'); // The prefix used for board cookies


config.inc.php
<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =                         "localhost";        // Your database server
$CONFIG['dbuser'] =                         "mgadmin_forum";        // Your mysql username
$CONFIG['dbpass'] =                         "************";                // Your mysql password
$CONFIG['dbname'] =                         "mgadmin_forumsql";        // Your mysql database name


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



The gallery use to be here:
http://www.mg501.com/coppermine/

since i moved it i changed the config file (as shown above)

Forum:
http://www.mg501.com/forum/
Gallery:
http://www.mg501.com/gallery/

Account
Test
Password
Test


Nibbler

1) There is no such phpbb version as 2.17
2) Update your gallery to 1.3.3, 1.3.2 is not secure.
3) The test account is not 'Test', it is 'test'
4) You forum's cookie path should not be '/forums', it should be '/' as stated in the documentation.
5) Your cookie prefix is not 'mgforum_', it is 'mgforum__'


darth larsen

thanks its fixed.

sorry i was such a waste of your time.

Tranz

Quote from: darth larsen on July 23, 2005, 02:18:06 AM
phpbb 2.17
Not to be a smart alec, but just for your future edification... 2.17 does not equal 2.0.17. It seems minor but if the application does happen to have both versions, it would confuse supporters if you use them interchangeably.