Warning: include(Modules/energy/energy_model.php): failed to open stream: No such file or directory in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 11
Warning: include(): Failed opening 'Modules/energy/energy_model.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 11
Warning: include(Modules/energy/energytypes.php): failed to open stream: No such file or directory in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 12
Warning: include(): Failed opening 'Modules/energy/energytypes.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 12
Fatal error: Call to undefined function energy_get_year() in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 14
After the latest update I am seeing this error. when trying to edit a new dashboard.
Re: dashboard error after update
After the energy module installation these errors are gone.
But there is another issue - dials aren't updating when user is logged off.
Re: dashboard error after update
What do you mean by the energy module installation?
I am getting this when viewing any dashboard:
Warning: include(Modules/energy/energy_model.php): failed to open stream: No such file or directory in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 11
Warning: include(): Failed opening 'Modules/energy/energy_model.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 11
Warning: include(Modules/energy/energytypes.php): failed to open stream: No such file or directory in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 12
Warning: include(): Failed opening 'Modules/energy/energytypes.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 12
Fatal error: Call to undefined function energy_get_year() in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 14
Did I miss some step on the update? (I did re-do the settings.php and run the DB update in admin functions).
Re: dashboard error after update
For me these errors gone after this additional Module installation:
https://github.com/emoncms/energy
Re: dashboard error after update
Sorry to sound stupid, but how do I pull this module using git?
Re: dashboard error after update
$ cd /var/www/emoncms/Modules
$ git clone https://github.com/emoncms/energy.git
Re: dashboard error after update
Very sorry about this error, I did not check its operation without the module, I will fix it so that the module does not have to be installed.
Re: dashboard error after update
Ok, its fixed now, the dashboard will now load module specific widgets only when those modules are installed.
Re: dashboard error after update
Thanks!
Re: dashboard error after update
Thank you I will try it later.
Re: dashboard error after update
That's working fine now, thanks