coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: TexAcoon on December 19, 2005, 04:04:28 AM

Title: phpBB versions prior to 2.0.18
Post by: TexAcoon on December 19, 2005, 04:04:28 AM
Your bridge settings
Forum URL:  http://www.amadistrictii.org/amad2 
Relative path to your BBS's config file:  ../gallery/ 
Use post-based groups?:  1 
Cookie prefix:  phpbb2mysql 
Enable integration/bridging with phpBB versions prior to 2.0.18

I uploaded the latest versions of phpbb2018.inc.php and udb_base.inc.php

Yet I get the fatal error:

Fatal error: Cannot redeclare cpggetmicrotime() (previously declared in /home/dwebmaster/domains/amadistrictii.org/public_html/amad2/gallery/include/init.inc.php:35) in /home/dwebmaster/domains/amadistrictii.org/public_html/amad2/gallery/include/init.inc.php on line 33

Any Ideas?

The previous version worked like a champ ...  I was only upgrading to the latest Coppermine Version  cpg1.4

Thanks
Title: Re: phpBB versions prior to 2.0.18
Post by: Nibbler on December 20, 2005, 12:22:05 AM
Quote from: TexAcoon on December 19, 2005, 04:04:28 AM
Relative path to your BBS's config file:  ../gallery/

That can't be right, I think that should be


Relative path to your BBS's config file:  ../
Title: Re: PHPBB versions prior to 2.0.18
Post by: TexAcoon on December 20, 2005, 03:33:35 AM
Thanks Nibbler!

That stopped the "fatal error" issue and seemed to work. (I thought)

I noticed the program does not acknowledge my login name as the administrator from the PHPBB config file or did not notice me as an "administrator".

I would CLICK ON the back button to bring me back to "enable" or "disable" feature of the bridge. Then go ahead and "disable" the bridge to allow me to work the program. 
However, when I would disable the program it would show me "admin" being logged in.

Decided to add my PHPBBS to the "USERS" to included my "PHPBB" login and set permissions to "administrators". 

Select the "bridge" to "enable", still would not provide me admin access.

Would there be any files I may need to modify to adjust this issue?

Happy Holidays ...
Title: Re: phpBB versions prior to 2.0.18
Post by: Nibbler on December 20, 2005, 03:59:33 AM
Update to the latest udb_base.inc.php (http://cvs.sourceforge.net/viewcvs.py/*checkout*/coppermine/stable/bridge/udb_base.inc.php) and phpbb.inc.php (http://cvs.sourceforge.net/viewcvs.py/*checkout*/coppermine/stable/bridge/phpbb.inc.php) from CVS.
Title: Re: phpBB versions prior to 2.0.18
Post by: TexAcoon on December 20, 2005, 04:15:28 AM
Thanks again for a "VERY" quick reply..... WOW!

Downloaded the two php files and uploaded to server. 

Enabled the "bridge" to my PHPBB, unfortunately no luck establishing continuity between PHPBB "login" to CPG.

Title: Re: phpBB versions prior to 2.0.18
Post by: Nibbler on December 20, 2005, 04:31:57 AM
Your forum's cookie name has forward slashes in it. I don't think that's a valid character. Give it a plain name, and set the same name in the bridge manager.
Title: Re: phpBB versions prior to 2.0.18
Post by: TexAcoon on December 20, 2005, 06:55:40 PM
Not sure on the previous post..  Below is a copy of my current settings.

Forum URL:  http://www.amadistrictii.org/amad2 
Relative path to your BBS's config file:  ../ 
Use post-based groups?:  1 
Cookie prefix:  phpbb2mysql 

The BB Cookie Preference, "phpbb2mysql" is what I believe you were referring to.  I looked into the PHP INFO to determine the cookie prefix, and did not see anything relevant to mysql.

Title: Re: phpBB versions prior to 2.0.18
Post by: Nibbler on December 20, 2005, 07:01:28 PM
phpbb2mysql isn't the cookie name you are using though. You have it set to /amadist/, hence my advice to set it correctly.
Title: Re: phpBB versions prior to 2.0.18
Post by: TexAcoon on December 20, 2005, 09:39:03 PM
Nibbler!

"Your the greatest!" ... 

YUP! .. it worked like a champ! ... it is now integrated with the PHPBB! ...

Thanks so much! ...  Happy Holidays! ...