Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()  (Read 10207 times)

0 Members and 1 Guest are viewing this topic.

gateway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40

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..
« Last Edit: February 02, 2006, 09:16:18 pm by Nibbler »
Logged

gateway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
« Reply #2 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..

Logged

gateway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
« Reply #3 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
Logged

Nibbler

  • Guest
Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
« Reply #4 on: February 02, 2006, 06:57:35 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.
Logged

gateway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
« Reply #5 on: February 02, 2006, 07:02:34 pm »

sorry..

ok that worked..
Logged

gateway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
« Reply #6 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
Logged

gateway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
« Reply #8 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.. :(

Logged

Nibbler

  • Guest
Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
« Reply #9 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).
Logged

gateway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
« Reply #10 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 ?



Logged

Nibbler

  • Guest
Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
« Reply #11 on: February 02, 2006, 08:28:54 pm »

See what happens if you delete the config.php file from your Coppermine directory.
Logged

gateway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
« Reply #12 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
Logged

Nibbler

  • Guest
Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
« Reply #13 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.

Code: [Select]
// Switch that allows overriding the bridge manager with hard-coded values
define('USE_BRIDGEMGR', 1);
Logged

gateway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
« Reply #14 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?
Logged

Nibbler

  • Guest
Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
« Reply #15 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
Logged

krystalblue

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
« Reply #16 on: February 13, 2006, 04:54:27 am »

Issue was solved.
« Last Edit: February 13, 2006, 06:24:31 am by krystalblue »
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.