Hello, Subeta! As you may have noticed, some recent security changes we've pushed out to the site have been accompanied by seemingly random blank pages. I've actually heard people calling these "white screens of death," so I thought you all might appreciate an explanation of what causes them, what you should do about them, and how on earth they relate to security.
Blank pages are caused by errors on the page. Ordinarily servers will show the actual error, but it's considered a good practice to hide error messages to avoid giving away sensitive information (what if a password were included in the error?), so errors on Subeta show blank pages.
So what's causing the errors? There are 2 main causes, both of which are related to the recent security fixes we've pushed out. One is a typo in the security fixes. I'm not a perfect typist, and the changes spanned tens of thousands of lines of code, so of course, there were a few mistakes I made ;)
The second cause of errors is apostrophes... they are annoying little things. You probably won't believe me, but apostrophes are rather dangerous to unprotected websites! That's because they have special meaning in the Structured Query Language (SQL) used to communicate with databases. Unless apostrophes are properly escaped (with the backslash... making sense now?), they can cause SQL errors. Just such an error kept the shop buying page from working completely.
Incidentally, Subeta sometimes gets overzealous with escaping apostrophes, and you end up with multiple backslashes... sound familiar?
So what to do about blank pages? If you see a blank page, first check to make sure nobody has reported it in problems and bugs. Then go report it there yourself. If it's urgent (like it's keeping you from doing something important), also send me an email about it at [email protected]. In the email, tell me the exact link to the page you saw it on, as well as what you were doing at the time. Be as detailed as possible.
Anyway, just thought you might appreciate an explanation.
-Alex
Blank pages are caused by errors on the page. Ordinarily servers will show the actual error, but it's considered a good practice to hide error messages to avoid giving away sensitive information (what if a password were included in the error?), so errors on Subeta show blank pages.
So what's causing the errors? There are 2 main causes, both of which are related to the recent security fixes we've pushed out. One is a typo in the security fixes. I'm not a perfect typist, and the changes spanned tens of thousands of lines of code, so of course, there were a few mistakes I made ;)
The second cause of errors is apostrophes... they are annoying little things. You probably won't believe me, but apostrophes are rather dangerous to unprotected websites! That's because they have special meaning in the Structured Query Language (SQL) used to communicate with databases. Unless apostrophes are properly escaped (with the backslash... making sense now?), they can cause SQL errors. Just such an error kept the shop buying page from working completely.
Incidentally, Subeta sometimes gets overzealous with escaping apostrophes, and you end up with multiple backslashes... sound familiar?
So what to do about blank pages? If you see a blank page, first check to make sure nobody has reported it in problems and bugs. Then go report it there yourself. If it's urgent (like it's keeping you from doing something important), also send me an email about it at [email protected]. In the email, tell me the exact link to the page you saw it on, as well as what you were doing at the time. Be as detailed as possible.
Anyway, just thought you might appreciate an explanation.
-Alex
Posted by alx

Diana
Alex RULES! <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />
User not found:
thanks for telling us whats going on :3
Its not fun not knowing xP
Its not fun not knowing xP
ohh i've been wondering what was up with the blank pages (which i get on my friend's profiles) and also what the backslashes were for. thanks for the explanation!
User not found:
Thank you for explaining all the errors and why it was all happening.

I'll vote for you!
I think Faith is volunteering to type billions of miles of code for you though... <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />
I think Faith is volunteering to type billions of miles of code for you though... <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />
thank you so much for explaining about the apostrophes. I have seen other sites deal with the same problem and wondered why. At least now I will be less annoyed by them.
Oh yes, alx for president ... of the Subetan Galaxy!
Oh yes, alx for president ... of the Subetan Galaxy!
that's so awesome! thanks for explaining <img src="http://images.subeta.net/smilies/6398_emoticon_heart.gif" border="0" />
User not found:
It's nothing pressing, but...will Subeta Staff intend to correct the situation regarding the usage of possessives and contractions on the site? Being a proper typist, it's kind of annoying to see it'/s instead of it's.
Like I said: Not urgent. Just something I'd like to see in the future. <img src="http://images.subeta.net/smilies/6398_emoticon_happy.gif" border="0" />
Good work on the security update. The less occurrances like these we have, the better.
Like I said: Not urgent. Just something I'd like to see in the future. <img src="http://images.subeta.net/smilies/6398_emoticon_happy.gif" border="0" />
Good work on the security update. The less occurrances like these we have, the better.
Purge
STAFF
Good to know exactly what the cause of the blank pages are. Thanks for the update <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />
waits patiently for battling to come back
waits patiently for battling to come back
I was wondering what the backslashes were for.
Ill try and not to use them. XD
NO PROMISES THOUGH
Ill try and not to use them. XD
NO PROMISES THOUGH

Now I know what they are thanks for letting us know <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />
I consider myself enlightened. Thanks hun <img src="http://images.subeta.net/smilies/6398_emoticon_heart.gif" border="0" />

Thank you Alex.
I like how well you explain and keep us informed.
<img src="http://images.subeta.net/smilies/6398_emoticon_grin.gif" border="0" />
I like how well you explain and keep us informed.
<img src="http://images.subeta.net/smilies/6398_emoticon_grin.gif" border="0" />
The mystery of the multiplying backslashes has been revealed at last. xD
Thanks for the update. ;D
Thanks for the update. ;D
Very much appreciate the explanation, actually. Also for letting us know that you're on it with fixing the problems that arise as quickly as you can. Thank you greatly for everything! I do like to know when there's something going up. :3


smooshes You're always awesome with the explanations. <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" /> Thank you!
User not found:
I haven't seen a blank page yet,I'll look out though!Thanks!

Thanks for explaining everything.
Nice to know exactly whats going on <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />
Nice to know exactly whats going on <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />
