Hi!
I installed emoncms 9.2 on ubuntu server machine . All right. When you install " dashboard app " emoncms no longer working and returns error :
Fatal error: Call to a member function fetch_object() on boolean in /var/www/html/emoncms/Modules/dashboard/dashboard_model.php on line 69
The install procedure "https://github.com/emoncms/emoncms/blob/master/docs/LinuxInstall.md" not install dashboard module.
If I uninstall the module all comes back ok .
Some idea? Thank you, F.
Re: emoncms dashboard - [SOLVED]
Are you cloning the dashboard module from your /Modules folder, and updated your database?
The separation of the module has not resulted in any code changes, so can't understand why you're getting an error.
Re: emoncms dashboard - [SOLVED]
Suffering from the same error.
Grtz, Hans
Re: emoncms dashboard - [SOLVED]
Yes, i have cloning and update. You can tell me how update the database that check the correct procedure? I have same problem into two ubuntu pc whit ubuntu server 15 and apache2.
Thanks.
F.
Re: emoncms dashboard - [SOLVED]
I'll see if I can replicate this. It might be worth trying to run the database update manually.
http://SERVERIP/emoncms/admin/db?apply=true
Re: emoncms dashboard - [SOLVED]
Ok, I got the same error on installation of a fresh install. Running the database updater directly solved the issue for me: http://SERVERIP/emoncms/admin/db?apply=true.
I have also updated the dashboard module to avoid this error when its first installed, and the database table is not yet present. That makes it possible to navigate to the admin > database update page via the UI.
Re: emoncms dashboard - [SOLVED]
[SOLVED]
Goood! Your solution are solved! Thanks!
Running the database updater directly solved the issue for me: http://SERVERIP/emoncms/admin/db?apply=true
F.
Re: emoncms dashboard - [SOLVED]
Is there a way to run the database updater via command line script without login to emoncms?
Re: emoncms dashboard - [SOLVED]
Thnx.. Solved
BTW Mine was a fresh install on a Pi
Grtz, Hans