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: PHPBB 2.17 log in issuse (read other threads, still no fix)  (Read 3802 times)

0 Members and 1 Guest are viewing this topic.

darth larsen

  • Coppermine newbie
  • Offline Offline
  • Posts: 6

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
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');
// 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
Code: [Select]
// 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
Code: [Select]
<?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

« Last Edit: July 23, 2005, 02:43:09 am by Nibbler »
Logged

Nibbler

  • Guest
Re: PHPBB 2.17 log in issuse (read other threads, still no fix)
« Reply #1 on: July 22, 2005, 04:53:39 pm »

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__'
Logged

darth larsen

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: PHPBB 2.17 log in issuse (read other threads, still no fix)
« Reply #2 on: July 23, 2005, 02:18:06 am »

Logged

darth larsen

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: PHPBB 2.17 log in issuse (read other threads, still no fix)
« Reply #3 on: July 23, 2005, 02:29:32 am »

thanks its fixed.

sorry i was such a waste of your time.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: PHPBB 2.17 log in issuse (read other threads, still no fix)
« Reply #4 on: July 23, 2005, 06:07:39 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 18 queries.