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] 2   Go Down

Author Topic: Failed opening required 'bridge/.inc.php'  (Read 15374 times)

0 Members and 1 Guest are viewing this topic.

pea32ant

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • my town photogallery
Failed opening required 'bridge/.inc.php'
« 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
« Last Edit: March 06, 2006, 10:34:52 am by GauGau »
Logged

Nibbler

  • Guest
Re: Failed opening required 'bridge/.inc.php'
« Reply #1 on: March 02, 2006, 03:45:59 pm »

Hardcode this line in init.inc.php

Code: [Select]
define('UDB_INTEGRATION', $BRIDGE['short_name']);
to

Code: [Select]
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.
Logged

pea32ant

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • my town photogallery
Re: Failed opening required 'bridge/.inc.php'
« Reply #2 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
Logged

Nibbler

  • Guest
Re: Failed opening required 'bridge/.inc.php'
« Reply #3 on: March 02, 2006, 07:05:15 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Failed opening required 'bridge/.inc.php'
« Reply #4 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...
Logged

pea32ant

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • my town photogallery
Re: Failed opening required 'bridge/.inc.php'
« Reply #5 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
Logged

pea32ant

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • my town photogallery
Re: Failed opening required 'bridge/.inc.php'
« Reply #6 on: March 03, 2006, 09:25:45 am »

How can I disable bridging by modifying mysql database?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Failed opening required 'bridge/.inc.php'
« Reply #7 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
Logged

pea32ant

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • my town photogallery
Re: Failed opening required 'bridge/.inc.php'
« Reply #8 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

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Failed opening required 'bridge/.inc.php'
« Reply #9 on: March 03, 2006, 09:48:10 am »

link?
Logged

pea32ant

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • my town photogallery
Re: Failed opening required 'bridge/.inc.php'
« Reply #10 on: March 03, 2006, 09:51:46 am »

Administrators group_id - 1
User_group - 1
User_active - YES
Logged

pea32ant

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • my town photogallery
Re: Failed opening required 'bridge/.inc.php'
« Reply #11 on: March 03, 2006, 09:53:31 am »

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Failed opening required 'bridge/.inc.php'
« Reply #12 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.
Logged

pea32ant

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • my town photogallery
Re: Failed opening required 'bridge/.inc.php'
« Reply #13 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
Logged

pea32ant

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • my town photogallery
Re: Failed opening required 'bridge/.inc.php'
« Reply #14 on: March 04, 2006, 01:13:56 am »

but still can't login
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Failed opening required 'bridge/.inc.php'
« Reply #15 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.
Logged

pea32ant

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • my town photogallery
Re: Failed opening required 'bridge/.inc.php'
« Reply #16 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?...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Failed opening required 'bridge/.inc.php'
« Reply #17 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.
Logged

pea32ant

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • my town photogallery
Re: Failed opening required 'bridge/.inc.php'
« Reply #18 on: March 06, 2006, 10:29:01 am »

SOLVED!

Sorry for my stupid things...

THANK YOU VERY MUCH!!!!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Failed opening required 'bridge/.inc.php'
« Reply #19 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.
Logged
Pages: [1] 2   Go Up
 

Page created in 0.022 seconds with 19 queries.