Last month of year leads to an error in a function which should return the first timestamp of actual month and last timestamp of actual month.
http://git.ipfire.org/?p=people/amarx/ipfire-2.x.git;a=commit;h=ddfc0693e99bbc241f4e054ddcba85f0068596fd Fixes this error. Please review and commit
Merged that into next
Yes, it solves the problem. Tried on my system.
The problem is not finally solved. All bills that has been created & sent were empty. When you go to the host overview and choice 12/2014 and klick on the monitor button behind the host, no graph is shown.
Error message in webserver log: Can't call method "png" on an undefined value at /srv/web/ipfire/cgi-bin/accounting.cgi line 952., referer: https://192.168.1.1:444/cgi-bin/accounting.cgi
http://git.ipfire.org/?p=people/amarx/ipfire-2.x.git;a=commit;h=003b3f6de39381d1e5263f211d0aab2817c9b729 The bills are indeed empty, because there was no data collected until the first patch is applied. second part: On the pdf bill, the month was "00" instead of "12". This is fixed with this patch.
Merged that into master as this looks rather urgent... Please don't forget to confirm that the fix works.
Created attachment 244 [details] Status-Button
Created attachment 245 [details] No-Graph
The pdf bills are not empty anymore. But when you click on the status button in the host overview the graph is not shown and the webserver reports "Can't call method "png" on an undefined value at /srv/web/ipfire/cgi-bin/accounting.cgi line 952., referer: https://192.168.1.1:444/cgi-bin/accounting.cgi" Take a look at my pictures that I attached.
Is this bug still up to date? (Currently cleaning up the bug list... :-) )
No the problem is solved.