I updated to the latest CVS of dialup_admin, and am getting this error
when I click on "statistics":
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 117
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 120
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 123
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 117
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 120
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 123
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 117
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 120
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 123
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 117
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 120
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 123
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 117
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 120
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 123
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 117
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 120
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 123
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 117
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 120
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 123
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 117
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 120
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 123
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 117
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 120
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 123
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 132
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 133
Warning: Cannot use a scalar value as an array in
/usr/local/dialup_admin/htdocs/stats.php3 on line 134
Warning: Division by zero in /usr/local/dialup_admin/htdocs/stats.php3
on line 136
Warning: Division by zero in /usr/local/dialup_admin/htdocs/stats.php3
on line 137
Warning: Division by zero in /usr/local/dialup_admin/htdocs/stats.php3
on line 138
I'll try to figure it out, but I thought I'd send it over in case it was
a bug or something.
- Nick
On Thu, 2005-03-10 at 08:50, Kostas Kalevras wrote:
> On Thu, 10 Mar 2005, Nick Bright wrote:
>
> > On Thu, 2005-03-10 at 08:33, Nick Bright wrote:
> >> Since I'm using the version of dialup_admin from the 1.0.2 release of
> >> freeradius (with freeradius 1.0.1), would you suggest updating the whole
> >> thing to the latest CVS?
>
> You can probably just update the user_finger.php3. But it's much better to
> just
> update the whole dialupadmin
>
> >
> > Clarification of my own email (hehe), I mean update dialup_admin to the
> > latest CVS, not the whole freeradius package.
> >
> >> I'm also curious, why is naslist.conf used, instead of reading the
> >> information from the "nas" table in sql?
>
> In recent versions of dialupadmin the nas table is also used if it is set. If
> you find a lib/sql/nas_list.php3 file then you have such a version.
>
> >>
> >> On Wed, 2005-03-09 at 15:57, Kostas Kalevras wrote:
> >>> On Wed, 9 Mar 2005, Nick Bright wrote:
> >>>
> >>>> I have a rather large naslist.conf file, all configured to use
> >>>> finger_type database. However, snmpfinger insists upon querying each and
> >>>> every one as a cisco nas (they aren't, and i don't even have SNMP
> >>>> priviledges on most of them).
> >>>
> >>> Yes, there's a bug in user_finger.php3. Please do a cvs update on the
> >>> file and
> >>> things should work. Or you can just set general_finger_type to whatever
> >>> value
> >>> (apart from snmp) and still get the same results.
> >>>
> >>> Thanks for noting that.
> >>>
> >>>>
> >>>> My naslist.conf file is "generated" by manipulating some spreadsheet
> >>>> stuff, so the lines for each nas aren't grouped together. I don't know
> >>>> if that is causing a problem or not.
> >>>>
> >>>> However, my configuration for each nas is something like this:
> >>>>
> >>>> nasX_name: nameofnas.%{general_domain}
> >>>> nasX_model: Useful Description
> >>>> nasX_type: other
> >>>> nasX_port_num: 4096
> >>>> nasX_community: rocomm
> >>>> nasX_finger_type: database
> >>>>
> >>>> The only variable here is the nasX_type field, which could be: other,
> >>>> usrhiper, or lucent
> >>>>
> >>>> The port_num field is appropriate for the NAS, or 4096 if it's a proxy
> >>>> provider (outsourced dialup)
> >>>>
> >>>> All nases are set for finger_type "database", so they shouldn't even be
> >>>> firing off snmpfinger at all . . .
> >>>>
> >>>> --
> >>>> - Nick Bright
> >>>> Terraworld, Inc
> >>>> 888-332-1616 x315
> >>>> http://home.terraworld.net
> >>>>
> >>>>
> >>>> -
> >>>> List info/subscribe/unsubscribe? See
> >>>> http://www.freeradius.org/list/users.html
> >>>>
> >>>
> >>> --
> >>> Kostas Kalevras Network Operations Center
> >>> [EMAIL PROTECTED] National Technical University of Athens, Greece
> >>> Work Phone: +30 210 7721861
> >>> 'Go back to the shadow' Gandalf
> >>>
> >>> -
> >>> List info/subscribe/unsubscribe? See
> >>> http://www.freeradius.org/list/users.html
> > --
> > - Nick Bright
> > Terraworld, Inc
> > 888-332-1616 x315
> > http://home.terraworld.net
> >
> >
> > -
> > List info/subscribe/unsubscribe? See
> > http://www.freeradius.org/list/users.html
> >
>
> --
> Kostas Kalevras Network Operations Center
> [EMAIL PROTECTED] National Technical University of Athens, Greece
> Work Phone: +30 210 7721861
> 'Go back to the shadow' Gandalf
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--
- Nick Bright
Terraworld, Inc
888-332-1616 x315
http://home.terraworld.net
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html