Inconsistent template loading.

Post Reply
User avatar
Ron
Observer
Observer
Posts: 16
Joined: Thu Nov 23, 2017 7:23 pm
Location: Central Alabama
Station model: WH1080
Software: Weewx
Contact:

Inconsistent template loading.

Post by Ron » Mon May 28, 2018 9:06 pm

I have data not showing on my page, the gauges come and go. I am trying to track down the problem. For a few times, I could clear the cache in the template and whatever browsers. The template would load fine, for one time only. If I refreshed the page, the template is missing most things again. This is testing it with Chrome, Chromium, and Firefox. Now it is to the point, that even clearning caches isn't working. I removed all blocks, and re-added different ones, still won't load correctly.
The only thing that loads consistently, is my webcam block. :D
I remember with one problem I had, I read where someone else was advised to clear a folder of the contents, and let it rebuild. I can't find that thread.

Does anyone have an idea of what might be happening? I also noticed, that when it is not displaying the template right, the signature is all off, showing false readings. When it loads correctly, the signature is correct.

Linux
Firefox, Chrome, Chromium
Raspberry Pi
Hosted on Shared hosting. 1GB unlimited storage.

Thanks,
Selection_008.png
Selection_008.png (173.03 KiB) Viewed 5024 times
Image

User avatar
Dehatter
Professional
Professional
Posts: 350
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Re: Inconsistent template loading.

Post by Dehatter » Tue May 29, 2018 10:14 am

I got the same view as your image .... the first time. Did not load. Someone smarter than me will have to figger this one out.

Tom
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Inconsistent template loading.

Post by Jachym » Tue May 29, 2018 10:34 am

There is some "rocket-loader" script being loaded and causing issues - this was not part of MT so either you added this or your site was hacked

User avatar
Ron
Observer
Observer
Posts: 16
Joined: Thu Nov 23, 2017 7:23 pm
Location: Central Alabama
Station model: WH1080
Software: Weewx
Contact:

Re: Inconsistent template loading.

Post by Ron » Tue May 29, 2018 5:41 pm

Thanks for looking at it for me. It turns out, Cloud Flare inserts the "rocket-loader" script. I had to go to the main cloudflare site as the shared hosting cpanel, only had simple controls for cloud flare.

After reading some topics on rocket-loader, it seems it can really cause headaches just on some sites. I turned off rocket-loader from the advanced cloud flare ACP, and MT seems to be working right. I will give it a few hours.

Thanks again for the fast response, and a fine software.

Ron
Image

Post Reply