Hi All,
Just bridged phpbb to coppermine and thought it was going well untill i got ...
"Fatal error: Call to undefined function: udb_authenticate() in /home/fzxhmrbe/public_html/gallery/include/init.inc.php on line 256"
my forum is http://www.modifiedmedway.co.uk/index.php
gallery is http://www.modifiedmedway.co.uk/gallery
you will see the error when you go to the gallery.
this is my phpbb.inc.php
// database configuration
define('PHPBB_DB_NAME', 'fzxhmrbe_phpb1'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'fzxhmrbe'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', '*****'); // The password to use to connect to the database
// The web path to your phpBB directory
// If your URL to your board is for example 'http://yoursite_name.com/phpBB2/',
// you'll have to set the below var to '/phpBB2/'.
define('PHPBB_WEB_PATH', '/index.php');
// Logout Flag
// the value of this boolean constant depends on your phpBB version:
// If your version of phpBB is 2.0.4 or lower - change the value to FALSE;
// if your version of phpBB is 2.0.5 or newer - leave it as TRUE
define('PHPBB_LOGOUT_GET', TRUE);
// ------------------------------------------------------------------------- //
// You can keep the default values below if your instalation is standard
// ------------------------------------------------------------------------- //
// The prefix for the phpBB cookies
define('PHPBB_COOKIE_PREFIX', 'phpbb2mysql'); // The prefix used for board cookies
// Prefix and names for the database tables
define('PHPBB_TABLE_PREFIX', 'phpbb_'); // The prefix used for the DB tables
define('PHPBB_USER_TABLE', 'users'); // The members table
define('PHPBB_SESSION_TABLE', 'sessions'); // The session table
define('PHPBB_GROUP_TABLE', 'groups'); // The groups table
define('PHPBB_UGROUP_TABLE', 'user_group'); // The group/user table
This is my init.inc.php
define('COPPERMINE_VERSION', '1.3.2');
// User database integration
// Uncomment the applicable line if you want to use it
define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
// Start output buffering
ob_start();
// Report all errors except E_NOTICE
// This is the default value set in php.ini
// error_reporting (E_ALL ^ E_NOTICE);
error_reporting(E_ALL);
this is my cpg_redir.php
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/gallery/';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>
Can anybody shed some light on my problem?! thanks..
not to worry, ive sorted it now!! :D
Hi All
just installed coppermine, and integrated it with phpbb and all is fine. Apart from when in admin mode on the gallery, if i click "users" i get a page saying
Fatal error: Call to undefined function: udb_edit_users() in /home/fzxhmrbe/public_html/gallery/usermgr.php on line 26
just wondering whats wrong with this ? thanks
attach your version of the bridge file phpbb.inc.php to your posting (using "Advanced options" when composing your reply). Make sure to rename it from phpbb.inc.php to phpbb.inc.php.txt (so you can actually attach it) and then edit your txt file before uploading and replace your db password with asterisks (this is important!). A have the feeling there's something fishy with your bridge file. Post a link to your site and a test user account (non-admin) as well.
Joachim
here we go..
www.modifiedmedway.co.uk/forum
www.modifiedmedway.co.uk/gallery
test : test
You modified the bridge file and removed the udb_edit_users function. You should download the 1.3.2 zip and upload the original phpbb bridge file. That's probably why your original bridge problem happened also.
merged the two threads you posted, which are caused by the very same thing: using out-of-date files.
Joachim