May be related to:
http://forum.coppermine-gallery.net/index.php?topic=15421.msg71842#msg71842
I was getting the following when trying to setup a bridge to SMF.
Fatal error: main() [function.require]: Failed opening required 'udb_base.inc.php' (include_path='.:/usr/lib/php') in /home/cpg-contrib/public_html/bridge/smf10.inc.php on line 26
PHP Version 5.0.3
register_long_arrays On On
I had to hard-code the location to udb_base.inc.php to get it to work.
require '/home/cpg-contrib/public_html/bridge/udb_base.inc.php';
Coppermine is setup in the root: /home/cpg-contrib/public_html
SMF is setup in a directory under the root: /home/cpg-contrib/public_html/board
Your bridge settings
Forum URL: http://cpg-contrib.org/board
Relative path to your BBS's config file: board/
Use post-based groups?: 1
Did you try:
require 'bridge/udb_base.inc.php';
It works both ways for me, which is odd.
Also try var_dump(getcwd()); in the bridge file to check the cwd is as it should be.
CPG at localhost/devel
SMF at localhost/smf
PHP 5.1
*bump*
require 'bridge/udb_base.inc.php';
Works fine.
Looks like that is default in coppermine.inc.php.
Should I go through and update all of the bridge files to 'bridge/udb_base.inc.php' ?
yes, please go ahead.
Joachim
committed, marking fixed.