Thanks for an addon I've been wishing would exists...now if I could only get it to work ;-)
My setup is this:
PHPNuke 7.9 with it's included phpBB 2.0.17
Roster 1.7.3
Database where PHPNuke/phpBB and Roster resides: subscrib_nuke1
PHPNuke/phpBB access is with subscrib_nuke1
Roster access is with subscrib_roster
Both users have ALL privileges to subscrib_nuke1
Roster is installed in /roster
phpBB is installed in /modules/Forums
Addon is installed in /roster/addon/pbpBB
I've changed $phpbb_dir from '../.' to '../modules/Forums/.' in conf.php
/modules/Forums/config.php includes ../../mainfile.php
../../mainfile.php subsequently does a require_once on ./config.php (which is the config.php at the root of the site)
./config.php contains this:
$dbhost = "localhost";
$dbuname = "subscrib_nuke1";
$dbpass = "asifiwouldtelltheworldmygarbledpassword";
$dbname = "subscrib_nuke1";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
The error I get is this:
Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'subscrib'@'localhost' (using password: NO) in /home/subscrib/public_html/guild-succession.com/modules/Forums/db/mysql4.php on line 48
Failed to connect to your phpBB database. Verify the settings in conf.php
The thing that puzzles me is that the errormessage talks about 'subscrib'@'localhost' instead of 'subscrib_nuke1'@'localhost' which $dbuname specifies in config.php
Another thing is that it says "using password: NO" even if $dbpass is specified in config.php