Logged-out users get a blank screen of death
-
People not currently logged in get rendered a nice blank screen if they try to view a thread.
I tested this on Seamonkey, MSIE, and Oprah 12. (Proxy is not at fault at this time.)
Oprah gives this backtrace: (The other browsers give the same error.)
[30.1.2015 12:41:50] JavaScript - http://what.thedailywtf.com/t/a-shining-perl/7649 Event thread: load Uncaught exception: TypeError: 'e.render' is not a function Error thrown at line 15, column 21764 in <anonymous function: renderButtons>(e) in http://what.thedailywtf.com/assets/application-0afd92471ffec3fcd18fa6d777ef046a.js: e.render(t) called from line 15, column 20699 in <anonymous function: renderButtons>(e, t) in http://what.thedailywtf.com/assets/application-0afd92471ffec3fcd18fa6d777ef046a.js: Discourse.SiteSettings.post_menu.split("|").forEach(function(t){var o=s["buttonFor"+t.replace(/\+/,"").capitalize()];if(o){var u=o.call(s,e);u&&(n.push(u),(i&&u.opts.alwaysShowYours||e.get("wiki")&&u.opts.alwaysShowWiki||-1===r.indexOf(t))&&a.push(u))}}),!this.get("collapsed")||n.length<=a.length+1?a=n:a.splice(a.length-1,0,this.buttonForShowMoreActions(e)),t.push('<div class="actions">'),a.forEach(function(e){e.render(t)}),t.push("</div>") called from line 15, column 19073 in <anonymous function: renderString>(e) in http://what.thedailywtf.com/assets/application-0afd92471ffec3fcd18fa6d777ef046a.js: e.push("<nav class='post-controls'>"),this.renderReplies(t,e),this.renderButtons(t,e),this.renderAdminPopup(t,e),e.push("</nav>") called via Function.prototype.call() from line 9, column 29248 in _(e, t, n) in http://what.thedailywtf.com/assets/vendor-dbbeea175424f8d4311b1fa7f19bb6c1.js: var r=n&&n.length; called from unknown location in n() in http://what.thedailywtf.com/assets/vendor-dbbeea175424f8d4311b1fa7f19bb6c1.js: /* no source available */ called from unknown location in <anonymous function: render>(e) in http://what.thedailywtf.com/assets/application-0afd92471ffec3fcd18fa6d777ef046a.js: /* no source available */ called from line 9, column 29248 in _(e, t, n) in http://what.thedailywtf.com/assets/vendor-dbbeea175424f8d4311b1fa7f19bb6c1.js: var r=n&&n.length; called from unknown location in n() in http://what.thedailywtf.com/assets/vendor-dbbeea175424f8d4311b1fa7f19bb6c1.js: /* no source available */ called from unknown location in <anonymous function: l.prototype.createElement>(e, t) in http://what.thedailywtf.com/assets/vendor-dbbeea175424f8d4311b1fa7f19bb6c1.js: /* no source available */ called from unknown location in r(e, t, n) in http://what.thedailywtf.com/assets/vendor-dbbeea175424f8d4311b1fa7f19bb6c1.js: /* no source available */
The main topic list works, but if I try to enter a thread, it gives me same error but manages to display the thread title, the post count progress bar, and the lovely AJAX spinner of death. No posts get rendered.
-
Paging @PJH, @ChaosTheEternal - this could be related to the 'View Raw' button?
Also repro'd.
-
Or in case of Server Cooties™ - @sam
-
Can repro btw.
-
Or in case of Server Cooties™ - @sam
This one isn't Server Cooties™: they're not in effect right now.
-
Moved to Bugs category
-
They take many forms. It's an ever evolving disease.
Or maybe it's Discodiarrhoea .
-
Paging @PJH, @ChaosTheEternal - this could be related to the 'View Raw' button?
Possibly....
-
Could someone else test the following while not logged in?
I'd expect the first to work and the second to whitescreen if it is the raw button...
If it is I'm going to have to remove the logged-in check and have the button appear all the time.
-
Tested in IE on Win8. First works, the second doesn't
-
-
Yeah - this.
-
And again?
I'd expect both to work now.
-
-
Confirmed
-
And it appears that non-logged in can now view raw. I have a nasty suspicion...
-
-
-
So they see a button that does… nothing? A Discobutton?
-
It very much does a thing:
The same withing "View Source" would do in their browser.
http://what.thedailywtf.com/t/mad-hatter-hijinx/7333/413Very disco, indeed.
-
I am surprisingly OK with that.
-
Does the button have any description? (I can't see it on this PC). We can just pretend it's by design.
"Yes, we've got a "dump HTML for the whole site inside this post" button, why do you ask?"
-
Does the button have any description? (I can't see it on this PC). We can just pretend it's by design.
It has a title so yes, tooltip on hover (view raw post).
"Yes, we've got a "dump HTML for the whole site inside this post" button, why do you ask?"
It's magically Discoursistent!
-
We can just pretend it's by design.
That reminds me ...
Why in the world did @wood remove the share button for users that aren't logged in?
-
Why in the world did @wood remove the share button for users that aren't logged in?
Because he can't track them:
http://what.thedailywtf.com/t/logged-out-users-get-a-blank-screen-of-death/7699/24?u=onyx
-
But the share button also gives you facebook sharing and such!
And it used to exist for logged-out users when all this began.
-
That's the tooltip for all 4 buttons. Weird.
-
Discourse...... Why did I got two separate linked notifications for that post?
Oh right..... It's discourse
-
Discourse...... Why did I got two separate linked notifications for that post?
Because they're two different URLs?
You should have got 2 for the previous post as well...
-
Don't blame it on the sunshine
Don't blame it on the moonlight
Don't blame it on the good times
Blame it on the boogiehttps://www.youtube.com/watch?v=pzS7zVNgWrg
Filed under: I merged in a fix today that allows anon to see raw
-
You should have got 2 for the previous post as well...
no notifications for the first post at all.
odd.
-
Because he can't track them:
http://what.thedailywtf.com/t/logged-out-users-get-a-blank-screen-of-death/7699/24&?u=onyx
Oh, I've been deleting that part from the URL's, as I didn't really see what purpose it served...
-
Oh, I've been deleting that part from the URL's, as I didn't really see what purpose it served...
It's for these badges
-
Oprah gives this backtrace
All of that in her TV show?
Filed under: It's crazy that nobody spotted it yet.
-
It's crazy that nobody spotted it yet
I think that, through reading @accalia posts, the brain develops a greatly enhanced ability to autocorrect tyops, spellars, and grammings
-
We need a bot that follows @accalia round, checking all her posts for spelling and editing them to be correct where applicable
Or running them through @translator and seeing if that output is better spelled.
-
After 10 translations Bing says: To read this message @accalia the corresponding counter is also offering better treatment @translator: smile: your charm, de la, or you don't see * as *.
Filed under: English -> Vietnamese -> Finnish -> Chinese Simplified -> Thai -> Greek -> French -> Slovak -> Haitian Creole -> Japanese -> Hebrew -> English
-
We need a bot that follows @accalia round, checking all her posts for spelling and editing them to be correct where applicable
If she doesn't use her browser's spellchecker, how much use do you think she'd have for a spelling-correcting bot? ;)
-
It'd be automatic, thus solving that one.
-
If she doesn't use her browser's spellchecker, how much use do you think she'd have for a spelling-correcting bot?
iiiiinteresting.....
this is an idea.... :-)
-
-
Remember you can always share by clicking or tapping the date at the upper right of each post. Even as anon.
Date = permalink, etc.
-
Oh, so the e-mail name comes from the forum's realname field. I was confused, because I got a notification e-mail with the following From: line
From: Brownies are Delicious™ use-the-contact-form@thedailywtf.com
-
Date = permalink, etc.
Aside from that still making as much sense as it did when implemented, what's the reasoning behind "we'll drop the share button for logged-in users, but we'll keep the functionality available in a more obscure way"? If it was even a remotely sensible idea (and frankly it's not), it should be the other way around - new users will have a harder time figuring out the obscure way as compared to old ones.
Have... have you been using the sex dice again?
-
Oh, so the e-mail name comes from the forum's realname field.
Just another in the long line of WTFs infesting Discourse
-
Just another in the long line of WTFs infesting Discourse
Well, that does make some sense when it's an actual name. We're... a bit special in that regard.
-
Well, that does make some sense when it's an actual name. We're... a bit special in that regard.
Even Brownies are Delicious™?
-
what's the reasoning behind "we'll drop the share button for logged-in users, but we'll keep the functionality available in a more obscure way"
It being literally the only button in the post actions menu, I believe...
Put another way, "wasting vertical space".
+ likes also require account
p.s. ever since the View Raw got integrated properly with that menu, it feels like a native feature
-
wasting vertical space
Yeah, I hear that's at a real premium in an infiniscroll website...
-
@riking said:
wasting vertical space
Yeah, I hear that's at a real premium in an infiniscroll website...The solution is probably to make the reply boxes start to get wider as more replies are posted, which should mean that the thread itself doesn't keep getting longer, and you don't need to worry about hitting the bottom any more.