Captive portal stopped working after upgrade
qbik last edited by
I had a system on 2.0.3 that was working ok, after I upgraded the CP i not working aymore. I had the freeradius package installed and my CP was custom to send information via AJAX and when the user clicked submit I called the radius function from the captiveportal.inc file, all was ok. Now when I call the same function passing the required parameter I always get this error:
Class 'Auth_RADIUS_' not found in /usr/local/captiveportal/radius_authentication.inc
which is from the RADIUS_AUTHENTICATION function and this is because the $cpzone variable is always NULL and even if I manually set this to my zone name I get error that $freeradiusservers is not defined. Can I do this some other way?