500.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <!-- withgusto 500 error page -->
  4. <head>
  5. <title>Server Error: It's a Five Double-Oh!</title>
  6. <meta charset="utf-8" />
  7. <!-- Enable HTML5 in IE except for IE9 -->
  8. <!--[if lt IE 9]>
  9. <script src="html5shiv.js"></script>
  10. <![endif]-->
  11. <!-- Fix the PNG transparency problem for IE6 and lower -->
  12. <!--[if lte IE 6]>
  13. <script type="text/javascript" src="supersleight-min.js"></script>
  14. <![endif]-->
  15. <script type="text/javascript">
  16. function getParameterByName(name)
  17. {
  18. name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
  19. var regexS = "[\\?&]" + name + "=([^&#]*)";
  20. var regex = new RegExp(regexS);
  21. var results = regex.exec(window.location.search);
  22. if(results == null)
  23. return "";
  24. else
  25. return decodeURIComponent(results[1].replace(/\+/g, " "));
  26. }
  27. function safe_tags(str) {
  28. return str.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;') ;
  29. }
  30. // This checks to see if the result is blank.
  31. // If it is, return something special. Otherwise, just escape and return the result.
  32. function getParameterByNameBC(name)
  33. {
  34. tmp = getParameterByName(name);
  35. if(tmp == "") {
  36. return "<b>None</b>";
  37. } else {
  38. return safe_tags(tmp);
  39. }
  40. }
  41. function getParameterByNameBool(name)
  42. {
  43. tmp = getParameterByName(name);
  44. if(tmp == "1") {
  45. return "Yes";
  46. } else if (tmp == "0") {
  47. return "No";
  48. } else {
  49. return "Unknown (server said "+getParameterByNameBC(name)+")";
  50. }
  51. }
  52. </script>
  53. <link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
  54. <style type="text/css">
  55. html {
  56. font-size: 100%;
  57. overflow-y: scroll;
  58. -webkit-text-size-adjust: 100%;
  59. -ms-text-size-adjust: 100%;
  60. }
  61. body {
  62. font-family: "PT Sans", Times, "Times New Roman", Arial, sans-serif;
  63. font-size: 16px;
  64. }
  65. .info, .success, .warning, .error, .validation, .criticalerror {
  66. border: 1px solid;
  67. margin: 10px 0px;
  68. padding:10px 10px 10px 50px; /* OLD: 15, 10, 15, 50 px */
  69. background-repeat: no-repeat;
  70. background-position: 10px center;
  71. display: inline-block;
  72. font-size: 14px;
  73. }
  74. .error {
  75. color: #D8000C;
  76. background-color: #FFBABA;
  77. background-image: url('error.png');
  78. }
  79. .criticalerror {
  80. color: #FFFFFF;
  81. background-color: #8C0000;
  82. background-image: url('error.png');
  83. }
  84. </style>
  85. </head>
  86. <body>
  87. <b>Oops! This webpage exploded into a million glittery pieces! :( (Error code 500!)</b><br /><br />
  88. Something bad happened internally - either the server is upset, or PHP
  89. is <a href="http://stackoverflow.com/questions/5317444/when-php-fatal-error-happens-nginx-reports-http-error-500-to-browser">throwing a tantrum</a>.<br />
  90. Notify the maintainer of this page first about this problem.<br />
  91. If the maintainer can't fix it or requests admin help, contact the admin!<br />
  92. Be sure to include the error details below.<br /><br />
  93. If you want to, you can try <script type="text/javascript">document.write("<a href='"+getParameterByNameBC("q")+"'>reloading</a> this page.");</script>
  94. <noscript>going to the page again.</noscript><br />
  95. Do NOT reload the current page; the page you have tried to access redirected to this error page.<br />
  96. (Don't use CTRL-R, F5, etc.)<br />
  97. Reloading this page will reload the error page, not the page you were looking for!
  98. <br /><br />
  99. <noscript>
  100. <div class="error">We detected that Javascript is disabled (or doesn't exist) for you.<br />
  101. Javascript must be enabled to show the error details below.<br />
  102. Please enable it and refresh this page (CTRL-R or F5).<br />
  103. If you are unable to enable Javascript (your browser doesn't support it,<br />
  104. security policy, etc.), send the URL of this page to the maintainer/admin.<br />
  105. This error page's URL contains all of the error information needed.</div><br /><br /></noscript>
  106. <div class="criticalerror">
  107. <b><u>Error details:</u></b><br />
  108. <b>Attempted to access page:</b> <script type="text/javascript">document.write(getParameterByNameBC("q"));</script><br />
  109. <b>Document root:</b> <script type="text/javascript">document.write(getParameterByNameBC("docroot"));</script><br />
  110. <b>Query String:</b> <script type="text/javascript">document.write(getParameterByNameBC("args"));</script><br />
  111. <b>Request filename:</b> <script type="text/javascript">document.write(getParameterByNameBC("fn"));</script><br />
  112. <b>Request type:</b> <script type="text/javascript">document.write(getParameterByNameBC("reqtype"));</script><br />
  113. <b>Accessed by:</b> <script type="text/javascript">document.write(getParameterByNameBC("remoteip"));</script><br />
  114. <b>HTTP User:</b> <script type="text/javascript">document.write(getParameterByNameBC("user"));</script><br />
  115. <b>PHP related error?</b> <script type="text/javascript">document.write(getParameterByNameBool("phprelated"));</script><br />
  116. </div>
  117. <br />
  118. Despite this page telling you that things are collapsing, it <i>is</i> <b><a href="http://validator.w3.org/check?uri=referer">HTML5 compliant</a></b>!
  119. </body>
  120. </html>