cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime() cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()
 

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]

Main Menu

cpg 1.4.3 and php 2.0.19 issues. - Cannot redeclare cpggetmicrotime()

Started by gateway, February 02, 2006, 06:50:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gateway

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..


gateway

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..


gateway

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

Nibbler

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.


gateway

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


gateway

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.. :(


Nibbler

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).

gateway

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 ?




Nibbler

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

gateway

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

Nibbler

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);

gateway

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?

Nibbler

Just to get a better error message. You don't need it anyway as it is an old file from 1.3

krystalblue

Issue was solved.