PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001422PacketFenceweb adminpublic2012-04-14 10:592012-06-14 12:20
Reportermilkmansson 
Assigned Toobilodeau 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Versiondevel 
Target VersionFixed in Version 
Summary0001422: Error message on web UI login
DescriptionI'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 [^]


Additional InformationI 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.
TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Filespng file icon pferr.png [^] (41,789 bytes) 2012-04-14 10:59

- Relationships

-  Notes
(0002648)
milkmansson (reporter)
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 (reporter)
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 (reporter)
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 (reporter)
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 (reporter)
2012-04-19 13:59

Waiting for 'milkmansson' to confirm that it is ok before closing.
(0002675)
obilodeau (reporter)
2012-04-20 12:52

Re-open if it is still an issue.

- Issue History
Date Modified Username Field Change
2012-04-14 10:59 milkmansson New Issue
2012-04-14 10:59 milkmansson File Added: pferr.png
2012-04-14 12:21 milkmansson Note Added: 0002648
2012-04-17 16:17 tharvey Note Added: 0002653
2012-04-19 09:59 obilodeau Status new => assigned
2012-04-19 09:59 obilodeau Assigned To => obilodeau
2012-04-19 10:02 obilodeau Note Added: 0002667
2012-04-19 12:16 tharvey Note Added: 0002670
2012-04-19 13:59 obilodeau Note Added: 0002671
2012-04-19 13:59 obilodeau Status assigned => feedback
2012-04-20 12:52 obilodeau Note Added: 0002675
2012-04-20 12:52 obilodeau Status feedback => resolved
2012-04-20 12:52 obilodeau Resolution open => no change required
2012-06-14 12:20 obilodeau Status resolved => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker