Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
Error on captive portal with voucher login
« previous
next »
Print
Pages: [
1
]
Author
Topic: Error on captive portal with voucher login (Read 13071 times)
liorz
Newbie
Posts: 10
Karma: 0
Error on captive portal with voucher login
«
on:
January 25, 2016, 05:58:09 pm »
Hi guys
Just implemented the captive portal on our OPNsense firewall
we i try to login with user authentication , works fine
when trying to connect with vouhecher i get the following error :
Warning: fopen(/var/db/voucher_usr0_used_2.db): failed to open stream: No such file or directory in /usr/local/etc/inc/voucher.inc on line 434 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /usr/local/etc/inc/voucher.inc:434) in /usr/local/etc/inc/config.lib.inc on line 167 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/local/etc/inc/voucher.inc:434) in /usr/local/etc/inc/config.lib.inc on line 167 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/etc/inc/voucher.inc:434) in /usr/local/etc/inc/captiveportal.inc on line 1234
the session is starting and i'm able to work but still get this message
any ideas?
Thanks , Lior
Logged
AdSchellevis
Administrator
Hero Member
Posts: 907
Karma: 184
Re: Error on captive portal with voucher login
«
Reply #1 on:
January 25, 2016, 08:35:16 pm »
Hi Lior,
We've rewritten the captive portal feature for the 16.1 version, which will be available later this week.
If you like, you could try the development version and switch to stable at the end of the week, support for the old system will drop after 16.1.
(the current code is very old)
More information on how to use the development version can be found here:
https://forum.opnsense.org/index.php?topic=917.0
Regards,
Ad
Logged
liorz
Newbie
Posts: 10
Karma: 0
Re: Error on captive portal with voucher login
«
Reply #2 on:
January 26, 2016, 09:38:12 am »
I understand , I think we will wait for the production version
maybe you have an idea why we get this error? maybe its fixable?
thanks , Lior.
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: Error on captive portal with voucher login
«
Reply #3 on:
February 02, 2016, 07:21:10 am »
Not exactly sure why the database file is not there, if you need this setup redoing the captive portal zone will probably fix this? But as Ad said, 15.7 will receive no more fixes an the new captive portal works differently so please try it out, the stable release 16.1.1 is coming out today.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
Error on captive portal with voucher login