Error Detected
 File: /home/adam/public_html/lib/lib.site.php
 Line: 53
 Class: SITE
 Function: execQuery
  File: /home/adam/public_html/lib/lib.blog.php
  Line: 346
  Class: BLOG
  Function: getEntries
  File: /home/adam/public_html/index.php
  Line: 71
SELECT be.entry_id, be.entry_title, be.entry_seo_title, UNIX_TIMESTAMP(be.entry_time) AS entry_time, CONCAT('entry/',DATE_FORMAT(be.entry_time,'%Y/%m/'),be.entry_seo_title,'.html') AS entry_url, be.comment_url_text, be.entry_content, CASE WHEN be.entry_update_time IS NOT NULL THEN UNIX_TIMESTAMP(be.entry_update_time) ELSE UNIX_TIMESTAMP(be.entry_time) END AS entry_update_time, be.entry_etag, CASE WHEN cc.Comment_Count IS NOT NULL THEN cc.Comment_Count ELSE 0 END AS Comment_Count FROM blog_entry be LEFT OUTER JOIN ( SELECT entry_id, COUNT(*) AS Comment_Count FROM entry_comment GROUP BY entry_id ) cc ON be.entry_id = cc.entry_id WHERE 0=0 ORDER BY be.entry_time DESC LIMIT -7, 71064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-7, 7' at line 20


Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/adam/public_html/lib/lib.site.php on line 255

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/adam/public_html/lib/lib.site.php on line 257

Warning: Invalid argument supplied for foreach() in /home/adam/public_html/lib/lib.blog.php on line 348
AdamStout.com

About Adam

Adam Stout works in the technology field and is currently located in the Washington D.C. Metro area.

Topics

Search

Connect

Recent Entries

ATOM Feed

Posted:
Previous
Next