phpBB / Coppermine Login Issue phpBB / Coppermine Login Issue
 

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 / Coppermine Login Issue

Started by DrGamez, August 23, 2005, 06:29:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DrGamez

I run phpbb 2.0.15 and coppermine 1.3.3 and for some time now anyone that registers new at the forums wont appeared logged in at the gallery.

EXCEPT there is an odd "fix". If the user goes in an uploads an avatar for the forums, then the gallery will suddenly see them logged in, and it will work from that day out.

I don't know why, that doesn't even make any sence.

phpbb.inc.php
// database configuration
define('PHPBB_DB_NAME', '****'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', '****'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', '****'); // The password to use to connect to the database
define('PHPBB_LOGOUT_GET', TRUE);


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');


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


Why would it just "work" after uploading an avatar?


Joachim Müller