PacketFence - BTS - PacketFence
View Issue Details
0001422PacketFenceweb adminpublic2012-04-14 10:592012-06-14 12:20
milkmansson 
obilodeau 
normalminorhave not tried
closedno change required 
devel 
 
0001422: Error message on web UI login
I've just upgraded and see "Can't use string ("0") as a HASH ref while "strict refs" in use at /usr/local/pf/bin/pfcmd line 2062."

This error message reports itself once at first login (ie under the menu bar when first logging in) and then disappeared until you go to specific URL https://server:1443/configuration/categories.php [^]


I started with PF 3.2 virtual appliance, which was then upgraded with yum update. Plenty of OS updates came down at that point - which was prior to 3.3 release.

Then today (some 7 days later) I've upgraded to 3.3, via yum update --enablerepo=PacketFence,rpmforge

This info in case you wish to try and reproduce the issue. This is my test rig, although I really need the 3.3 functions in the kit I'm trying to productionise, so if it would be expedient for you to SSH into this error box I could provide the access.
No tags attached.
png pferr.png (41,789) 2012-04-14 10:59
https://www.packetfence.org/bugs/file_download.php?file_id=142&type=bug
png
Issue History
2012-04-14 10:59milkmanssonNew Issue
2012-04-14 10:59milkmanssonFile Added: pferr.png
2012-04-14 12:21milkmanssonNote Added: 0002648
2012-04-17 16:17tharveyNote Added: 0002653
2012-04-19 09:59obilodeauStatusnew => assigned
2012-04-19 09:59obilodeauAssigned To => obilodeau
2012-04-19 10:02obilodeauNote Added: 0002667
2012-04-19 12:16tharveyNote Added: 0002670
2012-04-19 13:59obilodeauNote Added: 0002671
2012-04-19 13:59obilodeauStatusassigned => feedback
2012-04-20 12:52obilodeauNote Added: 0002675
2012-04-20 12:52obilodeauStatusfeedback => resolved
2012-04-20 12:52obilodeauResolutionopen => no change required
2012-06-14 12:20obilodeauStatusresolved => closed

Notes
(0002648)
milkmansson   
2012-04-14 12:21   
Not sure if this is relevant - however, trying to use the captive portal login screen from a host, it brings up an error message page:

Software error:
Can't call method "fetchrow_hashref" on an undefined value at /usr/local/pf/lib/pf/nodecategory.pm line 123.

For help...

Hope this helps...
(0002653)
tharvey   
2012-04-17 16:17   
We have seen the same issue after upgrading. We have re-installed a clean version of PacketFence but see the same symptoms. Occurs whether we select LDAP or Radius authentiction.
(0002667)
obilodeau   
2012-04-19 10:02   
Have you upgraded the SQL schema as per what UPGRADE says?

https://raw.github.com/inverse-inc/packetfence/stable/UPGRADE [^]
(0002670)
tharvey   
2012-04-19 12:16   
Ran it again. Didn't help, removed db and pf. Reinstalled 3.2 re-ran the upgrades and schemas and it's working now.

Thanks
(0002671)
obilodeau   
2012-04-19 13:59   
Waiting for 'milkmansson' to confirm that it is ok before closing.
(0002675)
obilodeau   
2012-04-20 12:52   
Re-open if it is still an issue.