coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: Nibbler on April 21, 2005, 02:53:34 PM

Title: Re: Integration with phpBB2 on sub-domain..PLEASE PLEASE HELP
Post by: Nibbler on April 21, 2005, 02:53:34 PM
Can you post a test user account please.
Title: Re: Integration with phpBB2 on sub-domain..PLEASE PLEASE HELP
Post by: prmirage on April 22, 2005, 10:05:13 PM
Nibbler...

Thank you for responding and I apologize for not replying sooner. Works been a bear lately.

Well, in my attempt to fix things myself I am no longer as close as I thought. I brought everything except the board back to defaults so I can go through step-by-step and see where I went wrong. So now I am not even close to where I was and can't seem to get back there. I feel really stupid not being able to do this. I have been in the IT industry for 10 years but this just eludes me to no end. I am almost wondering if I shouldn't wait for release 4 and the Bridging Wizard. But I hate giving up so here is the new config for the board and the gallery:

Primary domain: www.theprimosgroup.com
Sub domain: www.familiaboricua.com (redirect at server level to folder /familiaboricua)

Folders:
Board - www.familiaboricua.com/phpBB2
Gallery - www.famiiaboricua.com/cpg132

Board Configuration Page:
Domain Name - www.theprimosgroup.com
Script path - /familiaboricua//phpBB2/
Site name - www.familiaboricua.com
Cookie domain - www.theprimosgroup.com
Cookie name - phpbb2mysql
Cookie path - /

Gallery Config Page:
Target address for ecards - http://www.theprimosgroup.com
Name of cookies - cpg132
Path - /

Here is a test account:
user - test
pswd - test


Let me know if you need me to paste any of the files modified...they are big so I'll probably need to do them one at a time..Thanks Nibbler...I really appreciate the help!!

prmirage

Title: Re: Integration with phpBB2 on sub-domain..PLEASE PLEASE HELP
Post by: Nibbler on April 23, 2005, 09:14:22 PM
First of all, www.familiaboricua.com is not a subdomain, calling it one just confuses things.

I am unable to locate your gallery.

Also - The target address for ecards should be set to the address of your coppermine gallery.
Title: Re: Integration with phpBB2 on sub-domain..PLEASE PLEASE HELP
Post by: prmirage on April 23, 2005, 09:23:13 PM
Man o Man...Please someone help me. I'm getting hounded by family members to get this up and running and can't. I admit defeat! I can't seem to get this running. I have reinstalled cpg into a folder named "gallery", followed ALL instructions to the letter and still can get this to work with phpBB2. I can't get it to redirect to php login screen!!!! All my files are modified according to instructions and my cookies appear to be correct! WHAT GIVES!!!

PLEASE I NEED HELP DESPARATELY!

Has anybody ever hung themselves cuz they couldn't get these to work together?... ??? ??? ???

J/k..but I do need help folks...I know you guys can do it. I have spent hours and I do mean hours reading this forum and you guys are awesome so how about spreading some of that knowledge my way? :\'( :\'(

www.familiaboricua.com/phpBB2
www.familiaboricua.com/gallery

Login: test
Pswd: test

thank you...
prmirage
Title: Re: Integration with phpBB2 on sub-domain..PLEASE PLEASE HELP
Post by: Nibbler on April 23, 2005, 09:27:39 PM
Have you edited init.inc.php to enable integration ??
Title: Re: Integration with phpBB2 on sub-domain..PLEASE PLEASE HELP
Post by: prmirage on April 23, 2005, 09:32:10 PM
Quote from: Nibbler on April 23, 2005, 09:14:22 PM
First of all, www.familiaboricua.com is not a subdomain, calling it one just confuses things.

I am unable to locate your gallery.

Also - The target address for ecards should be set to the address of your coppermine gallery.

NIBBLER TO THE RESCUE!!..thanks, I know you can help.

Yes you are correct and I didn't relize my "wording" error until last night so I do apologize for that.

To explain...the domain www.familiaboricua.com is a bonified registered domain. I am forwarding it through GoDaddy to a folder named /familiaboricua "unmasked" (masking it caused other problems before I ever installed CPG so they had me unmask it). So yes, it's not a true sub-domain.

as of last night ecards is set to: http://www.theprimosgroup.com/familiaboricua/gallery/

yes i did edit init.inc.php - removed "//" before the phpBB integration line
Title: Re: Integration with phpBB2 on sub-domain..PLEASE PLEASE HELP
Post by: prmirage on April 23, 2005, 09:36:39 PM
Nibbler...

If you would like admin access to my domain I am MORE than happy to provide it. I have absolutely nothing of importance up there. I'll give you admin access to the board and CPG as well. Ask and you shall receive...:)

prmirage
Title: Re: Integration with phpBB2 on sub-domain..PLEASE PLEASE HELP
Post by: Nibbler on April 23, 2005, 09:37:14 PM
I'm fairly sure you haven't edited it properly or atall. Please install Coppermine 1.3.3 as it is the most recent version.
Title: Re: Integration with phpBB2 on sub-domain..PLEASE PLEASE HELP
Post by: prmirage on April 23, 2005, 09:44:07 PM
Quote from: Nibbler on April 23, 2005, 09:37:14 PM
I'm fairly sure you haven't edited it properly or atall. Please install Coppermine 1.3.3 as it is the most recent version.

******Bridge
// database configuration
define('PHPBB_DB_NAME', 'prmirage'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'mysql3.secureserver.net'); // The name of the database server
define('PHPBB_DB_USERNAME', 'prmirage'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', '*****'); // The password to use to connect to the database

// The web path to your phpBB directory
// If your URL to your board is for example 'http://yoursite_name.com/phpBB2/',
// you'll have to set the below var to '/phpBB2/'.
define('PHPBB_WEB_PATH', '/familiaboricua/phpBB2/');

***integration
define('COPPERMINE_VERSION', '1.3.2');
// User database integration
// Uncomment the applicable line if you want to use it
define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');

****cpg_redir.php
<?php
if (!$_SERVER['HTTP_HOST']) {
 $cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
 $cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/familiaboricua/gallery';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>

Do you really think a reinstall of 1.3.3 is really necessary? I mean I will if I have to but I'm not really looking forward to having to do it.
Title: Re: Integration with phpBB2 on sub-domain..PLEASE PLEASE HELP
Post by: prmirage on April 23, 2005, 09:47:08 PM
One thing I wanted to mention...I'm not sure why this would affect anything but I have been modifying all my files directly through Dreamweaver MX - Saving and refreshing. Food for thought...
Title: Re: Integration with phpBB2 on sub-domain..PLEASE PLEASE HELP
Post by: Nibbler on April 23, 2005, 09:50:14 PM
Whether or not to update depends on how many admins you want your gallery to have  :)

Modify some file that would have a visible effect on your gallery and see if it changes - for example add something in your theme's template.html. Editing with anything other than a simple text editor is not recommended.
Title: Re: Integration with phpBB2 on sub-domain..PLEASE PLEASE HELP
Post by: prmirage on April 23, 2005, 10:00:36 PM
admins are not an issue but I will most likely upgrade to 1.4 when it's released.

as for now...
what exactly should I modify in the template.html?

Did you review my prior post? Did i modify correctly?
Title: Re: Integration with phpBB2 on sub-domain..PLEASE PLEASE HELP
Post by: Nibbler on April 23, 2005, 10:08:14 PM
The modifications are fine, but they have not taken effect on the server. I don't think they are actually being uploaded, or you are editing the right files. PM me an FTP account and I can check for you.

What I meant about updating is that someone could decide they wanted to to be admin instead of you ;)
Title: Re: Integration with phpBB2 on sub-domain..PLEASE PLEASE HELP
Post by: prmirage on April 23, 2005, 10:15:31 PM
lol...got ya...

i think your onto it Nibbler (as usual) i copied all my modified files from the server and opened them in Notepad - DING DONG - no modifications.

The integration wasn't even turned on. None of my Sql server or database info was there. It was like I never even made changes!

I just uploaded them correctly and am going to test...
Title: Re: Integration with phpBB2 on sub-domain..PLEASE PLEASE HELP
Post by: prmirage on April 23, 2005, 10:20:21 PM
Holy Cow!

Now we're getting somewhere!

went to www.theprimosgroup.com/familiaboricua/gallery and page came up fine. Clicked login and this happened:

Cannot find server
http://www.theprimosgroup.com/familiaboricua/phpBB2/login.php?sid=f0af69066588304d7af86ac6b1eee1d3

So this is a step in the right direction!
Title: Re: Integration with phpBB2 on sub-domain..PLEASE PLEASE HELP
Post by: Tranz on April 23, 2005, 10:31:44 PM
The login worked for me. You might be cached by dns or files.
Title: Re: Integration with phpBB2 on sub-domain..PLEASE PLEASE HELP
Post by: prmirage on April 23, 2005, 10:32:53 PM
OH MY GOD!!! IT WORKS!! HOLY COW!! THAT WAS IT...MY MODIFICATIONS WERENT BEING PROPOGATED TO THE SERVER!

Man...You don't know how happy I am or how happy my family is going to be.

NOTE TO ALL - DON'T BE AN IDIOT LIKE ME. USE A TEXT EDITOR TO MODIFY YOUR FILES

Nibbler - you are the best no doubt. thank you soo much for the assistance. you can consider this thread closed and put another notch in your tech support belt.

Hopefully I wont need any more support but after the countless hours I've been on this board I am confident I will be able to figure it out. But if not I'll be back and seeking Nibbler support!

Arvi
prmirage