Comments (11)
I need help in php
from graph.
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 CREATE TABLE
graph(
idint(11) NOT NULL PRIMARY KEY AUTO_INCREMENT,
useridint(11) DEFAULT NULL,
data text )
was not executed).
After creating the table manually the problem ceased to exist.
So the URL to use will be http://yoursite/emoncms/admin/db
from graph.
Hi,
Same Fatal error, clean install from git, Debian.
Error is displayed instead of:
- Any Dashboard,
- Dashboard edit.
Cannot save graph - without error, without warning ... just nothing happend.
http://.../dashboard/edit?id=1
Fatal error: Call to a member function fetch_array() on boolean in /var/www/users/emoncms
/www/emoncms/Modules/graph/graph_model.php on line 91
http://.../dashboard/view&id=1
Fatal error: Call to a member function fetch_array() on boolean in /var/www/users/emoncms/www/emoncms/Modules/graph/graph_model.php on line 91
In Apache log file is same information, nothing more.
Josef Krieglstein
from graph.
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
from graph.
Hi,
admin page:
Emoncms Version 9.7.3 | 2016.09.28
Server OS Linux 3.2.0-4-amd64
Host apache1 (127.0.1.1)
Date 2016-11-03 20:38:38 CET
Uptime 20:38:38 up 249 days, 7:29, 0 users, load average: 0.00, 0.01, 0.05
HTTP Server Apache/2.4.10 (Debian) HTTP/1.1 CGI/1.1 80
Database Version MySQL 5.5.52-0+deb8u1
Host localhost (127.0.0.1)
Date 2016-11-03 20:38:38 (UTC 01:00)
Stats Uptime: 994770 Threads: 1 Questions: 24899378 Slow queries: 0 Opens: 338 Flush tables: 1 Open tables: 186 Queries per second avg: 25.030
Memory RAM
Used 98.23%
Total: 495.52 MB Used: 486.77 MB Free: 8.75 MB
Disk Mount Stats
/
Used 7.35%
Total: 38.01 GB Used: 2.79 GB Free: 33.28 GB
PHP Version 5.6.26-0+deb8u1 (Zend Version 2.6.0)
Modules Core date ereg libxml openssl pcre zlib bcmath bz2 calendar ctype dba dom hash fileinfo filter ftp gettext SPL iconv mbstring session posix Reflection standard shmop SimpleXML soap sockets Phar exif sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter zip apache2handler PDO curl dio gd json mcrypt mysql mysqli pdo_mysql readline redis mhash Zend OPcache
from graph.
Hi,
I again go into admin page, update & check button found something with graph, by executing it, it is OK now.
I think, I was there before, because i found that solution for Version 7 in 2014, I have no idea, why I didn't see it on admin page some time ago. (emoncms/event_archived#26)
This issue is closed from my side.
Thanks a lot.
from graph.
@arthurlutz Have you any further information or update please.
Paul
from graph.
That URL will take you to the update database function, alternatively you can update via the menu;
Setup > Administration > Update Database
@arthurlutz did you update your database?
Paul
from graph.
I'm not having this bug anymore, I don't remember exactly how I fixed it though.
from graph.
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
Setup > Administration > Update Database
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).
from graph.
Yes, the page by design is only accessible on first login, therefore it's sometimes necessary to reauthenticate.
I'll have a look at the documentation later and see if I can make it clearer.
Thanks.
Paul
from graph.
Related Issues (20)
- Error displaying values when mouse over with the mouse HOT 1
- Graph module dependency on the config module for vue.js? HOT 7
- display realtime power as kw in dashboard HOT 1
- Vue not defined HOT 2
- issue downloading csv HOT 1
- Change background colour when embedded HOT 1
- In day or month view, show consumption up to present time
- Daily average show tooltips aligned to 12am? HOT 1
- Graph view and saved dashboards are not available publicly
- Bug. Embed graphs right y axis ignore the manual min and max. HOT 1
- Remove max-width in the css HOT 2
- How to add upper and lower threshold line to graph
- Stack option not work properly HOT 1
- More time periods
- Graphs displaying differently depending on Emoncms login status HOT 2
- per day charts : Raw feed cumulative converted to to daily consumption by the graph module can have many missing days
- graph buttons not responding in embed HOT 1
- graph id not shown HOT 1
- feedlist[0].data undefined
- Scale both Y Axis
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graph.