Fatal error: Cannot redeclare cpggetmicrotime() Fatal error: 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

Fatal error: Cannot redeclare cpggetmicrotime()

Started by Photillium_g@dmin, February 23, 2007, 02:33:55 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Photillium_g@dmin

When I attempted to do an integration with phpBB 2.0.20 using CPG 1.4.10 I got this error
message when selecting phpBB 2.0.x or greater as my forum software.

============
Fatal error: Cannot redeclare cpggetmicrotime() (previously declared in /data/hsphere/local/home/pauljc/netboard.pjci.net/photillium/include/init.inc.php:35) in /data/hsphere/local/home/pauljc/netboard.pjci.net/photillium/include/init.inc.php on line 33
============

You cannot access my gallery with a Test account because you cannot access the gallery.
Makes sense? Good.

I deleted the bridge file, tried re-uploading the backups from my hard drive, even re-uploading the entire
/includes folder tree.

I still get the same message.
I cannot even use the ../photillium/admin.php, as I still get the error message.

Why is this happening?
How can I reverse it?
How can access my gallery to go into admin mode to do this?
Do I need re-install the gallery from scratch?

Paul JC
A picture is worth a thousand words.

Photillium_g@dmin

Quote from: Photillium_g@dmin on February 23, 2007, 02:33:55 AM
When I attempted to do an integration with phpBB 2.0.20 using CPG 1.4.10 I got this error
message when selecting phpBB 2.0.x or greater as my forum software.

============
Fatal error: Cannot redeclare cpggetmicrotime() (previously declared in /data/hsphere/local/home/pauljc/netboard.pjci.net/photillium/include/init.inc.php:35) in /data/hsphere/local/home/pauljc/netboard.pjci.net/photillium/include/init.inc.php on line 33
============

You cannot access my gallery with a Test account because you cannot access the gallery.
Makes sense? Good.

I deleted the bridge file, tried re-uploading the backups from my hard drive, even re-uploading the entire
/includes folder tree.

I still get the same message.
I cannot even use the ../photillium/admin.php, as I still get the error message.

Why is this happening?
How can I reverse it?
How can access my gallery to go into admin mode to do this?
Do I need re-install the gallery from scratch?

Paul JC

[no edit message feature? bad devs]

Here is my bridge file: attached
A picture is worth a thousand words.

Nibbler

Quote from: Photillium_g@dmin on February 23, 2007, 02:42:00 AM
[no edit message feature? bad devs]

No, bad users for abusing the feature and forcing its removal.

The message indicates you set the 'relative path to your BBS' to point to Coppermine instead of phpbb either by mistake or by ignorance. Undo the bridge by navigating to bridgemgr.php and then enter the correct value.

Photillium_g@dmin

Quote from: Nibbler on February 23, 2007, 02:45:01 AM
No, bad users for abusing the feature and forcing its removal.

The message indicates you set the 'relative path to your BBS' to point to Coppermine instead of phpbb either by mistake or by ignorance. Undo the bridge by navigating to bridgemgr.php and then enter the correct value.

When I did it within CPG I assumed it would insert the proper relation.


$default_bridge_data['phpbb2018'] = array(
  'full_name' => 'phpBB version 2.0.18 or better',
  'short_name' => 'phpbb2018',
  'support_url' => 'http://www.phpbb.com/',
  'full_forum_url_default' => 'http://netboard.pjci.net',
  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
  'relative_path_to_config_file_default' => '../board/',
  'relative_path_to_config_file_used' => 'lookfor,config.php',
  'use_post_based_groups_default' => '0',
  'use_post_based_groups_used' => 'radio,1,0',
   'cookie_prefix_default' => 'phpbb2mysql',
   'cookie_prefix_used' => 'cookie',
);


It didn't -- it still says the default (../board/). But what doesn not make sense
(and this is not me being ignorant, just to clarify) is that I specified ../ as the
relative path from within the configuration web page. Why didn't it rewrite the
bridgemgr.php to reflect this?

I have sinced edited the file manually to reflect the changes for my Forum and gallery.


$default_bridge_data['phpbb2018'] = array(
  'full_name' => 'phpBB version 2.0.18 or better',
  'short_name' => 'phpbb2018',
  'support_url' => 'http://www.phpbb.com/',
  'full_forum_url_default' => 'http://netboard.pjci.net',
  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
  'relative_path_to_config_file_default' => '../photillium',
  'relative_path_to_config_file_used' => 'lookfor,config.php',
  'use_post_based_groups_default' => '0',
  'use_post_based_groups_used' => 'radio,1,0',
   'cookie_prefix_default' => 'Photillium_CPG',
   'cookie_prefix_used' => 'cookie',
);


.. and I still get this message.

The forum is http://netboard.pjci.net/
The gallery is located at  http://netboard.pjci.net/photillium
The gallery cookie is Photillium_CPG

So I;ve gone to the Emergency page and disabled the bridgeing, for now. With your wisdom can
you (kindly), using the information I gave you, tell what information to place where?

I really would like integrate your software with my forum. Thank you.

Paul
A picture is worth a thousand words.

Nibbler

Stop editing files and follow the instructions.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#integrating_steps_start

The correct relative path according to your setup is ../

Photillium_g@dmin

Sigh...

Quote from: Nibbler on February 23, 2007, 03:16:32 AM
The correct relative path according to your setup is ../
This is all I needed. Just an answer to my question.


Not this:
Quote
Stop editing files and follow the instructions.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#integrating_steps_start

If I seemed rude to you in my last reply it was because you gave me the feeling
that you were communicating to me as though I were a complete idiot who has
no business using this software or being anywhere near a computer.
But I'm sure that was not the case.

You're just stressed from having to answer these kinds of questions 24/7.

That said, thank you for answering my question.
A picture is worth a thousand words.