Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: phpbb and cgp login/log out probs now!  (Read 7860 times)

0 Members and 1 Guest are viewing this topic.

theweeeman

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
phpbb and cgp login/log out probs now!
« on: October 09, 2005, 06:54:50 pm »

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/
« Last Edit: October 10, 2005, 09:11:24 am by GauGau »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: phpbb and cgp login/log out probs now!
« Reply #1 on: October 09, 2005, 07:08:26 pm »

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

Code: [Select]
<?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

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: phpbb and cgp login/log out probs now!
« Reply #2 on: October 09, 2005, 07:20:00 pm »

done that too! but will check again ;D
Logged

theweeeman

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: phpbb and cgp login/log out probs now!
« Reply #3 on: October 09, 2005, 07:27:50 pm »

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

Code: [Select]
<?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... ???
Logged

theweeeman

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: phpbb and cgp login/log out probs now!
« Reply #4 on: October 09, 2005, 07:38:12 pm »

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 >:(
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: phpbb and cgp login/log out probs now!
« Reply #5 on: October 10, 2005, 09:06:24 am »

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: phpbb and cgp login/log out probs now!
« Reply #6 on: October 10, 2005, 09:08:17 am »

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.
Logged

theweeeman

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: phpbb and cgp login/log out probs now!
« Reply #7 on: October 10, 2005, 09:10:48 am »

both solved now thanx, and sorry for startin a new one..lol
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.