Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>Database Error</title>
  4. <style type="text/css">
  5. body {
  6. background-color: #fff;
  7. margin: 40px;
  8. font-family: Lucida Grande, Verdana, Sans-serif;
  9. font-size: 12px;
  10. color: #000;
  11. }
  12. #content {
  13. border: #999 1px solid;
  14. background-color: #fff;
  15. padding: 20px 20px 12px 20px;
  16. }
  17. h1 {
  18. font-weight: normal;
  19. font-size: 14px;
  20. color: #990000;
  21. margin: 0 0 4px 0;
  22. }
  23. </style>
  24. </head>
  25. <body>
  26. <div id="content">
  27. <h1>A Database Error Occurred</h1>
  28. <p>Error Number: 1064</p><p>You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE LENGTH(tournaments.tit)>0 ORDER BY dt DESC LIMIT 20' at line 9</p><p>SELECT tournaments.id, UNIX_TIMESTAMP(dt)`time`, tournaments.tit `title`, players `format`,
  29. num_players `players`, stat `status`, n.user_id,
  30. CONCAT('http://weplay.fresh-design.com.ua/upload/games/icon/',games.pic) game_logo_url
  31. FROM tournaments
  32. INNER JOIN games
  33. ON games.id=tournaments.game
  34. LEFT JOIN mob_notifications_tourn n
  35. ON n.tourn_id=tournaments.id AND n.user_id=
  36. WHERE LENGTH(tournaments.tit)>0 ORDER BY dt DESC LIMIT 20</p> </div>
  37. </body>
  38. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement