При экспорте в admin/?operation=rotation&sub=rot_list&
URL|Duration
Mysql error 1052: Column 'duration' in field list is ambiguous (SELECT SQL_CALC_FOUND_ROWS DISTINCT(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, gt.source_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 ,gallery_type,duration FROM rot_gallery_stats1 as gs JOIN rot_gallery_info as gi on gi.gallery_id = gs.gallery_id JOIN rot_gallery_data1 as gd on gd.gallery_id = gs.gallery_id JOIN rot_thumbs as gt on gt.thumb_id = gs.thumb_id WHERE 1 = 1 AND gi.gallery_status IN ('active') AND gi.gallery_type = 0 and gs.best_thumb = 'yes' and gs.group_id = 0 GROUP BY gs.gallery_id, gs.thumb_id ORDER BY gs.total_ctr desc LIMIT 0, 1# queryitems)
Ошибка выдается, когда в pattern выбирается поле Duration
build: 202401151355 PHP version 7.3.33 Mysql Version: 10.5.20-MariaDB
При экспорте - Mysql error 1052
Re: При экспорте - Mysql error 1052
Приветствую!
да, спасибо, пофиксил, передлываю эту часть сейчас
да, спасибо, пофиксил, передлываю эту часть сейчас
Don't forget to run script update







