Any information on why I received a database error when I went to hit new posts?
I'm currently using vb 3.7.4
PHP Code:
Database error in vBulletin 3.7.4:
Invalid SQL:
SELECT blog_text.dateline AS dateline, blog_text.blogid, blog_text.state, blog_text.blogtextid, blog_text.username, blog_text.userid, date( FROM_UNIXTIME( blog_text.dateline ) ) AS date, time( FROM_UNIXTIME( blog_text.dateline ) ) AS time, blogtitle.userid AS authorid, blogtitle.username AS author, blogtitle.views AS views, pagetext, blogtitle.title AS title, blog_text.title AS text_title
FROM xxxblog_text AS blog_text
INNER JOIN (
SELECT max( blogtextid ) AS blogtextid
FROM xxxblog_text AS blog_text
GROUP BY blogid
)blogtextids ON blog_text.blogtextid = blogtextids.blogtextid
INNER JOIN xxxblog AS blogtitle ON blogtitle.blogid = blog_text.blogid
WHERE blog_text.dateline >=1230494900
AND blogtitle.state = 'visible'
ORDER BY blog_text.dateline DESC
LIMIT 5;
MySQL Error : 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 '( FROM_UNIXTIME( blog_text.dateline ) ) AS date, time( FROM_UNI
Error Number : 1064
Request Date : Sunday, January 4th 2009 @ 03:08:20 PM
Error Date : Sunday, January 4th 2009 @ 03:08:21 PM
Script : http://forums.xxx.com/search.php?do=getnew
Referrer : http://forums.xxx.com/index.php
IP Address : 68.102.23.100
Username : xxx
Classname : vb_database
MySQL Version : 4.0.20-standard