500.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Error 500 - Internal Server Error</title>
  6. <style>
  7. @import url(http://fonts.googleapis.com/css?family=Ubuntu);
  8. body {
  9. background: #eee;
  10. color: #6d6d6d;
  11. font: normal normal normal 14px/1.253 Ubuntu, sans-serif;
  12. margin: 0 0 25px 0;
  13. min-width: 800px;
  14. padding: 0;
  15. }
  16. #main {
  17. background-clip: padding-box;
  18. background-color: #fff;
  19. border:1px solid #ccc;
  20. border-radius: 5px;
  21. box-shadow: 0 0 10px #cdcdcd;
  22. margin: 25px auto 0;
  23. padding: 30px;
  24. width: 700px;
  25. position: relative;
  26. }
  27. #main h1 {
  28. font-family: 'Ubuntu';
  29. font-size: 38px;
  30. letter-spacing: 2px;
  31. margin: 0 0 10px 0;
  32. padding: 0;
  33. }
  34. #main h2 {
  35. color: #999;
  36. font-size: 18px;
  37. letter-spacing: 3px;
  38. margin: 0 0 25px 0;
  39. padding: 0 0 0 0;
  40. }
  41. #main h3 {
  42. color: #999;
  43. margin-top: 24px;
  44. padding: 0 0 0 0;
  45. }
  46. #main h3 {
  47. font-size: 18px;
  48. }
  49. #main p {
  50. line-height: 25px;
  51. margin: 10px 0;
  52. }
  53. #main pre {
  54. background-color: #333;
  55. border-left: 1px solid #d8d8d8;
  56. border-top: 1px solid #d8d8d8;
  57. border-radius: 5px;
  58. color: #eee;
  59. padding: 10px;
  60. }
  61. #main ul {
  62. margin: 10px 0;
  63. padding: 0 30px;
  64. }
  65. #main li {
  66. margin: 5px 0;
  67. }
  68. </style>
  69. </head>
  70. <body>
  71. <div id="main">
  72. <?php $messages = array('Ouch.', 'Oh no!', 'Whoops!'); ?>
  73. <h1><?php echo $messages[mt_rand(0, 2)]; ?></h1>
  74. <h2>Server Error: 500 (Internal Server Error)</h2>
  75. <h3>What does this mean?</h3>
  76. <p>
  77. Something went wrong on our servers while we were processing your request.
  78. We're really sorry about this, and will work hard to get this resolved as
  79. soon as possible.
  80. </p>
  81. <p>
  82. Perhaps you would like to go to our <?php echo HTML::link('/', 'home page'); ?>?
  83. </p>
  84. </div>
  85. </body>
  86. </html>