after updating emoncsm3 on my server on 7/08 its creating each 6 seconds 7 entries to the error_log file:
[19-Aug-2012 20:36:06] PHP Warning: Wrong parameter count for round() in /home/linuxste/public_html/datalog/Models/process_model.php on line 452
[19-Aug-2012 20:36:06] PHP Warning: Wrong parameter count for round() in /home/linuxste/public_html/datalog/Models/process_model.php on line 452
[19-Aug-2012 20:36:06] PHP Warning: Wrong parameter count for round() in /home/linuxste/public_html/datalog/Models/process_model.php on line 452
[19-Aug-2012 20:36:06] PHP Warning: Wrong parameter count for round() in /home/linuxste/public_html/datalog/Models/process_model.php on line 452
[19-Aug-2012 20:36:06] PHP Warning: Wrong parameter count for round() in /home/linuxste/public_html/datalog/Models/process_model.php on line 452
[19-Aug-2012 20:36:06] PHP Warning: Wrong parameter count for round() in /home/linuxste/public_html/datalog/Models/process_model.php on line 452
[19-Aug-2012 20:36:06] PHP Warning: Wrong parameter count for round() in /home/linuxste/public_html/datalog/Models/process_model.php on line 452
[19-Aug-2012 20:36:12] PHP Warning: Wrong parameter count for round() in /home/linuxste/public_html/datalog/Models/process_model.php on line 452
[19-Aug-2012 20:36:12] PHP Warning: Wrong parameter count for round() in /home/linuxste/public_html/datalog/Models/process_model.php on line 452
[19-Aug-2012 20:36:12] PHP Warning: Wrong parameter count for round() in /home/linuxste/public_html/datalog/Models/process_model.php on line 452
[19-Aug-2012 20:36:12] PHP Warning: Wrong parameter count for round() in /home/linuxste/public_html/datalog/Models/process_model.php on line 452
[19-Aug-2012 20:36:12] PHP Warning: Wrong parameter count for round() in /home/linuxste/public_html/datalog/Models/process_model.php on line 452
[19-Aug-2012 20:36:12] PHP Warning: Wrong parameter count for round() in /home/linuxste/public_html/datalog/Models/process_model.php on line 452
[19-Aug-2012 20:36:12] PHP Warning: Wrong parameter count for round() in /home/linuxste/public_html/datalog/Models/process_model.php on line 452
now the log file was 178mb already, is there a option to set a max file size to the file error_log? i have shared webhosting and was running out of space.
Re: emoncms3 error_log
Hmm, thats not good, I will look into it
Re: emoncms3 error_log
Hi Trystan,
Please take a look at https://github.com/openenergymonitor/emoncms3/pull/72 which resolves most of the PHP warnings present in the current code.
Matthew
Re: emoncms3 error_log
Wow Matt, sorry Im not sure how I missed all your pull requests! will look at them now