Register & unregister globals from 2 different DBs? (1 post)

  1. CounterDax
    Posted 9 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic