Gary I copied the json sub-directory to my root directory and it worked. I now have the averages.html and averages .json files in my root directory scripts sub- directory containing the average.js and theme.js json sub directory containing the scripts sub directory and the averages.html and averages.json
If I point my average hyperlink (index page)to the average.html in the root directory it works If I point my average hyperlink (index page) to the average.html in the json sub-directory it doesn't work You can view the web site at http://www.sheringhamweather.com Phil On Thursday, October 11, 2018 at 12:35:24 PM UTC+1, gjr80 wrote: > > Phil, > > The lines I highlighted suggest there is a syntax error in averages.js and > theme.js accessed by your web server. The averages skin should be copying > these files unchanged from the averages skin directory to a location that > is accessed by your web server. What I wanted you to do was to rule out > these files having been changed or otherwise corrupted somewhere along the > way. Hence asking you to compare what is being used by your web server > against what is on github. Downloading and reinstalling the files does not > necessarily prove they are good, especially if something is occurring > somewhere during installation/execution to corrupt them. > > If the web server versions are the same as on github I suspect there is > something else going on that manifests itself as syntax errors in these > files. Since your site is not visible publicly I would like to get a > picture of where the various files are on your system. Can you give me the > full path to the following files on your web server: > > averages.html > averages.js > theme.js > averages.json > > If you are running your web server on your WeeWX machine it is likely > these files are somewhere in /home/weewxpublic_html or /var/www/html. > > Can you also give me the URL you are using to access averages.html in your > browser. Not so much interested in the server address but the path that is > used to get to averages.html > > Unfortunately I am interstate until 22 October so am somewhat limited as > to what troubleshooting I can do. > > Gary > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
