WoW Raid Manager Defect Tracking System
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000034 [WoW Raid Manager (WRM)] Log Issue major always 2008-08-04 11:02 2008-08-20 15:52
Reporter douglasw View Status public  
Assigned To douglasw
Priority normal Resolution fixed  
Status closed   Product Version HEAD
Summary 0000034: Character Armory Links do not show up in Logs section - Produces Errors
Description Reported by Lore21:

I get the following couple of errors
[phpBB Debug] PHP Notice: in file /web/htdocs/www.theitajob.it/home/_test_/wrm/includes/functions.php on line 134: Missing argument 2 for get_armorychar()
[phpBB Debug] PHP Notice: in file /web/htdocs/www.theitajob.it/home/_test_/wrm/includes/functions.php on line 134: Missing argument 3 for get_armorychar()

for each entry in the "Raid Activity Logs" section of the Logs page.
The errors are printed out at the top of the page, and in the above mentioned section all che character names show up between square brackets ([Character]) and with the "loading icon" in front of them, since no Armory data was fetched due to the errors, i suppose.
-----------------

The issue is that the "language" and "server" are not being passed into the get_armorychar() call.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000046)
douglasw (administrator)
2008-08-04 11:03

@ Line 40 add:

$server = $phpraid_config['guild_server'];


@ Line 308 - 309 Replace:

array_push($raid, sprintf($phprlang['log_raid'],$date,$time,$data['profile_id'],$data_profdetail['username'],$data['ip'],$data['raid_id'],
$raiddatum,$data_raiddetail['location'],$data['type'],$data['char_id'],get_armorychar($data_userdetail['name'])));

With:

array_push($raid, sprintf($phprlang['log_raid'],$date,$time,$data['profile_id'],$data_profdetail['username'],$data['ip'],$data['raid_id'],
$raiddatum,$data_raiddetail['location'],$data['type'],$data['char_id'],get_armorychar($data_userdetail['name'],$phpraid_config['armory_language'],$server)));

In RC2.
(0000078)
douglasw (administrator)
2008-08-20 15:52

Released in v3.5.0 Final

- Issue History
Date Modified Username Field Change
2008-08-04 11:02 douglasw New Issue
2008-08-04 11:02 douglasw Status new => assigned
2008-08-04 11:02 douglasw Assigned To => douglasw
2008-08-04 11:03 douglasw Status assigned => resolved
2008-08-04 11:03 douglasw Fixed in Version => HEAD
2008-08-04 11:03 douglasw Resolution open => fixed
2008-08-04 11:03 douglasw Note Added: 0000046
2008-08-20 15:52 douglasw Status resolved => closed
2008-08-20 15:52 douglasw Note Added: 0000078
2008-08-20 15:52 douglasw Fixed in Version HEAD => 3.5.0


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker