Ошибка в запросе БД: Неизвестный столбец 'i.target_controller' в 'where clause' SELECT i.*, c.name as ctype_name, c.title as ctype_title, c.id as ctype_id FROM cms_content_relations i WHERE (i.child_ctype_id = '9') AND (i.target_controller = 'content') ORDER BY i.ordering asc Последние вызовы: actionContentItemAdd->run() content->route() cmsCore->runController() @ /index.php : 40
Неизвестный столбец 'i.target_controller' в 'where clause'
ЕСТЬ РЕШЕНИЕ
ЗАКРЫТО
#1
17 октября 2017 в 12:09
После обновления с 2.7.2 произошла ошибка
Может кто сталкивался?
#2
17 октября 2017 в 13:21
arianfinist,
Как-то Вы неровно обновились.
Добавьте колонку target_controller вручную.
Как-то Вы неровно обновились.
Добавьте колонку target_controller вручную.
ALTER TABLE `cms_content_relations` ADD `target_controller` VARCHAR(32) NOT NULL DEFAULT 'content' AFTER `ordering`; ALTER TABLE `cms_content_relations` ADD INDEX(`target_controller`);
#3
20 октября 2017 в 10:36
Спасибо Ris, но не помогло.
Помогло удалить таблицы
cms_content_relations
cms_content_relations_bind
И по новой создать.
В любом случае спасибо.
Помогло удалить таблицы
cms_content_relations
cms_content_relations_bind
И по новой создать.
В любом случае спасибо.