mySQL WARNING!DB Error: mySQL Error on Query : SELECT a.id as id, a.cid, a.title_tr, a.title_tr as atitle, a.title2_tr, a.title2_tr as atitle2, a.slug, a.short_desc_tr, a.thumb, a.thumb2, a.manset, a.body_tr, a.tags_tr as tags, a.created, a.modified, a.expire, a.active, b.name_tr as catname, b.active, b.backcolor, b.slug as catslug,
(SELECT GROUP_CONCAT(DISTINCT tagname_tr) FROM plug_blog_tags WHERE FIND_IN_SET(id,a.tags_tr) > 0)as tags
FROM mod_blog as a
LEFT JOIN mod_blog_categories as b ON a.cid = b.id
WHERE a.id = AND
a.active = 1
AND b.active = 1
AND a.created <= NOW()
AND (a.expire = '0000-00-00 00:00:00' OR a.expire >= NOW())
ORDER BY a.created DESC LIMIT 1
More Information:
- Mysql Error : 1064
- Mysql Error no # : 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 'AND
a.active = 1
AND b.active = 1
AND a.created <= NOW()
AND (a.expire = '0' at line 5
- Date : December 16, 2019, 1:07 am
- Referer:
- Script: /haber-rss.php