Re: Auth::Radius undefined constant

From: Date: Wed, 08 Oct 2003 08:15:51 +0000
Subject: Re: Auth::Radius undefined constant
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8335@lists.php.net to get a copy of this message
On 7 Oct 2003 at 18:56, Paul Wolstenholme wrote: > I'm getting an error when using the radius modules. The authentication > portion works great but I'm getting an error when I use accounting: > > Notice: Use of undefined constant RADIUS_ACCT_STATUS_TYPE - assumed > 'RADIUS_ACCT_STATUS_TYPE' in /usr/local/lib/php/Auth/RADIUS.php on > line 924. > > I searched through all the php source code including the examples and > this doesn't seem to get defined anywhere. Does anyone now what value > should this be set to? > > > Here is the radius packages i'm using: > Auth_RADIUS 1.0.2 stable > radius 1.2.2 stable Are you sure your radius-PECL-extension is up and working? I've digged that the constants can be found in radius_init_const.h, like REGISTER_LONG_CONSTANT("RADIUS_ACCT_STATUS_TYPE", 40, CONST_PERSISTENT); /* Integer */ So I assume that your pecl-extension is not working as expected. But I can't help you much further. Hope you find it - or that somebody else on this list already stubled across the problem. Good luck Stefan

« previous php.pear.general (#8335) next »