Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accounting information not being updated #515

Open
lwbnet opened this issue Apr 20, 2024 · 2 comments
Open

Accounting information not being updated #515

lwbnet opened this issue Apr 20, 2024 · 2 comments

Comments

@lwbnet
Copy link

lwbnet commented Apr 20, 2024

Hi,

I've got PPPoE users authenticating from an LNS/NAS. Upload/Download/usage figures get updated upon start/stop, however these values don't update at all until a disconnect/reconnect happens. My NAS is sending regular Interim-Update

Acct-Status-Type = Interim-Update
Acct-Input-Octets = 846643444
Acct-Output-Octets = 3378767493
Acct-Input-Packets = 96192173
Acct-Output-Packets = 131810242

Am I missing something simple to get this automatically updating?

@lwbnet
Copy link
Author

lwbnet commented Apr 24, 2024

Actually, this appears to be an issue with the Accounting part of the operators section, accounting figures are being updated under Reports > Online users

The issue looks to be with php and when browsing to acct-username.php?username=blah

From the Apache2 logs:

[php:error] [pid 1345] [client 185.x.x.x:43179] PHP Fatal error: Uncaught ArgumentCountError: 4 arguments are required, 3 given in /var/www/daloradius/app/operators/include/management/pages_common.php:377\nStack trace:\n#0 /var/www/daloradius/app/operators/include/management/pages_common.php(377): sprintf()\n#1 /var/www/daloradius/app/operators/acct-username.php(157): printTableHead()\n#2 {main}\n thrown in /var/www/daloradius/app/operators/include/management/pages_common.php on line 377, referer: http://x.x.x.x/mng-list-all.php

@lwbnet
Copy link
Author

lwbnet commented Apr 30, 2024

Any clues on this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants