coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: DaN64 on June 10, 2004, 12:43:39 PM

Title: cant login
Post by: DaN64 on June 10, 2004, 12:43:39 PM
ok i did the intergration

following the instructions very carefully but when i try to login i am taken to the forum login box were i enter my userneme and password for phpBB i am then redirected to the index of the album but im not logged in my phpBB is in the root directory and coppermine is in /album.


in phpbb.inc i have. // you'll have to set the below var to '/phpBB2/'.
define('PHPBB_WEB_PATH', '/');

since phpBB is in the root is this correct?
Im not sure if this is my problem or not

Thanx in advance.
~DaN
Title: Re: cant login
Post by: Joachim Müller on June 10, 2004, 03:52:59 PM
if your bbs is in the webroot, then your setting should be correct. There have been issues with phpBB integration - please read the stickies that deal with it (both on this board and the mods board), most likely this is a cookie issue. Try deleting your cookies etc. (search the board for "cookie issue" for details).

GauGau
Title: Re: cant login
Post by: DaN64 on June 11, 2004, 11:08:10 AM
new problem

www.thewyrd.com/index.php is my forum

www.thewyrd.com/album/index.php is were coppermine is.

I go to login with my forum username and password and i get taken to

http://thewyrd.comwww.thewyrd.com/album/

if i delete the text in bold i get the the album index and im logged in correctly

then when i goto logout thewyrd.com is added to the start of the url again

my cpg_redir file (in root) is this
<?php
if (!$_SERVER['HTTP_HOST']) {
  
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
  
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/album';
header("Location: http://www.thewyrd.com".$cpg_host.$cpg_path);
exit;
?>


~DaN