Advanced search  

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]

Pages: [1]   Go Down

Author Topic: cant login  (Read 2538 times)

0 Members and 1 Guest are viewing this topic.

DaN64

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
cant login
« 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.
Code: [Select]
// 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: cant login
« Reply #1 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
Logged

DaN64

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: cant login
« Reply #2 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
Code: [Select]
<?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
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.