Failed opening required 'bridge/.inc.php' Failed opening required 'bridge/.inc.php'
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Failed opening required 'bridge/.inc.php'

Started by pea32ant, March 02, 2006, 12:35:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pea32ant

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

Nibbler

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.

pea32ant

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

Nibbler

What did you set as the relative path to your BBS when you setup the bridge ?

Joachim Müller

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

pea32ant

to GAUGAU:
Sorry, I searhed everywhere, you was first... Sorry for my PM. If I knew...


relative path to BBS:
./forum

pea32ant

How can I disable bridging by modifying mysql database?

Joachim Müller

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

pea32ant

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


Joachim Müller


pea32ant

Administrators group_id - 1
User_group - 1
User_active - YES

pea32ant


Joachim Müller

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.

pea32ant

this was upgrade from 1.43

of course i made update of all files
and was running UPDATE.PHP

pea32ant


Joachim Müller

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.

pea32ant

OK, I'll try.

but if this error again?
maybe operation MICROCODE is not supported by server?...

Joachim Müller

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.

pea32ant

SOLVED!

Sorry for my stupid things...

THANK YOU VERY MUCH!!!!

Joachim Müller

it would help others if you posted what you did wrong and/or what you did to solve this issue.