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: CPG 1.3 && phpBB2.1 integration (redirection issue)  (Read 4364 times)

0 Members and 1 Guest are viewing this topic.

neoclee

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
CPG 1.3 && phpBB2.1 integration (redirection issue)
« 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CPG 1.3 && phpBB2.1 integration (redirection issue)
« Reply #1 on: July 18, 2004, 08:05:04 pm »

please post the contents of your cpg_redir.php file

GauGau
Logged

neoclee

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: CPG 1.3 && phpBB2.1 integration (redirection issue)
« Reply #2 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;
?>
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CPG 1.3 && phpBB2.1 integration (redirection issue)
« Reply #3 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
Logged

Suede

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: CPG 1.3 && phpBB2.1 integration (redirection issue)
« Reply #4 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 :)
Logged

EZ

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 130
Re: CPG 1.3 && phpBB2.1 integration (redirection issue)
« Reply #5 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
Logged
Pages: [1]   Go Up
 

Page created in 0.035 seconds with 15 queries.