Support » Fixing WordPress » Register & unregister globals from 2 different DBs?

  • Hi all!
    I want to use punBB as a forum but want to have access to the punBB DB on my WordPress website (so I can give people notifications of them being logged in, et cetera). So, I define the punBB DB:

    define('PUN_ROOT', './../../../forum/');
    require PUN_ROOT.'include/common.php';

    However, I get the following error:

    Fatal error: Cannot redeclare unregister_globals()
    (previously declared in [...]wp-settings.php:4) in
    [..]forum/include/functions.php on line 1047

    So I have a conflict between the global vars (maybe even the DBs) and I was wondering whether someone has a workaround for this.

  • The topic ‘Register & unregister globals from 2 different DBs?’ is closed to new replies.