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: PHPBB Page can not be displayed  (Read 4160 times)

0 Members and 1 Guest are viewing this topic.

Phill

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
PHPBB Page can not be displayed
« on: July 30, 2004, 09:10:22 pm »

Hello when I try integrate, when you click login it brings up a page can not be displayed.

my coppermine is at : http://coppermine.domain.co.uk/
my forum is at : http://www.domain.co.uk/forums/

But the coppermine url will work http://www.domain.co.uk/coppermine/

I was wondering if this would be a problem, or if it would be a cookie problem?

What would the paths look like, as im sure thats the problem

Thanks From Phill
Logged

Nibbler

  • Guest
Re: PHPBB Page can not be displayed
« Reply #1 on: July 31, 2004, 12:02:57 am »

Both the paths should be '/' or blank. The cookie domain should be '.domain.co.uk'. No guarantee this will work though, you would have read that in the documenation of course.

Page not displayed errors would be related to the paths your are redirecting to, not cookies.
Logged

Phill

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: PHPBB Page can not be displayed
« Reply #2 on: July 31, 2004, 10:15:03 am »

in init.in.php it now looks like

// Uncomment the applicable line if you want to use it
define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');

and in phpbb.inc.php it looks like

// you'll have to set the below var to '/phpBB2/'.
define('PHPBB_WEB_PATH', '/forums/');
// Logout Flag

and in this new file named cpg_redir.php in the phpBB directory, it looks like..

}
$cpg_path='/gallery';
header("Location: http://".mydomain.com/.$cpg_path);
exit;

and I have left the cookie thingy as phpbb2mysql even though the forum the cookie name is forum

Please can someone advise me what to do!

At this moment in time if I go to
http://www.domain.com/gallery/ and click login it takes me 2 the forums  ???
and if I go to
http://gallery.domain.com/ and click login, the page can not be displayed! I need help!
Logged

EZ

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 130
Re: PHPBB Page can not be displayed
« Reply #3 on: July 31, 2004, 11:00:09 am »

That's because:

http://www.domain.com/gallery + /forum/ = http://www.domain.com/forum/ = correct path.
http://gallery.domain.com + /forum/ = http://gallery.domain.com/forum/ = incorrect path

EZ.
Logged

Phill

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: PHPBB Page can not be displayed
« Reply #4 on: July 31, 2004, 11:37:14 am »

well how would i do it so I could use the gallery.domain.com method?!
Logged

Nibbler

  • Guest
Re: PHPBB Page can not be displayed
« Reply #5 on: July 31, 2004, 02:15:47 pm »

Code: [Select]
header("Location: http://".mydomain.co.uk/.$cpg_path);
Is wrong. Try:

Code: [Select]
header("Location: http://mydomain.co.uk".$cpg_path);
for the subdir method, or for the subdomain method:

Code: [Select]
header("Location: http://gallery.mydomain.co.uk");
Logged

Phill

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: PHPBB Page can not be displayed
« Reply #6 on: July 31, 2004, 03:12:49 pm »

what about the path to the forums?!

And Cookie stuff etc!?
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.