Hi Derek

Please see below, not sure if it will tell you much, but I was just created 
test users in the Admin Console - I have gotten past this error now, as I have 
configured up Active Directory authentication and no longer receive this error.

[local]
description=Local Users
type=SQL

[file1]
description=Legacy Source
path=/usr/local/pf/conf/admin.conf
type=Htpasswd

[file1 rule admins]
description=All admins
match=all
action0=set_access_level=ALL

[sms]
description=SMS-based registration
sms_carriers=100056,100057,100061,100058,100059,100060,100062,100063,100071,100064,100116,100066,100117,100112,100067,100065,100068,100069,100070,100118,100115,100072,100073,100074,100075,100076,100077,100085,100086,100080,100079,100081,100083,100082,1000$
type=SMS
create_local_account=no

[sms rule catchall]
description=
match=all
action0=set_role=guest
action1=set_access_duration=1D

[email]
description=Email-based registration
email_activation_timeout=10m
type=Email
allow_localdomain=yes
create_local_account=no

[email rule catchall]
description=
match=all
action0=set_role=guest
action1=set_access_duration=1D

[sponsor]
description=Sponsor-based registration
type=SponsorEmail
allow_localdomain=yes
create_local_account=no

[sponsor rule catchall]
description=
match=all
action0=set_role=guest
action1=set_access_duration=1D

[null]
description=Null Source
type=Null
email_required=no


Kelvin Westlake
Technical Manager
[Protected.co.uk]<https://www.protected.co.uk/>
01329 820869
[email protected]<mailto:[email protected]>
[http://creative.protected.co.uk/email/signature/dotted.gif]
www.protected.co.uk<https://www.protected.co.uk/>
facebook.com/Protected<https://www.facebook.com/Protected>


















This email with any attachments is for the exclusive and confidential use of 
the addressee(s) and may contain legally privileged information. Any other 
distribution, use or reproduction without the senders prior consent is 
unauthorised and strictly prohibited. If you receive this message in error 
please notify the sender by email and delete the message from your computer.

Live Life Protected Limited registered office and business address is 9 Funtley 
Court, Funtley Hill, Fareham, Hampshire PO16 7UY. Company No. 04906681. Live 
Life Protected Limited is authorised and regulated by the Financial Conduct 
Authority in respect of regulated activities.
From: Derek Wuelfrath [mailto:[email protected]]
Sent: 23 September 2014 14:03
To: ML PF
Subject: Re: [PacketFence-users] Error when logging into Captive Portal

Hello Kevin,

"The 'month' parameter ("00") to DateTime::new did not pass the 'an integer 
between 1 and 12'
Can you send your authentication.conf file (make sure to sanitize it first (no 
passwords or IP...))

Cheers!
dw.

—
Derek Wuelfrath
[email protected]<mailto:[email protected]> :: 
www.inverse.ca<http://www.inverse.ca>
+1.514.447.4918 (x110) :: +1.866.353.6153 (x110)
Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and 
PacketFence (www.packetfence.org<http://www.packetfence.org>)

On Sep 23, 2014, at 4:55, Kelvin Westlake 
<[email protected]<mailto:[email protected]>> wrote:


Hi Guys

I’ve setup PacketFence ZEN inline to provide a Captive Portal for our WIFI, 
I’ve got most of the configuration nailed, aside from one issue on sign in. 
I’ve created a couple of test accounts in the Admin console and used them to 
sign into the Portal, but each time I sign in, I get the error below. Does 
anybody have any clue to what is causing this? and how to fix it?


Sorry!

Caught exception in captiveportal::Controller::Authenticate->setUnRegDate "The 
'month' parameter ("00") to DateTime::new did not pass the 'an integer between 
1 and 12' callback at /usr/lib64/perl5/vendor_perl/DateTime.pm line 201 
DateTime::new(undef, 'year', 2014, 'month', 00, 'day', 00, 'time_zone', 
'DateTime::TimeZone::America::New_York=HASH(0x7f3febb4aad8)', ...) called at 
/usr/local/pf/lib/pf/config.pm<http://config.pm/> line 876 
pf::config::dynamic_unreg_date('0000-00-00 00:00:00') called at 
/usr/local/pf/html/captive-portal/lib/captiveportal/PacketFence/Controller/Authenticate.pm
 line 260 
captiveportal::PacketFence::Controller::Authenticate::setUnRegDate('captiveportal::Controller::Authenticate=HASH(0x7f3fe51b6248)',
 'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Action.pm line 65 
Catalyst::Action::execute('Catalyst::Action=HASH(0x7f3fe52f9d10)', 
'captiveportal::Controller::Authenticate=HASH(0x7f3fe51b6248)', 
'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 1691 eval {...} called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 1691 
Catalyst::execute('captiveportal=HASH(0x7f3feb97ffe8)', 
'captiveportal::Controller::Authenticate', 
'Catalyst::Action=HASH(0x7f3fe52f9d10)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Plugin/StackTrace.pm line 94 
Catalyst::Plugin::StackTrace::execute('captiveportal=HASH(0x7f3feb97ffe8)', 
'captiveportal::Controller::Authenticate', 
'Catalyst::Action=HASH(0x7f3fe52f9d10)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Action.pm line 60 
Catalyst::Action::dispatch('Catalyst::Action=HASH(0x7f3fe52f9d10)', 
'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Dispatcher.pm line 257 
Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x7f3feae2ce10)', 
'forward', 'captiveportal=HASH(0x7f3feb97ffe8)', 'setUnRegDate') called at 
/usr/share/perl5/vendor_perl/Catalyst/Dispatcher.pm line 237 
Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x7f3feae2ce10)', 
'captiveportal=HASH(0x7f3feb97ffe8)', 'setUnRegDate') called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 358 
Catalyst::forward('captiveportal=HASH(0x7f3feb97ffe8)', 'setUnRegDate') called 
at 
/usr/local/pf/html/captive-portal/lib/captiveportal/PacketFence/Controller/Authenticate.pm
 line 211 
captiveportal::PacketFence::Controller::Authenticate::postAuthentication('captiveportal::Controller::Authenticate=HASH(0x7f3fe51b6248)',
 'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Action.pm line 65 
Catalyst::Action::execute('Catalyst::Action=HASH(0x7f3fe52f9bf0)', 
'captiveportal::Controller::Authenticate=HASH(0x7f3fe51b6248)', 
'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 1691 eval {...} called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 1691 
Catalyst::execute('captiveportal=HASH(0x7f3feb97ffe8)', 
'captiveportal::Controller::Authenticate', 
'Catalyst::Action=HASH(0x7f3fe52f9bf0)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Plugin/StackTrace.pm line 94 
Catalyst::Plugin::StackTrace::execute('captiveportal=HASH(0x7f3feb97ffe8)', 
'captiveportal::Controller::Authenticate', 
'Catalyst::Action=HASH(0x7f3fe52f9bf0)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Action.pm line 60 
Catalyst::Action::dispatch('Catalyst::Action=HASH(0x7f3fe52f9bf0)', 
'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Dispatcher.pm line 257 
Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x7f3feae2ce10)', 
'forward', 'captiveportal=HASH(0x7f3feb97ffe8)', 'postAuthentication') called 
at /usr/share/perl5/vendor_perl/Catalyst/Dispatcher.pm line 237 
Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x7f3feae2ce10)', 
'captiveportal=HASH(0x7f3feb97ffe8)', 'postAuthentication') called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 358 
Catalyst::forward('captiveportal=HASH(0x7f3feb97ffe8)', 'postAuthentication') 
called at 
/usr/local/pf/html/captive-portal/lib/captiveportal/PacketFence/Controller/Authenticate.pm
 line 170 
captiveportal::PacketFence::Controller::Authenticate::login('captiveportal::Controller::Authenticate=HASH(0x7f3fe51b6248)',
 'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Action.pm line 65 
Catalyst::Action::execute('Catalyst::Action=HASH(0x7f3fe52f9a70)', 
'captiveportal::Controller::Authenticate=HASH(0x7f3fe51b6248)', 
'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 1691 eval {...} called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 1691 
Catalyst::execute('captiveportal=HASH(0x7f3feb97ffe8)', 
'captiveportal::Controller::Authenticate', 
'Catalyst::Action=HASH(0x7f3fe52f9a70)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Plugin/StackTrace.pm line 94 
Catalyst::Plugin::StackTrace::execute('captiveportal=HASH(0x7f3feb97ffe8)', 
'captiveportal::Controller::Authenticate', 
'Catalyst::Action=HASH(0x7f3fe52f9a70)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Action.pm line 60 
Catalyst::Action::dispatch('Catalyst::Action=HASH(0x7f3fe52f9a70)', 
'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Dispatcher.pm line 257 
Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x7f3feae2ce10)', 
'detach', 'captiveportal=HASH(0x7f3feb97ffe8)', 'login') called at 
/usr/share/perl5/vendor_perl/Catalyst/Dispatcher.pm line 270 
Catalyst::Dispatcher::detach('Catalyst::Dispatcher=HASH(0x7f3feae2ce10)', 
'captiveportal=HASH(0x7f3feb97ffe8)', 'login') called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 373 
Catalyst::detach('captiveportal=HASH(0x7f3feb97ffe8)', 'login') called at 
/usr/local/pf/html/captive-portal/lib/captiveportal/PacketFence/Controller/Authenticate.pm
 line 64 
captiveportal::PacketFence::Controller::Authenticate::index('captiveportal::Controller::Authenticate=HASH(0x7f3fe51b6248)',
 'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Action.pm line 65 
Catalyst::Action::execute('Catalyst::Action=HASH(0x7f3fe52f8f20)', 
'captiveportal::Controller::Authenticate=HASH(0x7f3fe51b6248)', 
'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 1691 eval {...} called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 1691 
Catalyst::execute('captiveportal=HASH(0x7f3feb97ffe8)', 
'captiveportal::Controller::Authenticate', 
'Catalyst::Action=HASH(0x7f3fe52f8f20)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Plugin/StackTrace.pm line 94 
Catalyst::Plugin::StackTrace::execute('captiveportal=HASH(0x7f3feb97ffe8)', 
'captiveportal::Controller::Authenticate', 
'Catalyst::Action=HASH(0x7f3fe52f8f20)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Action.pm line 60 
Catalyst::Action::dispatch('Catalyst::Action=HASH(0x7f3fe52f8f20)', 
'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Controller.pm line 125 
Catalyst::Controller::_ACTION('captiveportal::Controller::Authenticate=HASH(0x7f3fe51b6248)',
 'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Action.pm line 65 
Catalyst::Action::execute('Catalyst::Action=HASH(0x7f3fe52f8b30)', 
'captiveportal::Controller::Authenticate=HASH(0x7f3fe51b6248)', 
'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 1691 eval {...} called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 1691 
Catalyst::execute('captiveportal=HASH(0x7f3feb97ffe8)', 
'captiveportal::Controller::Authenticate', 
'Catalyst::Action=HASH(0x7f3fe52f8b30)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Plugin/StackTrace.pm line 94 
Catalyst::Plugin::StackTrace::execute('captiveportal=HASH(0x7f3feb97ffe8)', 
'captiveportal::Controller::Authenticate', 
'Catalyst::Action=HASH(0x7f3fe52f8b30)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Action.pm line 60 
Catalyst::Action::dispatch('Catalyst::Action=HASH(0x7f3fe52f8b30)', 
'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Dispatcher.pm line 257 
Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x7f3feae2ce10)', 
'forward', 'captiveportal=HASH(0x7f3feb97ffe8)', '_ACTION') called at 
/usr/share/perl5/vendor_perl/Catalyst/Dispatcher.pm line 237 
Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x7f3feae2ce10)', 
'captiveportal=HASH(0x7f3feb97ffe8)', '_ACTION') called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 358 
Catalyst::forward('captiveportal=HASH(0x7f3feb97ffe8)', '_ACTION') called at 
/usr/share/perl5/vendor_perl/Catalyst/Controller.pm line 99 
Catalyst::Controller::_DISPATCH('captiveportal::Controller::Authenticate=HASH(0x7f3fe51b6248)',
 'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Action.pm line 65 
Catalyst::Action::execute('Catalyst::Action=HASH(0x7f3fe52f20c0)', 
'captiveportal::Controller::Authenticate=HASH(0x7f3fe51b6248)', 
'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 1691 eval {...} called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 1691 
Catalyst::execute('captiveportal=HASH(0x7f3feb97ffe8)', 
'captiveportal::Controller::Authenticate', 
'Catalyst::Action=HASH(0x7f3fe52f20c0)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Plugin/StackTrace.pm line 94 
Catalyst::Plugin::StackTrace::execute('captiveportal=HASH(0x7f3feb97ffe8)', 
'captiveportal::Controller::Authenticate', 
'Catalyst::Action=HASH(0x7f3fe52f20c0)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Action.pm line 60 
Catalyst::Action::dispatch('Catalyst::Action=HASH(0x7f3fe52f20c0)', 
'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Dispatcher.pm line 257 
Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x7f3feae2ce10)', 
'forward', 'captiveportal=HASH(0x7f3feb97ffe8)', '/authenticate/_DISPATCH') 
called at /usr/share/perl5/vendor_perl/Catalyst/Dispatcher.pm line 237 
Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x7f3feae2ce10)', 
'captiveportal=HASH(0x7f3feb97ffe8)', '/authenticate/_DISPATCH') called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 358 
Catalyst::forward('captiveportal=HASH(0x7f3feb97ffe8)', 
'/authenticate/_DISPATCH') called at 
/usr/share/perl5/vendor_perl/Catalyst/Dispatcher.pm line 105 
Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x7f3feae2ce10)', 
'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 1637 
Catalyst::dispatch('captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Plugin/Static/Simple.pm line 76 
Class::MOP::Class:::around('CODE(0x7f3fead0f728)', 
'captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/lib64/perl5/vendor_perl/Class/MOP/Method/Wrapped.pm line 162 
Class::MOP::Method::Wrapped::__ANON__('captiveportal=HASH(0x7f3feb97ffe8)') 
called at /usr/lib64/perl5/vendor_perl/Class/MOP/Method/Wrapped.pm line 91 
captiveportal::dispatch('captiveportal=HASH(0x7f3feb97ffe8)') called at 
/usr/share/perl5/vendor_perl/Catalyst.pm line 1987 Catalyst::__ANON__() called 
at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 76 eval {...} called at 
/usr/share/perl5/vendor_perl/Try/Tiny.pm line 67 
Try::Tiny::try('CODE(0x7f3feb97faa8)', 'Try::Tiny::Catch=REF(0x7f3fe53e9c40)') 
called at /usr/share/perl5/vendor_perl/Catalyst.pm line 1993 
Catalyst::handle_request('captiveportal', 'env', 'HASH(0x7f3feb935158)', 
'response_cb', 'CODE(0x7f3feb99a908)') called at 
/usr/lib64/perl5/vendor_perl/Class/MOP/Method/Wrapped.pm line 50 
Class::MOP::Method::Wrapped::__ANON__('captiveportal', 'env', 
'HASH(0x7f3feb935158)', 'response_cb', 'CODE(0x7f3feb99a908)') called at 
/usr/lib64/perl5/vendor_perl/Class/MOP/Method/Wrapped.pm line 91 
captiveportal::handle_request('captiveportal', 'env', 'HASH(0x7f3feb935158)', 
'response_cb', 'CODE(0x7f3feb99a908)') called at 
/usr/share/perl5/vendor_perl/Catalyst/Engine.pm line 682 
Catalyst::Engine::__ANON__('CODE(0x7f3feb99a908)') called at 
/usr/share/perl5/vendor_perl/Plack/Handler/Apache2.pm line 67 
Plack::Handler::Apache2::call_app('Plack::Handler::Apache2=HASH(0x7f3fe9342c68)',
 'Apache2::RequestRec=SCALAR(0x7f3fe54bc9c0)', 'CODE(0x7f3feb934d38)') called 
at /usr/share/perl5/vendor_perl/Catalyst.pm line 2687 
captiveportal::handler('Apache2::RequestRec=SCALAR(0x7f3fe54bc9c0)') called at 
-e line 0 eval {...} called at -e line 0"


Kelvin Westlake

Technical Manager

[Protected.co.uk]<https://www.protected.co.uk/>

01329 820869

[email protected]<mailto:[email protected]>

[http://creative.protected.co.uk/email/signature/dotted.gif]

www.protected.co.uk<https://www.protected.co.uk/>

facebook.com/Protected<https://www.facebook.com/Protected>


















This email with any attachments is for the exclusive and confidential use of 
the addressee(s) and may contain legally privileged information. Any other 
distribution, use or reproduction without the senders prior consent is 
unauthorised and strictly prohibited. If you receive this message in error 
please notify the sender by email and delete the message from your computer.

Live Life Protected Limited registered office and business address is 9 Funtley 
Court, Funtley Hill, Fareham, Hampshire PO16 7UY. Company No. 04906681. Live 
Life Protected Limited is authorised and regulated by the Financial Conduct 
Authority in respect of regulated activities.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk_______________________________________________
PacketFence-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to