Fatal error: Call to undefined function: udb_authenticate() in .... Fatal error: Call to undefined function: udb_authenticate() in ....
 

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]

Main Menu

Fatal error: Call to undefined function: udb_authenticate() in ....

Started by Jamez, January 22, 2005, 03:43:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jamez

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

Jamez


Jamez

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

Joachim Müller

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

Jamez

here we go..

www.modifiedmedway.co.uk/forum
www.modifiedmedway.co.uk/gallery

test : test

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller

merged the two threads you posted, which are caused by the very same thing: using out-of-date files.

Joachim