PacketFence - BTS - PacketFence
View Issue Details
0001321PacketFenceweb adminpublic2011-10-31 21:472012-06-15 10:05
Mohamed MP 
obilodeau 
lowminorunable to reproduce
closedno change required 
3.0.2 
 
0001321: Usage: pfcmd ui menus
Warning : Invalid argument supplied for foreach() in /usr/local/pf/html/admin/common.php on line 776

Warning : Invalid argument supplied for foreach() in /usr/local/pf/html/admin/common.php on line 732

Warning : Invalid argument supplied for foreach() in /usr/local/pf/html/admin/common.php on line 104
RedHat 5.3 with Packetfence 3.0.2 , Could not able to view the Dashboard
No tags attached.
jpg Untitled.jpg (152,089) 2011-10-31 21:47
https://www.packetfence.org/bugs/file_download.php?file_id=118&type=bug
jpg
Issue History
2011-10-31 21:47Mohamed MPNew Issue
2011-10-31 21:47Mohamed MPFile Added: Untitled.jpg
2011-11-01 08:57obilodeauNote Added: 0002411
2011-11-01 08:57obilodeauAssigned To => obilodeau
2011-11-01 08:57obilodeauStatusnew => feedback
2011-11-01 08:58obilodeauPrioritynormal => low
2011-11-01 08:58obilodeauReproducibilityalways => unable to reproduce
2011-11-02 10:02obilodeauNote Added: 0002419
2011-11-02 10:17obilodeauNote Added: 0002421
2012-06-15 10:05obilodeauNote Added: 0002796
2012-06-15 10:05obilodeauStatusfeedback => closed
2012-06-15 10:05obilodeauResolutionopen => no change required

Notes
(0002411)
obilodeau   
2011-11-01 08:57   
What output do you get when you run each of the following commands? Please paste ALL output:

ls -l /usr/local/pf/conf/ui.conf
md5sum /usr/local/pf/conf/ui.conf
/usr/local/pf/bin/pfcmd ui menus


Thanks,
(0002419)
obilodeau   
2011-11-02 10:02   
The person replied directly to email sender:

Please find the output of the command,
[root@lotusnac ~]# ls -l /usr/local/pf/conf/ui.conf
-rw-r--r-- 1 pf pf 17708 Oct 25 03:55 /usr/local/pf/conf/ui.conf
[root@lotusnac ~]# md5sum /usr/local/pf/conf/ui.conf
244533dfdcc2991227624413a0378aee  /usr/local/pf/conf/ui.conf
[root@lotusnac ~]# /usr/local/pf/bin/pfcmd ui menus
ui|status='Status':person='Person':node='Node':violation='Violation':administration='Administration':configuration='Configuration'

ui|status|dashboard='Dashboard':reports='Reports':graphs='Graphs'
ui|person|view='View':add='Add':lookup='Lookup':guests='Manage guests'
ui|node|view='View':categories='Categories':lookup='Lookup':add='Add':import='Import':useragent='User-Agent':accounting='accounting'

ui|violation|view='View':add='Add'
ui|configuration|main='Main':interfaces='Interfaces':networks='Networks':switches='Switches':floatingnetworkdevice='Floating 
Network Device':violation='Violation':fingerprint='Fingerprint':useragent='User-Agent':captive-portal='Captive 
Portal'
ui|configuration|captive-portal|remediation='Remediation Templates'
ui|status|reports|ipmachistory='IP - MAC History':locationhistoryswitch='Location History (switch)':locationhistorymac='Location 
History (MAC)':ifoctetshistoryswitch='Accounting (switch)':ifoctetshistorymac='Accouting (MAC)':ifoctetshistoryuser='Accouting 
(User)':active='Active':inactive='Inactive':registered='Registered':unregistered='Unregistered':os='OS':osclass='OS 
Class':unknownprints='Unknown Fingerprints':unknownuseragents='Unknown User-Agents':openviolations='Open 
Violations':statics='Probable Static IPs':connectiontype='Connection-Type (All)':connectiontypereg='Connection-Type 
(Registered)':ssid='SSID'
ui|administration|services='Services':logs='Logs':adduser='Add User':ui_options='UI Options'
ui|status|graphs|unregistered='Unregistered Nodes':violations='Violations':nodes='Total Nodes':ifoctetshistoryswitch='Accounting 
(Switch)':ifoctetshistorymac='Accounting (MAC)':ifoctetshistoryuser='Accounting (User)':traps='SNMP Traps'

ui|status|nuggets|recent_violations='Recent Violations':recent_violations_opened='Recent Open Violations':recent_violations_closed='Recent 
Closed Violations':recent_registrations='Recent Registrations':current_grace='Current Grace':current_activity='Current 
Activity':current_node_status='Current Node Status'
ui|person|add|pid*='Identifier':firstname='Firstname':lastname='Lastname':email='Email':telephone='Phone':company='Company':address='Address':notes='Notes':sponsor='Sponsor'

ui|person|view|pid*='Identifier':firstname='Firstname':lastname='Lastname':email='Email':telephone='Phone':company='Company':address='Address':notes='Notes':sponsor='Sponsor'

ui|person|edit|pid*='Identifier':firstname='Firstname':lastname='Lastname':email='Email':telephone='Phone':company='Company':address='Address':notes='Notes':sponsor='Sponsor'

ui|person|delete|pid*='Identifier':firstname='Firstname':lastname='Lastname':email='Email':telephone='Phone':company='Company':address='Address':notes='Notes':sponsor='Sponsor'

ui|node|delete|mac*='MAC':pid='Identifier':category='Category':status='Status':voip='VoIP':bypass_vlan='bypass_vlan':detect_date='Detect 
Date':regdate='Reg Date':unregdate='Unreg Date':computername='Computer Name':user_agent='Agent':notes='Notes':last_arp='Arp 
Time':last_dhcp='DHCP Time':dhcp_fingerprint='OS':lastskip='Lastskip'
ui|node|add|mac*='MAC':pid='Person Identifier':category='Category':status='Status':-voip='VoIP':-bypass_vlan='Bypass 
VLAN':-detect_date='Detect Date':-regdate='Reg Date':-unregdate='Unreg Date':-computername='Computer 
Name':-user_agent='Agent':-notes='Notes':-last_arp='Arp Time':-last_dhcp='DHCP Time':-dhcp_fingerprint='OS':-lastskip='Lastskip'

ui|node|categories|category_id='id':name='Name':notes='Notes'
ui|nodecategory|view|category_id='id':name='Name':notes='Notes'
ui|nodecategory|edit|name='Name':notes='Notes'
ui|node|view|mac*='MAC':computername='Computer Name':pid='Identifier':category='Category':status='Status':bypass_vlan='Bypass 
VLAN':nbopenviolations='# Viol.':voip='VoIP':detect_date='Detect Date':regdate='Reg Date':unregdate='Unregdate':last_connection_type='Last 
connection':last_switch='Last Switch':last_port='Last Port':last_vlan='Last VLAN':last_ssid='Last SSID':last_dot1x_username='Last 
802.1X Username':user_agent='User-Agent':dhcp_fingerprint='OS (dhcp)':last_arp='Last Arp Time':last_dhcp='Last 
DHCP Time':lastskip='Lastskip':notes='Notes'
ui|node|edit|mac*='MAC':pid='Identifier':category='Category':status='Status':voip='VoIP':bypass_vlan='Bypass 
VLAN':detect_date='Detect Date':regdate='Reg Date':unregdate='Unregdate':computername='Computer Name':user_agent='User-Agent':notes='Notes':last_arp='Last 
Arp Time':last_dhcp='Last DHCP Time':dhcp_fingerprint='OS (dhcp)':-lastskip='Last skip'
ui|node|useragent|mac*='MAC':browser='Identified Browser':os='Identified OS':device_name='Device':device='is 
a device':mobile='is a mobile':user_agent='Raw User-Agent'
ui|node|accounting|mac*='MAC':status='Status':acctstarttime='Session Start':acctterminatecause='Terminate 
Cause':nasipaddress='Switch IP':nasportid='Switch Port':nasporttype='Connection Type':acctinput='Downloaded':acctoutput='Uploaded':accttotal='Total'

ui|switchlocation|view|switch='Switch':port='Port':start_time='Start':end_time='End':location='Location':description='Description'

ui|violation|add|-id='ID':mac='MAC':vid='Identifier':-start_date='Start Date':-release_date='Release 
Date':status='Status':notes='Notes'
ui|violation|view|id*='ID':mac='MAC':computername='Computer Name':status='Status':vid='Description':start_date='Start 
Date':release_date='Release Date':notes='Notes'
ui|configuration|violation|vid='Identifier':desc='Description':enabled='Enabled':auto_enable='Auto Enable':actions='Actions':max_enable='Max 
Enables':grace='Grace':priority='Priority':url='URL':button_text='Button Text':trigger='Trigger':vlan='Target 
VLAN':whitelisted_categories='Whitelisted categories'
ui|configuration|violation|add|vid='Identifier':desc='Description':enabled='Enabled':auto_enable='Auto 
Enable':actions='Actions':max_enable='Max Enables':grace='Grace':priority='Priority':url='URL':button_text='Button 
Text':trigger='Trigger':vlan='Target VLAN':whitelisted_categories='Whitelisted categories'
ui|configuration|fingerprint|id='ID':classid='OS Class ID':class='OS Class':os='Operating System':fingerprint='Fingerprint'

ui|configuration|useragent|id='ID':property='Property':description='Description'
ui|configuration|interfaces|interface='Interface':ip='IP':mask='Netmask':type='Type':gateway='Gateway'

ui|configuration|networks|type='Type':network='Network':named='Named':dhcpd='Dhcpd':netmask='Netmask':gateway='Clients 
Gateway':next_hop='Gateway to remote VLAN':domain-name='DomainName':dns='DNS':dhcp_start='DHCP start':dhcp_end='DHCP 
end':dhcp_default_lease_time='Def Lease':dhcp_max_lease_time='Max Lease'
ui|configuration|switches|ip='IP':type='Type':mode='Mode':VoIPEnabled='VoIP':vlans='Vlans':normalVlan='Normal 
VLAN':registrationVlan='Registration VLAN':isolationVlan='Isolation VLAN':macDetectionVlan='MAC Detect 
VLAN':guestVlan='Guest VLAN':voiceVlan='Voice VLAN':customVlan1='Custom VLAN 1':customVlan2='Custom VLAN 
2':customVlan3='Custom VLAN 3':customVlan4='Custom VLAN 4':customVlan5='Custom VLAN 5':uplink='Uplinks':cliTransport='CLI 
Transport':cliUser='CLI User':cliPwd='CLI Passwd':cliEnablePwd='CLI Enable Passwd':wsTransport='Web Services 
Transport':wsUser='Web Services User':wsPwd='Web Services Password':SNMPVersionTrap='SNMP Trap Version':SNMPCommunityTrap='SNMP 
Trap Community':SNMPUserNameTrap='SNMP Username Trap':SNMPAuthProtocolTrap='SNMP AuthProto Trap':SNMPAuthPasswordTrap='SNMP 
AuthPass Trap':SNMPPrivProtocolTrap='SNMP PrivProto Trap':SNMPPrivPasswordTrap='SNMP PrivPass Trap':SNMPVersion='SNMP 
Version':SNMPCommunityRead='SNMP Read Community':SNMPCommunityWrite='SNMP Write Community':SNMPEngineID='SNMP 
Engine ID':SNMPUserNameRead='SNMP Username Read':SNMPAuthProtocolRead='SNMP AuthProto Read':SNMPAuthPasswordRead='SNMP 
AuthPass Read':SNMPPrivProtocolRead='SNMP PrivProto Read':SNMPPrivPasswordRead='SNMP PrivPass Read':SNMPUserNameWrite='SNMP 
Username Write':SNMPAuthProtocolWrite='SNMP AuthProto Write':SNMPAuthPasswordWrite='SNMP AuthPass Write':SNMPPrivProtocolWrite='SNMP 
PrivProto Write':SNMPPrivPasswordWrite='SNMP PrivPass Write':radiusSecret='RADIUS Secret':controllerIp='Controller 
IP':macSearchesMaxNb='MAC Searches Max':macSearchesSleepInterval='MAC Searches Sleep'
ui|configuration|floatingnetworkdevice|floatingnetworkdevice='MAC address':ip='IP (for reference only)':trunkPort='Trunk 
Port':pvid='Native VLAN':taggedVlan='Tagged Vlans'
ui|status|reports|openviolations|violation='Violation':owner='Owner':status='Status':start_date='Start 
Date':mac='MAC'
ui|status|reports|active|mac='MAC':ip='IP':pid='Identifier':regdate='Regdate':unregdate='Unregdate':lastskip='Last 
Skip':status='Status':user_agent='User Agent':computername='Computer Name':notes='Notes':start_time='Start 
Time':end_time='End Time':last_dhcp='Last DHCP':detect_date='Detect Date':last_arp='Last ARP':os='OS'

ui|status|reports|inactive|mac='MAC':ip='IP':pid='Identifier':regdate='Regdate':unregdate='Unregdate':lastskip='Last 
Skip':status='Status':user_agent='User Agent':computername='Computer Name':notes='Notes':start_time='Start 
Time':end_time='End Time':last_dhcp='Last DHCP':detect_date='Detect Date':last_arp='Last ARP':os='OS'

ui|status|reports|ipmachistory|mac='MAC':ip='IP':start_time='Start Time':end_time='End Time'
ui|status|reports|locationhistoryswitch|mac='MAC':switch='Switch':port='ifIndex':vlan='VLAN':connection_type='Type 
of connection':dot1x_username='802.1X Username':ssid='Wireless SSID':start_time='Start Time':end_time='End 
Time'
ui|status|reports|locationhistorymac|mac='MAC':switch='Switch':port='ifIndex':vlan='VLAN':connection_type='Type 
of connection':dot1x_username='802.1X Username':ssid='Wireless SSID':start_time='Start Time':end_time='End 
Time'
ui|status|reports|ifoctetshistoryswitch|switch='Switch':port='ifIndex':read_time='Time':mac='MAC':ifInOctets='ifInOctets':ifOutOctets='ifOutOctets':throughPutIn='throughPutIn':throughPutOut='throughPutOut'

ui|status|reports|ifoctetshistorymac|switch='Switch':port='ifIndex':read_time='Time':mac='MAC':ifInOctets='ifInOctets':ifOutOctets='ifOutOctets':throughPutIn='throughPutIn':throughPutOut='throughPutOut'

ui|status|reports|ifoctetshistoryuser|switch='Switch':port='ifIndex':read_time='Time':mac='MAC':ifInOctets='ifInOctets':ifOutOctets='ifOutOctets':throughPutIn='throughPutIn':throughPutOut='throughPutOut'

ui|status|reports|unregistered|mac='MAC':pid='Identifier':regdate='Regdate':unregdate='Unregdate':lastskip='Last 
Skip':status='Status':user_agent='User Agent':computername='Computer Name':notes='Notes':last_arp='Last 
ARP':detect_date='Detect Date':last_dhcp='Last DHCP':os='OS'
ui|status|reports|registered|mac='MAC':pid='Identifier':regdate='Reg date':unregdate='Unreg date':lastskip='Last 
Skip':status='Status':user_agent='User Agent':computername='Computer Name':notes='Notes':last_arp='Last 
ARP':detect_date='Detect Date':last_dhcp='Last DHCP':os='OS'
ui|status|reports|os|description='Description':percent='Percent':count='Count '
ui|status|reports|osclass|description='Description':percent='Percent':count='Count '
ui|status|reports|unknownprints|dhcp_fingerprint='Fingerprint':mac='MAC':computername='Computer Name':notes='Notes':user_agent='User-Agent':vendor='Vendor'

ui|status|reports|unknownuseragents|user_agent='User-Agent':browser='Identified Browser':os='Identified 
OS':computername='Computer Name':dhcp_fingerprint='DHCP Fingerprint':description='DHCP Detected OS ':notes='Notes'

ui|status|reports|statics|mac='MAC':pid='Identifier':detect_date='Detect Date':regdate='Reg date':unregdate='Unreg 
date':lastskip='Lastskip':status='Status':user_agent='Agent':computername='Computer Name':notes='Notes':last_arp='Arp 
Time':last_dhcp='DHCP Time':switch='Switch':port='Port':vlan='VLAN':voip='VoIP':connection_type='Type 
of connection'
ui|status|reports|connectiontype|connection_type='Connection-Type':percent='Percent':connections='Connections'

ui|status|reports|connectiontypereg|connection_type='Connection-Type':percent='Percent':connections='Connections'

ui|status|reports|ssid|ssid='SSID':percent='Percent':nodes='Nodes'
[root@lotusnac ~]#


Thank you so much for your immediate response.

Thanks & Regards,
Mohamed M.P
(0002421)
obilodeau   
2011-11-02 10:17   
Can you place the admin in debug mode: Administration -> ui options then debug mode = enabled.

Then LOGOUT and log back-in and send me the contents of your /usr/local/pf/logs/admin_debug_log.
(0002796)
obilodeau   
2012-06-15 10:05   
No update in months. Assuming fixed.