coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: asas on April 24, 2005, 02:52:32 AM

Title: PHPBB Problems: only admin can login
Post by: asas on April 24, 2005, 02:52:32 AM
I have the following problem after integrating my PHPbb forum with coppermine

Only I, the admin. can log in. No one else can. What happens is that when they click on log-in, they get redierected to the forum, and when they try to log-in, they get sent to the coppermine page, and it shows that they are not logged in. Even though, they have already logged into the forum.

So in brief, logging in, will only work for the forums, not for the albums though.

test account:

username: test
password: 12345
forum: http://www.assyrianvoice.net/phpbb2
coppermine: http://www.assyrianvoice.net/pictures



Also, the settings of my bridging files are as follows:

// database configuration
define('PHPBB_DB_NAME', 'ashoor905'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'mysql15.secureserver.net'); // The name of the database server
define('PHPBB_DB_USERNAME', 'ashoor905'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'XXXXXXX'); // 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', '/phpbb2/');



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


Settings: (for phpBB)

Domain name: www.assyrianvoice.net
Script path:  /phpbb2
Cookie Domain:                   (blank, as it has always been)
Cookie name:  phpbb2mysql
Cookie Path:   /


Settings (for coppermine)

Target address for the 'See more pictures' link in e-cards:  http://www.assyrianvoice.net/pictures
Name of the cookie used by the script: cpg130
cookie path: /


Hope that helps. I am not lying, but I have been trying to figure this out for close to 5 hours. No success.

It did work before, but my forum was recently installed my forum again, so basically everything is new. Not sure if this is an issue with the new php version 2.0.14



Please help with any suggestions you may have.

Thank You



Title: Re: PHPBB Problems: only admin can login
Post by: Nibbler on April 24, 2005, 05:10:18 PM
I can't see anything wrong with your settings. What version of coppermine are you running exactly ? looks like a mismatch of 1.3.0 and 1.3.3

If you can PM me an FTP login I can investigate for you.
Title: Re: PHPBB Problems: only admin can login
Post by: asas on April 24, 2005, 07:45:29 PM
CHECK YOUR PM :)

THANKS A LOT