MySQL Query Error: SELECT a.*,b.description,b.title,b.url,c.uid_hash,c.realname , b.content from news a inner join news_ml b on a.item_id=b.item_id left outer join account c on a.cuid=c.uid where 1=1 and status=1 and a.parent_id=0 and (a.category_code='banh-mi-ngon') AND NOW() >= a.pdate order by a.position asc,a.pdate desc LIMIT 999
Array ( [0] => Array ( [file] => /opt/lampp/htdocs/new.banhmique.com/_core/class/db_mysql.class.php [line] => 47 [function] => halt [class] => dbstuff [object] => dbstuff Object ( [querynum] => 7 [link_identifier] => Resource id #30 [charset] => ) [type] => -> [args] => Array ( [0] => MySQL Query Error [1] => SELECT a.*,b.description,b.title,b.url,c.uid_hash,c.realname , b.content from news a inner join news_ml b on a.item_id=b.item_id left outer join account c on a.cuid=c.uid where 1=1 and status=1 and a.parent_id=0 and (a.category_code='banh-mi-ngon') AND NOW() >= a.pdate order by a.position asc,a.pdate desc LIMIT 999 ) ) [1] => Array ( [file] => /opt/lampp/htdocs/new.banhmique.com/_core/function/block.func.php [line] => 22 [function] => query [class] => dbstuff [object] => dbstuff Object ( [querynum] => 7 [link_identifier] => Resource id #30 [charset] => ) [type] => -> [args] => Array ( [0] => SELECT a.*,b.description,b.title,b.url,c.uid_hash,c.realname , b.content from news a inner join news_ml b on a.item_id=b.item_id left outer join account c on a.cuid=c.uid where 1=1 and status=1 and a.parent_id=0 and (a.category_code='banh-mi-ngon') AND NOW() >= a.pdate order by a.position asc,a.pdate desc LIMIT 999 ) ) [2] => Array ( [file] => /opt/lampp/htdocs/new.banhmique.com/_core/function/common.func.php [line] => 882 [function] => block_data [args] => Array ( [0] => Array ( [sql] => select a.*,b.description,b.title,b.url,c.uid_hash,c.realname , b.content from news a inner join news_ml b on a.item_id=b.item_id left outer join account c on a.cuid=c.uid where 1=1 and status=1 and a.parent_id=0 and (a.category_code='banh-mi-ngon') AND NOW() >= a.pdate order by a.position asc,a.pdate desc [limit] => 999 [cachetime] => 0 [cachename] => cache_name_5cb4c243091fb3e8a3f09c97b2ec10dd ) ) ) [3] => Array ( [file] => /opt/lampp/htdocs/new.banhmique.com/_core/function.php [line] => 557 [function] => block [args] => Array ( [0] => sql/select a.*,b.description,b.title,b.url,c.uid_hash,c.realname , b.content from news a inner join news_ml b on a.item_id=b.item_id left outer join account c on a.cuid=c.uid where 1=1 and status=1 and a.parent_id=0 and (a.category_code='banh-mi-ngon') AND NOW() >= a.pdate order by a.position asc,a.pdate desc/indexkey//limit/999/cachetime/60/cachename/cache_name_5cb4c243091fb3e8a3f09c97b2ec10dd ) ) [4] => Array ( [file] => /opt/lampp/htdocs/new.banhmique.com/_core/page/client/public/news.php [line] => 23 [function] => get_item_from_category [args] => Array ( [0] => Array ( [table_name] => news [extra_sql] => AND NOW() >= a.pdate [sort_sql] => a.position asc,a.pdate desc [quantity] => 999 [get_more_field] => , b.content [get_type] => limit [category_code] => banh-mi-ngon ) ) ) [5] => Array ( [file] => /opt/lampp/htdocs/new.banhmique.com/_core/client.php [line] => 91 [args] => Array ( [0] => /opt/lampp/htdocs/new.banhmique.com/_core/page/client/public/news.php ) [function] => include ) [6] => Array ( [file] => /opt/lampp/htdocs/new.banhmique.com/index.php [line] => 171 [args] => Array ( [0] => /opt/lampp/htdocs/new.banhmique.com/_core/client.php ) [function] => include ) )