-
Notifications
You must be signed in to change notification settings - Fork 25
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
Call to a member function fetch_array() on boolean #6
Comments
Hi, Same Fatal error, clean install from git, Debian.
Cannot save graph - without error, without warning ... just nothing happend. http://.../dashboard/edit?id=1 http://.../dashboard/view&id=1 In Apache log file is same information, nothing more. Josef Krieglstein |
Sorry to hear your having trouble. What version PHP are you running? Could you post your Emoncms Admin page? Here is the mysql fetch_array function that's causing the error for you: http://php.net/manual/en/mysqli-result.fetch-array.php |
Hi, admin page: |
Hi, I again go into admin page, update & check button found something with graph, by executing it, it is OK now. This issue is closed from my side. |
@arthurlutz Have you any further information or update please. Paul |
I have encountered the same problem (adding the graph to existing installation later) and the cause was that the graph table has not been created (i.e. query like After creating the table manually the problem ceased to exist. So the URL to use will be |
That URL will take you to the update database function, alternatively you can update via the menu; Paul |
I'm not having this bug anymore, I don't remember exactly how I fixed it though. |
Maybe it would be better to make it clear in README.md and instead of the text "Check database updates in Admin" add the information to not forget to visit
and commit the changes. BTW it was not so straightforward, because I did not have this entry in menu and accessing the URL directly ended with page requesting reauthentication (I logged out/in under the same account and after that it worked). |
Yes, the page by design is only accessible on first login, therefore it's sometimes necessary to reauthenticate. Thanks. Paul |
Further explain the MYSQL db update process for Modules, to fix emoncms/graph#6
I need help in php |
on my self-hosted emoncms after an upgrade to emoncms 9.7.3 I get the following on dashboard view /emoncms/dashboard/view/elec
moving graph out of modules fixes the bug and the dashboards appear ok.
When graph is there the "graph" section seems to work fine.
The text was updated successfully, but these errors were encountered: