ошибка пр добавлении Views_attach

Главные вкладки

Аватар пользователя NaZg NaZg 30 октября 2009 в 22:24
    * USER warning: 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 'AND n.type = 'image' AND n.status = 1 ORDER BY n.sticky DESC, n.created DESC LIM' at line 1 query: SELECT DISTINCT(n.nid) FROM node n INNER JOIN term_node tn ON n.nid = tn.nid WHERE tn.tid = AND n.type = 'image' AND n.status = 1 ORDER BY n.sticky DESC, n.created DESC LIMIT 0, 1 IN x:\home\girlz\www\modules\image\contrib\image_gallery\views\image_gallery_handler_field_gallery_cover.inc ON line 162.
    * USER warning: 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 'AND n.type = 'image' AND n.status = 1 ORDER BY n.sticky DESC, n.created DESC LIM' at line 1 query: SELECT DISTINCT(n.nid) FROM node n INNER JOIN term_node tn ON n.nid = tn.nid WHERE tn.tid = AND n.type = 'image' AND n.status = 1 ORDER BY n.sticky DESC, n.created DESC LIMIT 0, 1 IN x:\home\girlz\www\modules\image\contrib\image_gallery\views\image_gallery_handler_field_gallery_cover.inc ON line 162.
    * USER warning: 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 'AND n.type = 'image' AND n.status = 1 ORDER BY n.sticky DESC, n.created DESC LIM' at line 1 query: SELECT DISTINCT(n.nid) FROM node n INNER JOIN term_node tn ON n.nid = tn.nid WHERE tn.tid = AND n.type = 'image' AND n.status = 1 ORDER BY n.sticky DESC, n.created DESC LIMIT 0, 1 IN x:\home\girlz\www\modules\image\contrib\image_gallery\views\image_gallery_handler_field_gallery_cover.inc ON line 162.

что это?

Комментарии

Аватар пользователя egrik egrik 31 октября 2009 в 9:22

По всей видимости, какая то несовместимость с модулем modules\image\contrib\image_gallery\views\
Быть может будет лучшим решением вставлять views в нужный шаблон (tpl), используя views_embed ?