Mysql error 1064

Post Reply
icet
Posts: 30
Joined: Fri Aug 17, 2018 4:41 pm

Mysql error 1064

Post by icet »

Ежедневно на одном новом сайте выдает в сообщениях мессадж
Mysql error 1064: 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 ') ORDER BY field(gs.gallery_id, 2162, 0, 0, 0, 0, 0) # queryitems' at line 4 (SELECT gs.gallery_id, gs.thumb_id, gi.sponsor_id, gi.content_count, gi.content_type, gs.total_shows, gs.total_clicks, gs.total_ctr, gt.thumb_url, gd.*, gi.content_count, gi.crop_profile_id, gs.activation_date, gi.added_date, gi.duration, gi.url, gi.gallery_total_shows, gi.sponsor_id, gi.source_url, gi.custom_gallery FROM rot_gallery_stats1 as gs JOIN rot_gallery_info as gi on gi.gallery_id = gs.gallery_id<br> JOIN rot_gallery_data1 as gd on gd.gallery_id = gs.gallery_id<br> JOIN rot_thumbs as gt on gt.thumb_id = gs.thumb_id <br> WHERE 1 = 1 AND gi.gallery_status = 'active' AND gi.gallery_type = 0 and gs.best_thumb = 'yes' and gs.group_id = 0 and gs.gallery_id IN (2162, 0, 0, 0, 0, 0) AND gi.gallery_id IN () ORDER BY field(gs.gallery_id, 2162, 0, 0, 0, 0, 0) # queryitems)

в чем причина?
Your Build 201911291222
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Mysql error 1064

Post by admin »

как минимум в том что не проведен апедйт
Don't forget to run script update
Post Reply