Ever since this morning my forum has only been showing a blank page on desktops, while being fine on mobile.
On loading the site the console logs the following error:
Uncaught TypeError: Cannot read property 'startRouting' of undefined
at i.startRouting (_ember_jquery-60dedd1….js:2859)
at i.didBecomeReady (_ember_jquery-60dedd1….js:3842)
at invoke (_ember_jquery-60dedd1….js:337)
at a.flush (_ember_jquery-60dedd1….js:405)
at u.flush (_ember_jquery-60dedd1….js:529)
at p.end (_ember_jquery-60dedd1….js:599)
at _ember_jquery-60dedd1….js:1165
So far I’ve tried to restart, rebuild, disable all plugins and rebuild again, revert to stable (instead of beta) and rebuild again, and removing the tmp folder inside of Discourse (as per Master branch giving blank page for dev), and then rebuild again.
I am sure I disabled all plugins, save for Docker Manager. I do route it through CloudFlare, and have been for some time. I’ll see about disabling performance optimizing for the forums in CloudFlare.
It is possible that this is a side effect of our Ember upgrade. Maybe Cloudflare has trouble with the new binary format of templates or something along those lines.
I’ve never had much luck in general with rocketloader on any platforms. Unless one goes to the trouble to excluding specific scripts. Cloudflare is great a great and easy way to do other optimizations (minification, ssl + http2, gzip etc) but rocketloader has caused more headaches for me whether its wordpress, socialengine or something else.
Hi @Deukhoofd; I work for Cloudflare and we’re currently investigating this issue. We’re trying to reproduce your error but we seem to be running into some trouble. Is there any chance you could either send me your site URL or a .har file which reproduces this JS error to junadeATcloudflareDOTcom?
This information will really help us get to the bottom of this.
We’ve been able to identify the bug which came as a result of an edge-case from a recent change. A fix has been found and was deployed early this morning.
I have tested this and the issue appears resolved; however please let me know if you’re still encountering any bugs.
@IcyApril - Just a heads up if you’re still with Cloudflare. Rocket Loader seems to cause this issue for mobile (blank white page), but desktop is fine.