After upgrading form beta5-6, I get an error "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 ASC LIMI' at line 1 query: SELECT 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 ASC LIMIT 0, 1 in /sites/all/modules/image/contrib/image_gallery/views/image_gallery_handler_field_gallery_cover.inc on line 164."
when trying to just add the field "Image gallery: Latest image-The most recently posted image in the gallery or its child galleries" to the view. thoughts?
Comments
Comment #1
joachim commentedI can't reproduce this.
Did you change the settings for that field?
Comment #2
joachim commentedBetter title.
Marked #922516: Error trying to display image in a view as a duplicate.
I still can't reproduce this. I need to know exactly what settings have been changed and fields added to the view -- and to *which* one, as there are *two* views involved in making galleries.
Comment #3
pixelsweatshop commentedSorry for not providing more info. Here is an export of the view...
Comment #4
joachim commentedThat doesn't look like it's been changed much if at all to me. And it produces no errors.
As I said, there are *two* views involved in making galleries -- perhaps you've exported the wrong one?
Comment #5
pixelsweatshop commentedI have disabled, uninstalled and then reinstalled it (for a second time), and everything is working fine now. Thanks for your prompt help. Keep up the good work. I really appreciate what you are doing.
Comment #6
pixelsweatshop commentedSorry. forgot to close.