Error Detected
 File: /home/jenny/public_html/lib/lib.site.php
 Line: 57
 Class: SITE
 Function: execQuery
  File: /home/jenny/public_html/lib/lib.blog.php
  Line: 346
  Class: BLOG
  Function: getEntries
  File: /home/jenny/public_html/index.php
  Line: 69
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 -14, 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 '-14, 7' at line 20


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

Posted:
Previous
Next