I get this error in the buttons section when I try to use the GuildBank view.
- Code: Select all
Notice: Undefined index: menu_byclass in /home/pcole/public_html/modules/Roster/lib/menu.php on line 114
Notice: Undefined index: menu_alt_page in /home/pcole/public_html/modules/Roster/lib/menu.php on line 117
And these errors can be tracked back to this snippet in lib/menu.php
- Code: Select all
if( $roster_conf['menu_byclass'] )
print ' <li><a href="' . $roster_conf['roster_dir'] . '&s=class">'.$wordings[$roster_conf['roster_lang']]['byclass'].'</a></li>'."\n";
if( $roster_conf['menu_alt_page'] )
print ' <li><a href="' . $roster_conf['roster_dir'] . '&op=indexalt">'.$wordings[$roster_conf['roster_lang']]['alternate'].'</a></li>'."\n";
What is confusing is that I find no reference to anyone else having this problem.. yet in investigating it, I find that this seems to be a problem in both the official 1.7.1 and the phpNuke port from Rahtak (http://www.wowroster.net/Forums/viewtopic/t=709.html)
Anyway.. I figured if the code was correct, then the problem is that the configuration entries are missing from the roster_config table. So I looked into the mysql_structure.sql files from both the phpNuke port and the official 1.7.1.. and did not find them listed.
So now I'm thinking maybe these options weren't supposed to be there at all in lib/menu.php and I should just delete them. Certainly I can find no field set up for similarly described options in the ConfigRoster panels...
Inspecting the lib/menu.php from the official 1.7.1 release does not show these options.. ... But thats not conclusive. I am going to comment this section out but I'm wondering if the fault is due to partial integration of alts-monitor or some other mod in the phpNuke package?