coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: gateway on February 02, 2006, 06:50:57 PM

Title: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
Post by: gateway on February 02, 2006, 06:50:57 PM
warning: adult link
Coppermine install: http://clubstroke.net/forum/photos
Forum install: http://clubstroke.net/forums
Coppermine version: cpg1.4.3
Forum version: phpBB 2.0.19


when i did the bridge and hit save this showed up on the next page

Fatal error: Cannot redeclare cpggetmicrotime() (previously declared in /usr/www/virtual/aquamann/www.clubstroke.net/forum/photos/include/init.inc.php:35) in /usr/www/virtual/aquamann/www.clubstroke.net/forum/photos/include/init.inc.php on line 33

when trying to recover and go to the bridge manager http://www.clubstroke.net/forum/photos/bridgemgr.php I dont see a login and only see that error

now when viewing the forum I get that error and not sure how to recover from this..
Title: Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
Post by: Joachim Müller on February 02, 2006, 06:53:00 PM
http://forum.coppermine-gallery.net/index.php?action=search2;search=Fatal%20error%20Cannot%20redeclare%20cpggetmicrotime
Title: Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
Post by: gateway on February 02, 2006, 06:53:25 PM
update:

I had my browser still open and was able to hit the back button and selecte disable from the bridgmanager option and finish .. so my site
it back up but, their is no way to intergrate with the bridge manager cause ill get the same issue..

Title: Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
Post by: gateway on February 02, 2006, 06:54:58 PM
Forum URL:      http://www.clubstroke.net/forum
Relative path to your BBS's config file:    ../photos/
Use post-based groups?:    0
Cookie prefix:    phpbb2mysql
Enable integration/bridging with phpBB version 2.0.18 or better
Title: Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
Post by: Nibbler on February 02, 2006, 06:57:35 PM
Quote from: gateway on February 02, 2006, 06:54:58 PM
Relative path to your BBS's config file:    ../photos/

That's not the relative path to your BBS config file, that would be ../

Also, don't post adult links without warning.
Title: Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
Post by: gateway on February 02, 2006, 07:02:34 PM
sorry..

ok that worked..
Title: Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
Post by: gateway on February 02, 2006, 07:04:27 PM
I spoke to soon. now when i click on any link on the site i see the same error

Fatal error: Cannot redeclare cpggetmicrotime() (previously declared in /usr/www/virtual/aquamann/www.clubstroke.net/forum/photos/include/init.inc.php:35) in /usr/www/virtual/aquamann/www.clubstroke.net/forum/photos/include/init.inc.php on line 33

i put in

../

as the setting.

Forum URL:      http://www.clubstroke.net/forum
Relative path to your BBS's config file:    ../
Use post-based groups?:    0
Cookie prefix:    phpbb2mysql
Enable integration/bridging with phpBB version 2.0.18 or better
Title: Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
Post by: Joachim Müller on February 02, 2006, 07:11:39 PM
http://forum.coppermine-gallery.net/index.php?action=search2;search=Fatal%20error%20Cannot%20redeclare%20cpggetmicrotime
Title: Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
Post by: gateway on February 02, 2006, 07:50:25 PM
ok im really sorry to post again but i looked at that search link u gave me a few times and their really is no info I
can find that relates to my issue, or that was solved.. it seems like I have the proper settings ? any hint.

sorry im just not seeing the solution in the search.. :(

Title: Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
Post by: Nibbler on February 02, 2006, 07:57:45 PM
The error message is caused by setting the path to Coppermine instead of the path to your BBS in the bridge manager. Verify that it is correctly set to the path to your BBS (ie forum).
Title: Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
Post by: gateway on February 02, 2006, 08:19:01 PM
ok.. just a follow up


my setings are

www.mysite.com/forum  <---- phpbb 2.0.19

cpg is at

www.mysite.com/forum/photos <--- cpg 1.4.3 (note another directory inside the forum dir)

my settings in the bridge are from what i gather ..

Forum URL:      http://www.clubstroke.net/forum
Relative path to your BBS's config file:    ../
Use post-based groups?:    0
Cookie prefix:    phpbb2mysql

meaning realative path is back one dir.. ie back into /forum

so when clicking enable and then finish, i get the cpg time error.

im not sure what other settings i need..

the forum path is right, the bbs path back from the cp dir

/forum/photos (cpg) relative path from what i gather is ../ so into /forum ?



Title: Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
Post by: Nibbler on February 02, 2006, 08:28:54 PM
See what happens if you delete the config.php file from your Coppermine directory.
Title: Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
Post by: gateway on February 02, 2006, 08:56:03 PM
config.php removed from the root of cpg dir

enabled bridge

now I get



Fatal error: phpbb2018_udb(): Failed opening required '../photos/config.php' (include_path='.:/usr/local/lib/php') in /usr/www/virtual/aquamann/www.clubstroke.net/forum/photos/bridge/phpbb2018.inc.php on line 35
Title: Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
Post by: Nibbler on February 02, 2006, 09:00:07 PM
Have you been playing with the USE_BRIDGEMGR flag in the bridge file? If so set it back to 1.


// Switch that allows overriding the bridge manager with hard-coded values
define('USE_BRIDGEMGR', 1);
Title: Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
Post by: gateway on February 02, 2006, 09:14:44 PM
ok that worked.. solved.. thanks guys. u rock with support.

may i ask why i had to delete the config.php out of the root of cpg?
Title: Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
Post by: Nibbler on February 02, 2006, 09:16:03 PM
Just to get a better error message. You don't need it anyway as it is an old file from 1.3
Title: Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
Post by: krystalblue on February 13, 2006, 04:54:27 AM
Issue was solved.