Mysql error 1064: syntax error, unexpected $end ..

Постим сюда все найденые ошибки
Post Reply
S_Flash
Posts: 1788
Joined: Mon Mar 08, 2010 9:04 am
Contact:

Mysql error 1064: syntax error, unexpected $end ..

Post by S_Flash »

(c) SmartCJ Pro V 2.1 Your Build 202006251637 (Current build: 202006291816 Update available ) PHP version 7.2.13-1+ubuntu16.04.1+deb.sury.org+1 Mysql Version: 5.7.26-0ubuntu0.16.04.1

Message

Code: Select all

2020-07-01 15:50:02 : Mysql error 1064: syntax error, unexpected $end (SELECT SQL_CALC_FOUND_ROWS 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 MATCH (gd.alt, gd.description) AGAINST ('Somalia-' IN BOOLEAN MODE) ORDER BY tested_thumb DESC, gs.total_ctr DESC LIMIT 0, 120# queryitems)
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Mysql error 1064: syntax error, unexpected $end ..

Post by admin »

вопрос в поиске

"Somalia -"

мускл ожидает чтол после - будет что-то конкретное
я прошелся по гуглу: либо пишут "ничего не найдено (наш вариант) либо прибивают все спец символы, но мне этот вариант так себе ..
Don't forget to run script update
Post Reply