Netgate SG-1000 microFirewall

Author Topic: [HOWTO] Captive portal + FreeRADIUS + local MySQL user friendly single step  (Read 27577 times)

0 Members and 1 Guest are viewing this topic.

Offline deajan

  • Full Member
  • ***
  • Posts: 179
  • Karma: +26/-0
    • View Profile
It seems that the mysql extension is there.
Can you please restart php-fpm ? And if it does not work, restart pfSense ?
NetPOWER.fr - some opensource stuff for IT people

Offline beewolf

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Yes, thank you that worked - I should have tried that first!!

All seems to be working now in a test environment - just one thing, Freeradius needs to be started manually after a restart.  Is this usual?  Would it be possible to add the service to the MySQL cron job so it definitely starts automatically?

Offline deajan

  • Full Member
  • ***
  • Posts: 179
  • Karma: +26/-0
    • View Profile
I'll add a note about rebooting to the guide.

As for the freeradius service, it depends on mysql service.
As there is no loading order, sometimes freeradius loads before mysql and may fail.

In order to get FreeRADIUS working all the time, I've setup the watchdog package to restart failing services.
NetPOWER.fr - some opensource stuff for IT people

Offline beewolf

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Many thanks - all working now.


Offline novensiles

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
[PHP Modules]
bcmath
bz2
Core
ctype
curl
date
dom
ereg
filter
gettext
hash
json
ldap
libxml
mbstring
mcrypt
mhash
mysql
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_sqlite
pfSense
posix
radius
readline
Reflection
rrd
session
shmop
SimpleXML
sockets
SPL
sqlite3
ssh2
standard
suhosin
sysvmsg
sysvsem
sysvshm
tokenizer
xdebug
xml
xmlreader
xmlwriter
Zend OPcache
zlib
zmq

[Zend Modules]
Xdebug
Zend OPcache

Offline deajan

  • Full Member
  • ***
  • Posts: 179
  • Karma: +26/-0
    • View Profile
As stated above, you have the php mysql extension.
Please restart php-fpm from console and try again.
NetPOWER.fr - some opensource stuff for IT people

Offline beewolf

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
My system has been running fine for a week - I had to restart to get the cables sorted neatly and now whatever I do I cant get Freeradius to start.  There is another post here:

https://forum.pfsense.org/index.php?topic=109775.msg611138#msg611138

with similar symptoms to what I am getting and I have tried the suggestions in that but no difference.

I realise that this is probably a freeradius/pfsense problem but really need some help sorting it - I don't want to have to rebuild again!

Many thanks

Offline abebraham

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
is it possible to use a node.js file for the captive portal? Or using mongodb?

Offline Gertjan

  • Hero Member
  • *****
  • Posts: 1759
  • Karma: +142/-6
    • View Profile
is it possible to use a node.js file for the captive portal? Or using mongodb?
and why posting the same question twice ? https://forum.pfsense.org/index.php?topic=115337.0

Offline nhimcoi30889

  • Newbie
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Hello Deajan,
Thank for guideline detail .
I have a problem when install
This is log :
Code: [Select]
Warning: Illegal string offset 'alias' in /etc/inc/util.inc on line 1684 Call Stack: 0.0583 234136 1. {main}() /usr/local/www/services_captiveportal.php:0 0.0584 234576 2. require_once('/etc/inc/functions.inc') /usr/local/www/services_captiveportal.php:66 0.0586 234952 3. require_once('/etc/inc/interfaces.inc') /etc/inc/functions.inc:170 0.0591 254296 4. require_once('/etc/inc/gwlb.inc') /etc/inc/interfaces.inc:61 0.0591 254928 5. require_once('/etc/inc/config.inc') /etc/inc/gwlb.inc:54 0.0595 265032 6. parse_config() /etc/inc/config.inc:218 0.0598 372400 7. alias_make_table() /etc/inc/config.lib.inc:185 Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/util.inc:1684) in /usr/local/www/guiconfig.inc on line 72 Call Stack: 0.0583 234136 1. {main}() /usr/local/www/services_captiveportal.php:0 0.0618 938296 2. require_once('/usr/local/www/guiconfig.inc') /usr/local/www/services_captiveportal.php:75 0.0618 958632 3. header() /usr/local/www/guiconfig.inc:72 Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/util.inc:1684) in /usr/local/www/guiconfig.inc on line 73 Call Stack: 0.0583 234136 1. {main}() /usr/local/www/services_captiveportal.php:0 0.0618 938296 2. require_once('/usr/local/www/guiconfig.inc') /usr/local/www/services_captiveportal.php:75 0.0620 958760 3. header() /usr/local/www/guiconfig.inc:73 Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/util.inc:1684) in /usr/local/www/guiconfig.inc on line 74 Call Stack: 0.0583 234136 1. {main}() /usr/local/www/services_captiveportal.php:0 0.0618 938296 2. require_once('/usr/local/www/guiconfig.inc') /usr/local/www/services_captiveportal.php:75 0.0621 958696 3. header() /usr/local/www/guiconfig.inc:74 Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/util.inc:1684) in /usr/local/www/guiconfig.inc on line 75 Call Stack: 0.0583 234136 1. {main}() /usr/local/www/services_captiveportal.php:0 0.0618 938296 2. require_once('/usr/local/www/guiconfig.inc') /usr/local/www/services_captiveportal.php:75 0.0622 958696 3. header() /usr/local/www/guiconfig.inc:75 Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/util.inc:1684) in /usr/local/www/guiconfig.inc on line 78 Call Stack: 0.0583 234136 1. {main}() /usr/local/www/services_captiveportal.php:0 0.0618 938296 2. require_once('/usr/local/www/guiconfig.inc') /usr/local/www/services_captiveportal.php:75 0.0623 958696 3. header() /usr/local/www/guiconfig.inc:78 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /etc/inc/util.inc:1684) in /etc/inc/auth.inc on line 1573 Call Stack: 0.0583 234136 1. {main}() /usr/local/www/services_captiveportal.php:0 0.0618 938296 2. require_once('/usr/local/www/guiconfig.inc') /usr/local/www/services_captiveportal.php:75 0.0624 959088 3. require_once('/etc/inc/authgui.inc') /usr/local/www/guiconfig.inc:79 0.0812 1242720 4. session_auth() /etc/inc/authgui.inc:62 0.0812 1244776 5. session_start() /etc/inc/auth.inc:1573 Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/util.inc:1684) in /usr/local/www/services_captiveportal.php on line 87 Call Stack: 0.0583 234136 1. {main}() /usr/local/www/services_captiveportal.php:0 0.0821 1277104 2. header() /usr/local/www/services_captiveportal.php:87
At the moment, i cant access Service/Captive Portal ( this show above ).

Offline nhimcoi30889

  • Newbie
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
I found on log crash of pfsense as :
Code: [Select]
Crash report begins.  Anonymous machine information:

amd64
10.3-RELEASE
FreeBSD 10.3-RELEASE #6 05adf0a(RELENG_2_3_0): Mon Apr 11 18:52:07 CDT 2016     root@ce23-amd64-builder:/builder/pfsense-230/tmp/obj/builder/pfsense-230/tmp/FreeBSD-src/sys/pfSense

Crash report details:

PHP Errors:
[21-Jul-2016 11:09:49 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:09:49 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/ecl.php:0
[21-Jul-2016 11:09:49 Asia/Ho_Chi_Minh] PHP   2. require_once() /etc/ecl.php:34
[21-Jul-2016 11:09:49 Asia/Ho_Chi_Minh] PHP   3. require_once() /etc/inc/functions.inc:170
[21-Jul-2016 11:09:49 Asia/Ho_Chi_Minh] PHP   4. require_once() /etc/inc/interfaces.inc:61
[21-Jul-2016 11:09:49 Asia/Ho_Chi_Minh] PHP   5. require_once() /etc/inc/gwlb.inc:54
[21-Jul-2016 11:09:49 Asia/Ho_Chi_Minh] PHP   6. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:09:49 Asia/Ho_Chi_Minh] PHP   7. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:09:50 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:09:50 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.bootup:0
[21-Jul-2016 11:09:50 Asia/Ho_Chi_Minh] PHP   2. require_once() /etc/rc.bootup:33
[21-Jul-2016 11:09:50 Asia/Ho_Chi_Minh] PHP   3. require_once() /etc/inc/pkg-utils.inc:58
[21-Jul-2016 11:09:50 Asia/Ho_Chi_Minh] PHP   4. require_once() /etc/inc/service-utils.inc:56
[21-Jul-2016 11:09:50 Asia/Ho_Chi_Minh] PHP   5. require_once() /etc/inc/captiveportal.inc:58
[21-Jul-2016 11:09:50 Asia/Ho_Chi_Minh] PHP   6. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:09:50 Asia/Ho_Chi_Minh] PHP   7. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.linkup:0
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP   2. require_once() /etc/rc.linkup:34
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP   3. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP   4. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.bootup:0
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP   2. parse_config_bootup() /etc/rc.bootup:162
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP   3. parse_config() /etc/inc/config.lib.inc:309
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP   4. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.bootup:0
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP   2. parse_config_bootup() /etc/rc.bootup:162
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP   3. alias_make_table() /etc/inc/config.lib.inc:328
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.linkup:0
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP   2. require_once() /etc/rc.linkup:34
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP   3. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:09:51 Asia/Ho_Chi_Minh] PHP   4. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.bootup:0
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP   2. interfaces_configure() /etc/rc.bootup:250
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP   3. interface_configure() /etc/inc/interfaces.inc:1112
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP   4. interface_netgraph_needed() /etc/inc/interfaces.inc:3425
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.bootup:0
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP   2. interfaces_configure() /etc/rc.bootup:250
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP   3. interface_configure() /etc/inc/interfaces.inc:1112
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP   4. interface_netgraph_needed() /etc/inc/interfaces.inc:3425
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.bootup:0
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP   2. openvpn_resync_all() /etc/rc.bootup:261
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP   3. openvpn_create_dirs() /etc/inc/openvpn.inc:1309
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.bootup:0
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP   2. filter_configure_sync() /etc/rc.bootup:268
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP   3. filter_nat_rules_generate() /etc/inc/filter.inc:297
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP   4. filter_nat_rules_automatic_tonathosts() /etc/inc/filter.inc:2093
[21-Jul-2016 11:09:52 Asia/Ho_Chi_Minh] PHP   5. get_staticroutes() /etc/inc/filter.inc:1594
[21-Jul-2016 11:09:53 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:09:53 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/sshd:0
[21-Jul-2016 11:09:53 Asia/Ho_Chi_Minh] PHP   2. require_once() /etc/sshd:33
[21-Jul-2016 11:09:53 Asia/Ho_Chi_Minh] PHP   3. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:09:53 Asia/Ho_Chi_Minh] PHP   4. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:09:54 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:09:54 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.bootup:0
[21-Jul-2016 11:09:54 Asia/Ho_Chi_Minh] PHP   2. system_routing_configure() /etc/rc.bootup:299
[21-Jul-2016 11:09:54 Asia/Ho_Chi_Minh] PHP   3. system_staticroutes_configure() /etc/inc/system.inc:657
[21-Jul-2016 11:09:54 Asia/Ho_Chi_Minh] PHP   4. get_staticroutes() /etc/inc/system.inc:667
[21-Jul-2016 11:09:54 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:09:54 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.bootup:0
[21-Jul-2016 11:09:54 Asia/Ho_Chi_Minh] PHP   2. services_unbound_configure() /etc/rc.bootup:308
[21-Jul-2016 11:09:54 Asia/Ho_Chi_Minh] PHP   3. sync_unbound_service() /etc/inc/services.inc:2194
[21-Jul-2016 11:09:54 Asia/Ho_Chi_Minh] PHP   4. unbound_generate_config() /etc/inc/unbound.inc:489
[21-Jul-2016 11:09:54 Asia/Ho_Chi_Minh] PHP   5. unbound_acls_config() /etc/inc/unbound.inc:169
[21-Jul-2016 11:09:54 Asia/Ho_Chi_Minh] PHP   6. filter_nat_rules_automatic_tonathosts() /etc/inc/unbound.inc:766
[21-Jul-2016 11:09:54 Asia/Ho_Chi_Minh] PHP   7. get_staticroutes() /etc/inc/filter.inc:1594
[21-Jul-2016 11:09:55 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:09:55 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.bootup:0
[21-Jul-2016 11:09:55 Asia/Ho_Chi_Minh] PHP   2. filter_configure_sync() /etc/rc.bootup:337
[21-Jul-2016 11:09:55 Asia/Ho_Chi_Minh] PHP   3. filter_nat_rules_generate() /etc/inc/filter.inc:297
[21-Jul-2016 11:09:55 Asia/Ho_Chi_Minh] PHP   4. filter_nat_rules_automatic_tonathosts() /etc/inc/filter.inc:2093
[21-Jul-2016 11:09:55 Asia/Ho_Chi_Minh] PHP   5. get_staticroutes() /etc/inc/filter.inc:1594
[21-Jul-2016 11:09:56 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:09:56 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.dyndns.update:0
[21-Jul-2016 11:09:56 Asia/Ho_Chi_Minh] PHP   2. require_once() /etc/rc.dyndns.update:31
[21-Jul-2016 11:09:56 Asia/Ho_Chi_Minh] PHP   3. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:09:56 Asia/Ho_Chi_Minh] PHP   4. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:09:56 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:09:56 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.banner:0
[21-Jul-2016 11:09:56 Asia/Ho_Chi_Minh] PHP   2. require_once() /etc/rc.banner:32
[21-Jul-2016 11:09:56 Asia/Ho_Chi_Minh] PHP   3. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:09:56 Asia/Ho_Chi_Minh] PHP   4. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:09:59 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:09:59 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.start_packages:0
[21-Jul-2016 11:09:59 Asia/Ho_Chi_Minh] PHP   2. require_once() /etc/rc.start_packages:31
[21-Jul-2016 11:09:59 Asia/Ho_Chi_Minh] PHP   3. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:09:59 Asia/Ho_Chi_Minh] PHP   4. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.conf_mount_rw:0
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   2. require_once() /etc/rc.conf_mount_rw:31
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   3. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   4. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/index.php:0
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/index.php:73
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   4. include_once() /etc/inc/authgui.inc:55
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   5. require_once() /etc/inc/auth.inc:63
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   6. parse_config() /etc/inc/config.gui.inc:92
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   7. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/index.php:0
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/index.php:73
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   4. display_login_form() /etc/inc/authgui.inc:63
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   5. require_once() /etc/inc/authgui.inc:198
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   6. require_once() /etc/inc/shaper.inc:62
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   7. require_once() /etc/inc/functions.inc:170
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   8. require_once() /etc/inc/interfaces.inc:61
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   9. require_once() /etc/inc/gwlb.inc:54
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP  10. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP  11. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/index.php:0
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/index.php:73
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   4. display_login_form() /etc/inc/authgui.inc:63
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   5. filter_generate_optcfg_array() /etc/inc/authgui.inc:199
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/index.php:0
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/index.php:73
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   4. display_login_form() /etc/inc/authgui.inc:63
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   5. filter_generate_optcfg_array() /etc/inc/authgui.inc:199
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/index.php:0
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/index.php:73
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   4. include_once() /etc/inc/authgui.inc:55
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   5. require_once() /etc/inc/auth.inc:63
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   6. parse_config() /etc/inc/config.gui.inc:92
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   7. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/index.php:0
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/index.php:73
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   4. display_login_form() /etc/inc/authgui.inc:63
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   5. require_once() /etc/inc/authgui.inc:198
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   6. require_once() /etc/inc/shaper.inc:62
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   7. require_once() /etc/inc/functions.inc:170
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   8. require_once() /etc/inc/interfaces.inc:61
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   9. require_once() /etc/inc/gwlb.inc:54
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP  10. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP  11. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/index.php:0
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/index.php:73
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   4. display_login_form() /etc/inc/authgui.inc:63
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   5. filter_generate_optcfg_array() /etc/inc/authgui.inc:199
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/index.php:0
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/index.php:73
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   4. display_login_form() /etc/inc/authgui.inc:63
[21-Jul-2016 11:10:01 Asia/Ho_Chi_Minh] PHP   5. filter_generate_optcfg_array() /etc/inc/authgui.inc:199
[21-Jul-2016 11:10:02 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:02 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.conf_mount_ro:0
[21-Jul-2016 11:10:02 Asia/Ho_Chi_Minh] PHP   2. require_once() /etc/rc.conf_mount_ro:31
[21-Jul-2016 11:10:02 Asia/Ho_Chi_Minh] PHP   3. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:10:02 Asia/Ho_Chi_Minh] PHP   4. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:02 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:02 Asia/Ho_Chi_Minh] PHP   1. {main}() /etc/rc.banner:0
[21-Jul-2016 11:10:02 Asia/Ho_Chi_Minh] PHP   2. require_once() /etc/rc.banner:32
[21-Jul-2016 11:10:02 Asia/Ho_Chi_Minh] PHP   3. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:10:02 Asia/Ho_Chi_Minh] PHP   4. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/index.php:0
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/index.php:73
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   4. include_once() /etc/inc/authgui.inc:55
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   5. require_once() /etc/inc/auth.inc:63
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   6. parse_config() /etc/inc/config.gui.inc:92
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   7. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/index.php:0
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/index.php:73
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   4. include_once() /etc/inc/authgui.inc:55
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   5. get_configured_ip_addresses() /etc/inc/auth.inc:201
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   6. require_once() /etc/inc/util.inc:1399
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   7. require_once() /etc/inc/interfaces.inc:61
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   8. require_once() /etc/inc/gwlb.inc:54
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   9. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP  10. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/index.php:0
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/index.php:73
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   4. include_once() /etc/inc/authgui.inc:55
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   5. require_once() /etc/inc/auth.inc:63
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   6. parse_config() /etc/inc/config.gui.inc:92
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   7. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/index.php:0
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/index.php:73
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   4. include_once() /etc/inc/authgui.inc:55
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   5. get_configured_ip_addresses() /etc/inc/auth.inc:201
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   6. require_once() /etc/inc/util.inc:1399
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   7. require_once() /etc/inc/interfaces.inc:61
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   8. require_once() /etc/inc/gwlb.inc:54
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP   9. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:10:05 Asia/Ho_Chi_Minh] PHP  10. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/widgets/widgets/system_information.widget.php:0
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/widgets/widgets/system_information.widget.php:58
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   3. require_once() /etc/inc/functions.inc:170
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   4. require_once() /etc/inc/interfaces.inc:61
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   5. require_once() /etc/inc/gwlb.inc:54
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   6. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   7. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/widgets/widgets/system_information.widget.php:0
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/widgets/widgets/system_information.widget.php:59
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   3. header() /usr/local/www/guiconfig.inc:72
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/widgets/widgets/system_information.widget.php:0
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/widgets/widgets/system_information.widget.php:59
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   3. header() /usr/local/www/guiconfig.inc:73
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/widgets/widgets/system_information.widget.php:0
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/widgets/widgets/system_information.widget.php:59
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   3. header() /usr/local/www/guiconfig.inc:74
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/widgets/widgets/system_information.widget.php:0
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/widgets/widgets/system_information.widget.php:59
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   3. header() /usr/local/www/guiconfig.inc:75
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/widgets/widgets/system_information.widget.php:0
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/widgets/widgets/system_information.widget.php:59
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   3. header() /usr/local/www/guiconfig.inc:78
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/widgets/widgets/system_information.widget.php:0
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/widgets/widgets/system_information.widget.php:59
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   4. session_auth() /etc/inc/authgui.inc:62
[21-Jul-2016 11:10:10 Asia/Ho_Chi_Minh] PHP   5. session_start() /etc/inc/auth.inc:1573
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/getstats.php:0
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/getstats.php:69
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP   4. include_once() /etc/inc/authgui.inc:55
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP   5. require_once() /etc/inc/auth.inc:63
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP   6. parse_config() /etc/inc/config.gui.inc:92
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP   7. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/getstats.php:0
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/getstats.php:69
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP   4. include_once() /etc/inc/authgui.inc:55
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP   5. get_configured_ip_addresses() /etc/inc/auth.inc:201
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP   6. require_once() /etc/inc/util.inc:1399
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP   7. require_once() /etc/inc/interfaces.inc:61
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP   8. require_once() /etc/inc/gwlb.inc:54
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP   9. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:10:17 Asia/Ho_Chi_Minh] PHP  10. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/getstats.php:0
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/getstats.php:69
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP   4. include_once() /etc/inc/authgui.inc:55
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP   5. require_once() /etc/inc/auth.inc:63
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP   6. parse_config() /etc/inc/config.gui.inc:92
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP   7. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/getstats.php:0
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP   2. require_once() /usr/local/www/getstats.php:69
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP   4. include_once() /etc/inc/authgui.inc:55
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP   5. get_configured_ip_addresses() /etc/inc/auth.inc:201
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP   6. require_once() /etc/inc/util.inc:1399
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP   7. require_once() /etc/inc/interfaces.inc:61
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP   8. require_once() /etc/inc/gwlb.inc:54
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP   9. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:10:28 Asia/Ho_Chi_Minh] PHP  10. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/crash_reporter.php:0
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP   2. require() /usr/local/www/crash_reporter.php:63
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP   4. include_once() /etc/inc/authgui.inc:55
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP   5. require_once() /etc/inc/auth.inc:63
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP   6. parse_config() /etc/inc/config.gui.inc:92
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP   7. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/crash_reporter.php:0
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP   2. require() /usr/local/www/crash_reporter.php:63
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP   4. include_once() /etc/inc/authgui.inc:55
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP   5. get_configured_ip_addresses() /etc/inc/auth.inc:201
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP   6. require_once() /etc/inc/util.inc:1399
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP   7. require_once() /etc/inc/interfaces.inc:61
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP   8. require_once() /etc/inc/gwlb.inc:54
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP   9. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:10:31 Asia/Ho_Chi_Minh] PHP  10. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/crash_reporter.php:0
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP   2. require() /usr/local/www/crash_reporter.php:63
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP   4. include_once() /etc/inc/authgui.inc:55
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP   5. require_once() /etc/inc/auth.inc:63
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP   6. parse_config() /etc/inc/config.gui.inc:92
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP   7. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/crash_reporter.php:0
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP   2. require() /usr/local/www/crash_reporter.php:63
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP   4. include_once() /etc/inc/authgui.inc:55
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP   5. get_configured_ip_addresses() /etc/inc/auth.inc:201
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP   6. require_once() /etc/inc/util.inc:1399
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP   7. require_once() /etc/inc/interfaces.inc:61
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP   8. require_once() /etc/inc/gwlb.inc:54
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP   9. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:11:13 Asia/Ho_Chi_Minh] PHP  10. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/crash_reporter.php:0
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP   2. require() /usr/local/www/crash_reporter.php:63
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP   4. include_once() /etc/inc/authgui.inc:55
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP   5. require_once() /etc/inc/auth.inc:63
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP   6. parse_config() /etc/inc/config.gui.inc:92
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP   7. alias_make_table() /etc/inc/config.lib.inc:185
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP Stack trace:
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP   1. {main}() /usr/local/www/crash_reporter.php:0
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP   2. require() /usr/local/www/crash_reporter.php:63
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP   3. require_once() /usr/local/www/guiconfig.inc:79
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP   4. include_once() /etc/inc/authgui.inc:55
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP   5. get_configured_ip_addresses() /etc/inc/auth.inc:201
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP   6. require_once() /etc/inc/util.inc:1399
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP   7. require_once() /etc/inc/interfaces.inc:61
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP   8. require_once() /etc/inc/gwlb.inc:54
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP   9. parse_config() /etc/inc/config.inc:218
[21-Jul-2016 11:11:16 Asia/Ho_Chi_Minh] PHP  10. alias_make_table() /etc/inc/config.lib.inc:185


Filename: /var/crash/minfree
2048

Offline deajan

  • Full Member
  • ***
  • Posts: 179
  • Karma: +26/-0
    • View Profile
@nhimcoi30889 Sorry to hear. But the error doesn't suggest the problem comes from the captiveportal files I've written.
What pfSense version are you running ?
Can you reproduce the error on a VM ?
NetPOWER.fr - some opensource stuff for IT people

Offline deajan

  • Full Member
  • ***
  • Posts: 179
  • Karma: +26/-0
    • View Profile
is it possible to use a node.js file for the captive portal? Or using mongodb?

MySQL is used because of the FreeRADIUS authentication.
You may adapt the php script to whatever database your RADIUS server uses.
NetPOWER.fr - some opensource stuff for IT people

Offline nhimcoi30889

  • Newbie
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
@nhimcoi30889 Sorry to hear. But the error doesn't suggest the problem comes from the captiveportal files I've written.
What pfSense version are you running ?
Can you reproduce the error on a VM ?
Hi deajan,
my issue resolved by rollback pfsense ver 2.2.6 (issue on ver >= 2.3 )
i have a question more. i found this on captiveportal-config.php file
Code: [Select]
$confirmationCode = "0000";If i want this code generate via mysql ?
For example, i gen about 100 codes map with 100 email and storage on database. When user input their email and confirmationCode after they access internet

Offline deajan

  • Full Member
  • ***
  • Posts: 179
  • Karma: +26/-0
    • View Profile
@nhimcoi30889 This captive portal isn't supposed to work that way. It's an "no account setup" portal page.

If you want to use it the way you describe, you should create the radius accounts you want with the confirmation code as password, and remove the part where the radius account is created from the main CP file.
NetPOWER.fr - some opensource stuff for IT people