Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Database Error</title>
- <style type="text/css">
- body {
- background-color: #fff;
- margin: 40px;
- font-family: Lucida Grande, Verdana, Sans-serif;
- font-size: 12px;
- color: #000;
- }
- #content {
- border: #999 1px solid;
- background-color: #fff;
- padding: 20px 20px 12px 20px;
- }
- h1 {
- font-weight: normal;
- font-size: 14px;
- color: #990000;
- margin: 0 0 4px 0;
- }
- </style>
- </head>
- <body>
- <div id="content">
- <h1>A Database Error Occurred</h1>
- <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`,
- num_players `players`, stat `status`, n.user_id,
- CONCAT('http://weplay.fresh-design.com.ua/upload/games/icon/',games.pic) game_logo_url
- FROM tournaments
- INNER JOIN games
- ON games.id=tournaments.game
- LEFT JOIN mob_notifications_tourn n
- ON n.tourn_id=tournaments.id AND n.user_id=
- WHERE LENGTH(tournaments.tit)>0 ORDER BY dt DESC LIMIT 20</p> </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement