Key 'group_id' doesn't exist in table 'gs'
Posted: Wed Aug 17, 2016 4:02 pm
при попытке зайти в List Thumbs
на сайте тумбы не грузятся
Админы ответили:
viewtopic.php?f=7&t=92555
Code: Select all
Fatal error: Uncaught exception 'Exception' with message 'Mysql error:: 1176 (Key 'group_id' doesn't exist in table 'gs') (db_link) in query 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, gi.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 FORCE INDEX (group_id) JOIN rot_gallery_data1 as gd on gd.gallery_id = gs.gallery_id JOIN rot_gallery_info as gi on gi.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 != 10 and gs.best_thumb = 'yes' and gs.group_id = 0 ORDER BY gs.total_ctr desc LIMIT 0, 15# queryitems. (domain.com) ' in /scj/includes/db_modules/mysql.php:65 Stack trace: #0 /scj/includes/db_modules/ in /scj/includes/db_modules/mysql.php on line 65Админы ответили:
Не могу сказать точно после каких манипуляций выскочила ошибка, т.к. всё работало до этого, но есть подозрения, что после наполнения групп по тегам:Проблема связана с отсутствие ключа в таблице gs.
Ознакомившись с бекапами за 2016-08-16 08:11:34 и за 2016-08-14 08:11:34
указанной таблицы нет
viewtopic.php?f=7&t=92555