- 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 (node.status = 1)
AND (term_node.nid = node.nid)
AND (node.vid = conte' at line 3
query: SELECT COUNT(*) FROM node,term_node,content_field_photos,files,content_type_anketa
WHERE (node.type ='anketa')
AND (node.nid = )
AND (node.status = 1)
AND (term_node.nid = node.nid)
AND (node.vid = content_type_anketa.vid)
AND (node.vid = content_field_photos.vid)
AND (content_field_photos.field_photos_fid = files.fid)
in /home/immagnet/data/www/magnet-models.com/sites/all/modules/view_models/view_models.module on line 498.
- 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 (node.status = 1)
AND (term_node.nid = node.nid)
AND (node.vid = conte' at line 18
query: SELECT
node.vid AS node_vid,
node.title AS node_title,
files.filepath AS photo_filepath,
files.filename AS photo_filename,
term_node.tid AS tid_podkat,
content_type_anketa.field_work_value AS model_work,
content_type_anketa.field_day_value AS model_day,
content_type_anketa.field_month_value AS model_month,
content_type_anketa.field_year_value AS model_year,
content_type_anketa.field_height_value AS model_height,
content_type_anketa.field_bust_value AS model_bust,
content_type_anketa.field_waist_value AS model_waist,
content_type_anketa.field_hips_value AS model_hips,
content_field_photos.field_photos_data AS photo_sss
FROM node,term_node,content_field_photos,files,content_type_anketa
WHERE (node.type ='anketa')
AND (node.nid = )
AND (node.status = 1)
AND (term_node.nid = node.nid)
AND (node.vid = content_type_anketa.vid)
AND (node.vid = content_field_photos.vid)
AND (content_field_photos.field_photos_fid = files.fid)
ORDER BY content_field_photos.delta asc
LIMIT 0, 20 in /home/immagnet/data/www/magnet-models.com/sites/all/modules/view_models/view_models.module on line 498.
|