forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: abad on December 29, 2006, 06:59:55 pm

Title: CPG 1.4.10 and PHPBB 2.0.22 help
Post by: abad on December 29, 2006, 06:59:55 pm
Hello,
I want to integrate CPG 1.4.10 and PHPBB 2.0.22 with the help "bridge".
But for any reasons at me the mistake leaves at end of integration, help please to understand.
Mistake " Fatal error: Cannot redeclare cpggetmicrotime () (previously declared in x:\home\foto.mydomen.ru\www\include\init. inc.php:35) in x:\home\foto.mydomen.ru\www\include\init. inc.php on line 33 "
CPG 1.4.10 - Is to the address -foto.mydomen.ru
PHPBB 2.0.22 - Is to the address -forum.mydomen.ru
Can be because of that what they are on different addresses there is a mistake?
Prompt as to correct.
Beforehand is grateful!
Title: Re: CPG 1.4.10 and PHPBB 2.0.22 help
Post by: Nibbler on December 29, 2006, 09:06:54 pm
http://forum.coppermine-gallery.net/index.php?topic=24032.0

You have set the relative path to your BBS incorrectly.
Title: Re: CPG 1.4.10 and PHPBB 2.0.22 help
Post by: abad on December 30, 2006, 10:55:33 am
I have the following issue when trying to bridge coppermine and XXX:
[error message here]

Coppermine install: http://foto.mydomen.ru
Forum install: http://forum.mydomen.ru
Coppermine version: cpg1.4.10
Forum version: PHPBB 2.0.22 
Test user account: it is in localhost

BridgeManager settings:
Forum URL:  http://forum.abad.ru
Relative path to your BBS's config file:  ./ 
Use post-based groups?:  0
Cookie name/preifx (if applicable)
Title: Re: CPG 1.4.10 and PHPBB 2.0.22 help
Post by: Nibbler on December 30, 2006, 12:32:13 pm
Set it to whatever the relative path from your gallery to your forum on your filesystem. ./ is meaningless here
Title: Re: CPG 1.4.10 and PHPBB 2.0.22 help
Post by: abad on January 02, 2007, 09:21:34 am
All the same even if to not register./ Nothing changes.
That in general can cause that they that a forum and gallery are located on different
domen???
Title: Re: CPG 1.4.10 and PHPBB 2.0.22 help
Post by: Joachim Müller on January 02, 2007, 10:10:38 am
As Nibbler suggested, this is related to the way sub-domains are setup on your webserver. Usually, sub-domains are represented by folders within the the folder that represents your webroot. If this is the case (i.e. your forum is located at /foo/bar/your_web_root/forum/ and your gallery at /foo/bar/your_web_root/gallery/, then the relative path would be ../forum).
So we can't actually help you with this, you will have to understand how relative and absolute paths work (look those terms up by googling for definitions in your language) and how your webserver actually is set up. If you have no idea about this, ask your webhost for support.