I've just had another try at configuring this mod but with the update installed I'm getting the following when I select "update/add groups":
- Code: Select all
Notice: Undefined variable: dbhost in /var/www/htmlxyzzy/roster/addons/phpbb_groups/index.php on line 142
Notice: Undefined variable: dbuser in /var/www/htmlxyzzy/roster/addons/phpbb_groups/index.php on line 142
Notice: Undefined variable: dbpasswd in /var/www/htmlxyzzy/roster/addons/phpbb_groups/index.php on line 142
Notice: Undefined variable: dbname in /var/www/htmlxyzzy/roster/addons/phpbb_groups/index.php on line 142
Notice: Undefined variable: table_prefix in /var/www/htmlxyzzy/roster/addons/phpbb_groups/index.php on line 144
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/htmlxyzzy/roster/lib/wowdb.php on line 136
My roster and phpbb are in the same database. The groups and pointers tables have been created in the same database during installation.
Here are my phpbb group names: GuildMembers, GuildVeterans, GuildOfficers, GuildUpdaters, GuildWebsite and Uploaders.
I've set
- Code: Select all
// phpBB Group Prefix
$addon_conf['phpBB_Groups']['group_prefix'] = "Guild";
If I select "Update/Add Pointers" then click on "submit" I get the above error messages, and the "Rank Groups" dialogue box is empty except for "Add Another" and "Save". If I then if I click on "Add Another" I get a pull down list of all the ranks in my wowroster which match my wow level names (Guild Master, General, Veteran, Member, Service Toon, Alt, Initiate), but in the pull down for phpbb there are no entries.
It seems like it's just not picking up the database connection with my phpbb database config file? I know it is finding the php conf file because if I edit
- Code: Select all
// phpBB install directory, relative to the roster install directory
$addon_conf['phpBB_Groups']['phpbb_dir'] = "../bb/";
to be
- Code: Select all
// phpBB install directory, relative to the roster install directory
$addon_conf['phpBB_Groups']['phpbb_dir'] = "/bb/";
it complains that
- Code: Select all
Unable to open phpBB configuration file, please check 'conf.php' in the addon directory and try again
I tried setting
- Code: Select all
// phpBB Group Prefix
$addon_conf['phpBB_Groups']['group_prefix'] = "";
but i get the same result.
It really feels like something is going wrong when it is trying to connect to my phpbb database as specificed in my phpbb config.php file:
- Code: Select all
<?php
$dbms = 'mysql4';
$dbhost = 'localhost';
$dbname = 'SAME_DATABASE_NAME_AS_WOWROSTER_AND_PHPBB';
$dbuser = 'VALID_DB_USERNAME';
$dbpasswd = 'VALID_DB_PASSWORD';
$table_prefix = 'phpbb_';
define('PHPBB_INSTALLED', true);
?>
Arc.