CPG + phpBB 2.0.6 Integration Problem - Please Help! CPG + phpBB 2.0.6 Integration Problem - Please Help!
 

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 + phpBB 2.0.6 Integration Problem - Please Help!

Started by Rhombuss, January 17, 2004, 07:42:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rhombuss

Okay...I've done all the integration procedures as outlined in the documentation.

After I log onto phpBB, I go to CPG and it isn't logged in.  I click login in CPG, brings me back to phpBB where I am no longer logged in.

Any ideas?

Rhombuss

I've created a test account for those who want to help me troubleshoot this.

http://www.tift.ca.tt
Login:  testaccount
PW:  testing

The phpBB is in the Message Board link, and Coppermine is under Gallery.

The init.inc.php include file can be seen here: http://www.rubicon-design.com/tift/temp/init.inc.txt
The phpbb.inc.php bridge file can be seen here: http://www.rubicon-design.com/tift/temp/phpbb.inc.txt

The url www.tift.ca.tt is just a free domain that redirects to www.rubicon-design.com/tift/ so if there's any confusion, the root domain for this site is www.rubicon-design.com/tift/

Thanks for help in advance!

Joachim Müller


Rhombuss

Take a look a the phpbb.inc.php(txt) file that I posted, I already included that fix for the login/logout function.

MaThIbUs

Did you set your cookies right?

for phpBB2
Cookie domain: www.yoursite.com
Cookie name: phpbb2mysql
Cookie path: /

for Coppermine
cookie name: cpg11d
cookie path: /

Rhombuss

Okay...I think I got the integration to work one way.

I can login through phpBB2, then go to Coppermine from there and it works.  But if I start at Coppermine, and click 'login', it brings me to the phpBB2 login page, but none of the images show up, and when I try to login, it does nothing.  I checked the image links, and it thinks the template images for phpBB2 are in the /cpg/ folder, whereas they are in the /phpBB2/ folder.  Why would it make that mistake?

Also...when I'm in admin mode in Coppermine, and I click the users tab - it brings me to here http://www.internet-optimizer.com/Help/NavigationError/?e=ERR404&u=http%3A//tiftclub.com/cpg/usermgr.php&cls=wsi9&rid=r01 for some reason.

Thanks for the help so far.