[isf-wifidog] Client gets blank page when trying to login to RADIUS based network

Mark Dammer mark.dammer at findhorn.org
Ven 21 Jan 08:42:18 EST 2011

On 19/01/11 16:35, Steven Kurylo wrote:
> Its quite possible its unrelated, but its also possible its spitting 
> out the errors before PHP can set a HTTP header causing it to only 
> show a blank page.
> I'd rather chase that first, than radius yet.
> I just remembered, I ran into this at a new site.  A newer version of 
> PHP requires quotes; define('DEFAULT_LANG', 'en_US');
> Next, what are the results of radtest from the wifidog server to the 
> radius server?
I changed config.php as you said - the language related errors 
disappeared from error.log, but the blank-page problem still exists.
Radtest works fine - I am running both Wifidog and Daloradius/Freeradius 
on the same server. I am using the servers main IP as the link between 
Wifidog and Freeradius as I am aware that the loopback interface is 
configured as a testclient in the freeradius config files.
I still think that the poblem sits with these error messages as it looks 
as PHP gets stuck and  makes not even an attempt to contact the radius 
[Fri Jan 21 13:32:14 2011] [error] [client] PHP Fatal 
error:  Call to a member function getId() on a non-object in 
/var/www/wifidog-auth/wifidog/classes/User.php on line 133, referer:

I had a look at the line of code (133) mentioned in the error, but 
cannot see anything problematic. My guess is that something earlier in 
the process of the attempt to login via radius is not creating a 
particular object. This seems to only happen with radius logins - 
standard Wifidog users CAN login in my setup.

thanks for your help, Mark

Plus d'informations sur la liste de diffusion WiFiDog