coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Rhombuss on January 17, 2004, 07:42:57 PM

Title: CPG + phpBB 2.0.6 Integration Problem - Please Help!
Post by: Rhombuss on January 17, 2004, 07:42:57 PM
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?
Title: CPG + phpBB 2.0.6 Integration Problem - Please Help!
Post by: Rhombuss on January 17, 2004, 11:15:57 PM
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!
Title: CPG + phpBB 2.0.6 Integration Problem - Please Help!
Post by: Joachim Müller on January 18, 2004, 10:58:16 AM
Please take a look at http://forum.coppermine-gallery.net/index.php?topic=1841 and http://forum.coppermine-gallery.net/index.php?topic=1164

GauGau
Title: CPG + phpBB 2.0.6 Integration Problem - Please Help!
Post by: Rhombuss on January 18, 2004, 06:08:50 PM
Take a look a the phpbb.inc.php(txt) file that I posted, I already included that fix for the login/logout function.
Title: CPG + phpBB 2.0.6 Integration Problem - Please Help!
Post by: MaThIbUs on January 18, 2004, 07:30:54 PM
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: /
Title: CPG + phpBB 2.0.6 Integration Problem - Please Help!
Post by: Rhombuss on January 18, 2004, 09:30:59 PM
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.