coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: neoclee on July 18, 2004, 06:57:04 PM

Title: CPG 1.3 && phpBB2.1 integration (redirection issue)
Post by: neoclee on July 18, 2004, 06:57:04 PM
First off , great work w/ the CPG project, guys.
my issue : im almost sure its not an issue w/ phpBB forum as i can login/out just fine with it alone.
im also sure that the integration is working fine b/c login/out information is passed from one to the other. (when i log in phpBB, and then access the gallery manually, im showen as logged in)

my problem: on trying to login in Coppermine page, im redirected to phpBB login page, login and then get a blank page , the address bar reads : http://essagi.com/forum/cpg_redir.php?sid=2fa63d0b2d65d181637a60f1fc541551 . Im assuming its an issue w/ the cpg_redir.php file.

P.S  : iv gone over all the integration steps in the manual, and have checked over the changes more than twice.

any help ?
thanks guys.
Title: Re: CPG 1.3 && phpBB2.1 integration (redirection issue)
Post by: Joachim Müller on July 18, 2004, 08:05:04 PM
please post the contents of your cpg_redir.php file

GauGau
Title: Re: CPG 1.3 && phpBB2.1 integration (redirection issue)
Post by: neoclee on July 18, 2004, 08:43:27 PM
hi
thanks for the response, heres the content.

<?php
if (!$_SERVER['HTTP_HOST']) {
  $cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
  $cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/gallery';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>
Title: Re: CPG 1.3 && phpBB2.1 integration (redirection issue)
Post by: Joachim Müller on July 19, 2004, 07:07:31 AM
urm, sorry - I forgot to ask earlier: please post a test user account (non-admin) as well.

GauGau
Title: Re: CPG 1.3 && phpBB2.1 integration (redirection issue)
Post by: Suede on July 23, 2004, 11:25:48 PM
Hi -

I was able to register as well as post with no problems - thought you'd like to know :) [using a Mozilla Firefox browser]

May just be some tables in the HTML that may need closing [if you are viewing in IE, which is less forgiving of unclosed tables.. you will  get blank pages. Just an idea.....]

HTH :)
Title: Re: CPG 1.3 && phpBB2.1 integration (redirection issue)
Post by: EZ on July 24, 2004, 12:51:58 PM
Note that phpBB v2.1 is pre-alpha software and integration was not designed or tested to work with it that version. It may or may not work, but any result is temporary.

phpBB 2.1 is still going through intensive development so there's no point to invest any time interfacing with it as it may change many times before it stabilizes. I'm following the progress and when phpBB 2.1 turns into 2.2 beta I'll provide integration code.

EZ