CPG 1.3 - IPB 2.X Bridging Problem CPG 1.3 - IPB 2.X Bridging Problem
 

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]

Main Menu

CPG 1.3 - IPB 2.X Bridging Problem

Started by matyasv, September 14, 2005, 12:48:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

matyasv

I finally got the log in to bridge after losing a few strands of hair...   It seems I didnt get the login.php file right.
anyway, my problem relates to the redirect.. That is all...
Thank you. Come again!

Coppermine
http://www.streetracersonline.com/copper

IPB
http://www.streetracersonline.com/forum

username: matyasv
pass: passcpg

Joachim Müller


matyasv

okay I figured out the redirect problem with the IPB 2.0 bridge

your script sends the log in with referer=blahblahblah

IPB 2.0 uses return=http://url to wherever you came from

NOTE: YOU MUST HAVE HTTP:// and a full url in order for the return script to work otherwise it calls fail function which redirects to the forum index

A server path, or any other path will not sufice.. Only a full URL starting with http://

use the following to obtain path

$HTTP_SERVER_VARS["HTTP_HOST"] . $HTTP_SERVER_VARS["REQUEST_URI"];