Page 1 of 1

Graphs not displaying on web site

Posted: Tue 24 Nov 2015 11:31 am
by Grimers
Hi,

I have just installed Cumulus MX and the graphs aren't loading in to my website. I have the standard files/images ticked and FTP passive mode on but the graphs do not load in.

Here is my website page: http://newton-poppleford-weather.co.uk/trends.htm

Many thanks in advance.

Re: Graphs not displaying on web site

Posted: Tue 24 Nov 2015 11:54 am
by steve
Being underhand and registering a new account does not alter the fact that you have been banned from this forum, and I really should just ban this account as well. But I will let it go for now, perhaps you have learned to behave properly. At the first sign that you are returning to your old ways, I will ban this account without warning.

I have moved your post as the thread you posted in was nothing to do with the standard MX graphs, which are apparently the ones you are having problems with.

You say you have the standard images option selected - there is no such option in MX. You need to have "Include graph data files" selected. Setting this causes a set of json files to be uploaded to your ftp server, and it is these files which are used for the graphs. These are apparently missing from your server, e.g. http://newton-poppleford-weather.co.uk/graphconfig.json returns "404 not found".

Please confirm that you have "Include graph data files" selected, and if you do, please check whether the json files are actually present on your ftp server - it may that your web server is refusing to send them.

Re: Graphs not displaying on web site

Posted: Tue 24 Nov 2015 12:09 pm
by Grimers
Hi steve,

Thanks for your reply. I understand your annoyance at creating a new account, but I hope to prove that I have learnt to be less forceful and argumentative. :)

I can confirm that the "Include graph data files" checkbox is checked in the Cumulus MX settings and yes you are correct, those files are not present on the server. Maybe this is something to do with 123 reg?

Re: Graphs not displaying on web site

Posted: Tue 24 Nov 2015 12:15 pm
by steve
If you turn on ftp logging and wait for an upload, the ftplog.txt file which is generated may throw some light on the problem.

Re: Graphs not displaying on web site

Posted: Tue 24 Nov 2015 12:26 pm
by Grimers
I can't see anything obvious to do with those files you stated, but here are a few uploads:

Re: Graphs not displaying on web site

Posted: Tue 24 Nov 2015 1:06 pm
by steve
It's uploading them and not getting any errors back, so the problem must lie with the server, if they don't appear on the server. Perhaps it doesn't accept .json files, but doesn't give an error for them either.

Re: Graphs not displaying on web site

Posted: Tue 24 Nov 2015 1:12 pm
by Grimers
This is interesting. I've just checked the server again and the files are all of sudden now present but the trends page is still only showing a white box, however when I click on "Sun Hours" it displays the outline of the graph but no data is present.

Is it because I have UTF-8 selected by any chance?

Re: Graphs not displaying on web site

Posted: Tue 24 Nov 2015 1:15 pm
by steve
The web server is still returning 404 for all of the json files.

Re: Graphs not displaying on web site

Posted: Tue 24 Nov 2015 1:44 pm
by Grimers
Called 123-reg and all is fixed.

Re: Graphs not displaying on web site

Posted: Mon 13 Mar 2017 8:21 pm
by Grimers
Sorry to bring up an old thread. I'm facing a similar issue again, though some of the graphs do display... All of the files are present locally and on the server and each pair have the same file size!

http://newton-poppleford-weather.co.uk/trends.htm

The lack of data is let's say, a long story... ;)

Re: Graphs not displaying on web site

Posted: Mon 13 Mar 2017 8:41 pm
by steve
Looks like you have both 'delete before upload' and 'rename' selected - not a useful combination, and it's apparently the cause of your problem in this case. Try turning off 'delete before upload'.

Re: Graphs not displaying on web site

Posted: Mon 13 Mar 2017 8:50 pm
by Grimers
Thanks for the quick reply, Steve!

Turning off "Delete before upload" didn't work but turning off "FTP rename" did to an extent, though 2 are still missing. I hope your travels are going well.

Re: Graphs not displaying on web site

Posted: Mon 13 Mar 2017 8:54 pm
by steve
The graphs that are empty are the daily graphs, and you apparently started from scratch less than an hour ago - so, no daily graphs.

Re: Graphs not displaying on web site

Posted: Mon 13 Mar 2017 8:56 pm
by Grimers
Oh, is that a feature of a new build? As before they used to show just one point and then build over time as expected.

Re: Graphs not displaying on web site

Posted: Mon 13 Mar 2017 8:58 pm
by steve
They can't show one point yet, you don't have one point to plot yet.