CPG 1.3 && phpBB2.1 integration (redirection issue) CPG 1.3 && phpBB2.1 integration (redirection issue)
 

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

CPG 1.3 && phpBB2.1 integration (redirection issue)

Started by neoclee, July 18, 2004, 06:57:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

neoclee

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.

Joachim Müller

please post the contents of your cpg_redir.php file

GauGau

neoclee

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;
?>

Joachim Müller

urm, sorry - I forgot to ask earlier: please post a test user account (non-admin) as well.

GauGau

Suede

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 :)

EZ

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