AW: Dialup admin questions
Madwifi Wireless
madwifi at vermark.com
Fri Oct 10 16:33:24 CEST 2008
To fix your warning about mktime(), edit the file function.php3, go to
line 95 and the function should look like this.
function date2time($date)
{
list($day,$time)=explode(' ',$date);
$day = explode('-',$day);
$time = explode(':',$time);
#$timest =
mktime($time[0],$time[1],$time[2],$day[1],$day[2],$day[0]);
$timest = mktime(0,0,0,$day[1],$day[2],$day[0]);
return $timest;
}
I had the same problem and that was the fix for me. Good luck..
tnt at kalik.net wrote:
>> 1. Can I see the statistics or aren't they passed, too?
>>
>
> They will come up once you connect to the accounting.
>
>
>> 2. Is there an alternative with which I can edit the configuration files etc via webinterface?
>>
>
> You can use things like OpenOffice if it is installed and you connect via
> KVM or VNC. Normally you connect with ssh (putty) and use joe or such
> text editors. Chap from daloRadius used to post here some time ago. You
> can try that and see.
>
>
>> 3. How can I fix this warning message:
>> Warning: mktime() expects parameter 1 to be long, string given in /usr/share/freeradius-dialupadmin/lib/functions.php3 on line 95
>>
>
> That's something to do with php. That extension is .php3 so it probably
> wasn't updated for quite some time.
>
> Ivan Kalik
> Kalik Informatika ISP
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
More information about the Freeradius-Users
mailing list