PHPBB Page can not be displayed PHPBB Page can not be displayed
 

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

Main Menu

PHPBB Page can not be displayed

Started by Phill, July 30, 2004, 09:10:22 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Phill

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

Nibbler

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.

Phill

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!

EZ


Phill

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

Nibbler

header("Location: http://".mydomain.co.uk/.$cpg_path);

Is wrong. Try:

header("Location: http://mydomain.co.uk".$cpg_path);

for the subdir method, or for the subdomain method:

header("Location: http://gallery.mydomain.co.uk");

Phill

what about the path to the forums?!

And Cookie stuff etc!?