fsgmhoward / IXPortal

Router WiFidog portal, used for authenticating users
MIT License
10 stars 4 forks source link

Unable config wifidog #1

Open henok400 opened 5 years ago

henok400 commented 5 years ago

im authpuppy wifidog user now im looking your code i trying auth server but unable to use i setup wifidog AuthServer { Hostname xi.mydomain.com HTTPPort 80 Path / } the page coming error Uncaught Exception Thrown database config is correct can you tell me how to setup this into wifidog external server?

fsgmhoward commented 5 years ago

The uncaught exception is likely that you have something missing in your server config process... You can try to enable verbose mode (in the config.php) and see which line throw that exception.

henok400 commented 5 years ago

i put your all code to xi.cloudwifizone.com config.example.php to config.php i setup openwrt install router install wifidog.ipk or wifidog-ng.ipk to install using puty.exe opkg update, opkg install wifido-ng then wifidog auth config point to /login/index.php

'guard' => array( 'cron' => true, 'password' => 'IXPortal', 'csrf' => true, 'domain' => '192.168.1.1' # im using my router ip

goting the same result Uncaught Exception Thrown

fsgmhoward commented 5 years ago
  1. Try just pointing to /login (without the /index.php)
  2. AS I REPLIED PREVIOUSLY, to know the exact problem of the script, please set debug to true in your config.php. The program will print out the traceback of the exception which facilitates you (and me) to analyse the problem. Remember to turn it off in production environment.
henok400 commented 5 years ago

can u help me im highly customized wifidog authpuppy but in your code unable to get the point i feel something missed. if u wondering ping me by email berlikplc@gmail.com tks