coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: pea32ant on March 02, 2006, 12:35:54 PM

Title: Failed opening required 'bridge/.inc.php'
Post by: pea32ant on March 02, 2006, 12:35:54 PM
THIS IS FULL ERROR CODE:
Fatal error: main(): Failed opening required 'bridge/.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/www/bcic/kotlin/gallery/include/init.inc.php on line 234

I can't login as admin. (Gallery was in offline mode)
I can't disable bridging.

please help

Gallery 1.44
PHBB 2.0.19
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: Nibbler on March 02, 2006, 03:45:59 PM
Hardcode this line in init.inc.php

define('UDB_INTEGRATION', $BRIDGE['short_name']);

to

define('UDB_INTEGRATION', 'phpbb2018');

That should fix up the gallery. Then re-run the bridge manager. After that reverse the code change and it should be back to normal.
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: pea32ant on March 02, 2006, 06:40:33 PM
added but got next error:

Fatal error: Cannot redeclare cpggetmicrotime() (previously declared in /home/www/bcic/kotlin/gallery/include/init.inc.php:35) in /home/www/bcic/kotlin/gallery/include/init.inc.php on line 33
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: Nibbler on March 02, 2006, 07:05:15 PM
What did you set as the relative path to your BBS when you setup the bridge ?
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: Joachim Müller on March 02, 2006, 07:29:08 PM
 ::) This nice person "pea32ant" sent me a PM requesting help although he's getting help here by the expert on his issue. What a karma booster...
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: pea32ant on March 02, 2006, 08:37:19 PM
to GAUGAU:
Sorry, I searhed everywhere, you was first... Sorry for my PM. If I knew...


relative path to BBS:
./forum
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: pea32ant on March 03, 2006, 09:25:45 AM
How can I disable bridging by modifying mysql database?
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: Joachim Müller on March 03, 2006, 09:28:48 AM
if you can't log in as admin and modify coppermine's config using the coppermine user interface, then use a third-party tool like phpMyAdmin (http://www.phpmyadmin.net/)
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: pea32ant on March 03, 2006, 09:46:22 AM
of course I used PHPmyADMIN

I set bridge_enable to 0

but stiil got error
Fatal error: Cannot redeclare cpggetmicrotime() (previously declared in /home/www/bcic/kotlin/gallery/include/init.inc.php:35) in /home/www/bcic/kotlin/gallery/include/init.inc.php on line 33

Title: Re: Failed opening required 'bridge/.inc.php'
Post by: Joachim Müller on March 03, 2006, 09:48:10 AM
link?
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: pea32ant on March 03, 2006, 09:51:46 AM
Administrators group_id - 1
User_group - 1
User_active - YES
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: pea32ant on March 03, 2006, 09:53:31 AM
gallery is here:

http://www.kotlin.ru/gallery/
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: Joachim Müller on March 03, 2006, 10:00:14 AM
did you upgrade from a previous version or is this this a fresh cpg1.4.4 install? In case it's an upgrade, make sure that you have updated all your files.
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: pea32ant on March 03, 2006, 10:45:42 AM
this was upgrade from 1.43

of course i made update of all files
and was running UPDATE.PHP
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: pea32ant on March 04, 2006, 01:13:56 AM
but still can't login
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: Joachim Müller on March 04, 2006, 06:56:57 AM
get a fresh cpg1.4.4 package from a different mirror and re-upload. Make sure your FTP client is set to replace existing files. Make sure to upload in the proper FTP mode.
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: pea32ant on March 04, 2006, 11:46:05 AM
OK, I'll try.

but if this error again?
maybe operation MICROCODE is not supported by server?...
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: Joachim Müller on March 05, 2006, 01:26:20 AM
the error message you got means that the function has been defined twice, it does not mean that the function name is not allowed. Try my suggestion and post the results, no need to worry now before having tried.
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: pea32ant on March 06, 2006, 10:29:01 AM
SOLVED!

Sorry for my stupid things...

THANK YOU VERY MUCH!!!!
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: Joachim Müller on March 06, 2006, 10:34:35 AM
it would help others if you posted what you did wrong and/or what you did to solve this issue.
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: ghost_ on October 18, 2008, 09:19:48 PM
grr me too have same error and can't fix it

Fatal error: Cannot redeclare cpggetmicrotime() (previously declared in /home/public_html/forum/gallery/include/init.inc.php:35) in /home/public_html/forum/gallery/include/init.inc.php on line 33
Title: Re: Failed opening required 'bridge/.inc.php'
Post by: Joachim Müller on October 19, 2008, 02:39:01 PM
When requesting bridge support - mandatory! (http://forum.coppermine-gallery.net/index.php/topic,24032.0.html)
Do that in a thread of your own. Locking