phpbb and cgp login/log out probs now! phpbb and cgp login/log out probs now!
 

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 and cgp login/log out probs now!

Started by theweeeman, October 09, 2005, 06:54:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

theweeeman

first we got em working together, now i cant log in to the album it keeps sending me back to the forum????
Well i was happy till i realised i cant log in now to the gallery? can someone test it from another location???
my gallery link is posted earlier and the username is .......test........ and password ..........tester...... just cant get into gallery now and before that it wasnt redirecting after log out from gallery? im lost now lol

http://www.madaboutbiking.co.uk/cpg135/index.php

http://madaboutbiking.co.uk/phpBB2/

Stramm

OK, now we restart again.
Place the cpg_redir.php in your phpbb folder


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



then you need to recheck if all's properly set in your bridge file phpbb.inc.php
especially
define('PHPBB_WEB_PATH', '/phpBB2/');
define('PHPBB_COOKIE_PREFIX', 'phpbb2mysql'); //needs to be what you've set in phpbb admin. Set the cookie path to / there

theweeeman


theweeeman

Quote from: Stramm on October 09, 2005, 07:08:26 PM
OK, now we restart again.
Place the cpg_redir.php in your phpbb folder


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



then you need to recheck if all's properly set in your bridge file phpbb.inc.php
especially
define('PHPBB_WEB_PATH', '/phpBB2/');
define('PHPBB_COOKIE_PREFIX', 'phpbb2mysql'); //needs to be what you've set in phpbb admin. Set the cookie path to / there


ok but im not too clear on what i put where in the code? like i said very new to all this... ???

theweeeman

ok, when i log into php, everthings cool, i can do all im supposed to. But if i click my link to voppermine, im not logged in and when i then click on log in it takes me back to php, where im still logged in, I cant seem to log in to coppermine now >:(

Joachim Müller


Joachim Müller

has the other thread you started (http://forum.coppermine-gallery.net/index.php?topic=22545.msg103606#msg103606) been solved or not? There are in fact two threads that deal with the very sam issue if you ask me.

theweeeman

both solved now thanx, and sorry for startin a new one..lol