Новости медицины портала Remedium.ru - самая актуальная информация о рынке лекарств и медицинского обеспечения

Опрос для врачей

[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (1030) Got error -1 from storage engine (400)
SELECT 
	`vote_vote`.`ID` AS `V_ID`,
	`vote_vote`.`CHANNEL_ID` AS `V_CHANNEL_ID`,
	`vote_vote`.`C_SORT` AS `V_C_SORT`,
	`vote_vote`.`ACTIVE` AS `V_ACTIVE`,
	`vote_vote`.`NOTIFY` AS `V_NOTIFY`,
	`vote_vote`.`AUTHOR_ID` AS `V_AUTHOR_ID`,
	`vote_vote`.`TIMESTAMP_X` AS `V_TIMESTAMP_X`,
	`vote_vote`.`DATE_START` AS `V_DATE_START`,
	`vote_vote`.`DATE_END` AS `V_DATE_END`,
	`vote_vote`.`URL` AS `V_URL`,
	`vote_vote`.`COUNTER` AS `V_COUNTER`,
	`vote_vote`.`TITLE` AS `V_TITLE`,
	`vote_vote`.`DESCRIPTION` AS `V_DESCRIPTION`,
	`vote_vote`.`DESCRIPTION_TYPE` AS `V_DESCRIPTION_TYPE`,
	`vote_vote`.`IMAGE_ID` AS `V_IMAGE_ID`,
	`vote_vote`.`EVENT1` AS `V_EVENT1`,
	`vote_vote`.`EVENT2` AS `V_EVENT2`,
	`vote_vote`.`EVENT3` AS `V_EVENT3`,
	`vote_vote`.`UNIQUE_TYPE` AS `V_UNIQUE_TYPE`,
	`vote_vote`.`KEEP_IP_SEC` AS `V_KEEP_IP_SEC`,
	CASE WHEN (`vote_vote_channel`.`ACTIVE`='Y' AND `vote_vote`.`ACTIVE`='Y' AND `vote_vote`.`DATE_START` <= NOW() AND NOW() <= `vote_vote`.`DATE_END` AND `vote_vote_channel`.`VOTE_SINGLE`='Y') THEN 'yellow' WHEN (`vote_vote_channel`.`ACTIVE`='Y' AND `vote_vote`.`ACTIVE`='Y' AND `vote_vote`.`DATE_START` <= NOW() AND NOW() <= `vote_vote`.`DATE_END` AND `vote_vote_channel`.`VOTE_SINGLE`!='Y') THEN 'green' ELSE 'red' END AS `V_LAMP`,
	`vote_vote_question`.`ID` AS `Q_ID`,
	`vote_vote_question`.`ACTIVE` AS `Q_ACTIVE`,
	`vote_vote_question`.`TIMESTAMP_X` AS `Q_TIMESTAMP_X`,
	`vote_vote_question`.`VOTE_ID` AS `Q_VOTE_ID`,
	`vote_vote_question`.`C_SORT` AS `Q_C_SORT`,
	`vote_vote_question`.`COUNTER` AS `Q_COUNTER`,
	`vote_vote_question`.`QUESTION` AS `Q_QUESTION`,
	`vote_vote_question`.`QUESTION_TYPE` AS `Q_QUESTION_TYPE`,
	`vote_vote_question`.`IMAGE_ID` AS `Q_IMAGE_ID`,
	`vote_vote_question`.`DIAGRAM` AS `Q_DIAGRAM`,
	`vote_vote_question`.`DIAGRAM_TYPE` AS `Q_DIAGRAM_TYPE`,
	`vote_vote_question`.`REQUIRED` AS `Q_REQUIRED`,
	`vote_vote_question_answer`.`ID` AS `A_ID`,
	`vote_vote_question_answer`.`ACTIVE` AS `A_ACTIVE`,
	`vote_vote_question_answer`.`TIMESTAMP_X` AS `A_TIMESTAMP_X`,
	`vote_vote_question_answer`.`QUESTION_ID` AS `A_QUESTION_ID`,
	`vote_vote_question_answer`.`C_SORT` AS `A_C_SORT`,
	`vote_vote_question_answer`.`COUNTER` AS `A_COUNTER`,
	`vote_vote_question_answer`.`MESSAGE` AS `A_MESSAGE`,
	`vote_vote_question_answer`.`MESSAGE_TYPE` AS `A_MESSAGE_TYPE`,
	`vote_vote_question_answer`.`FIELD_TYPE` AS `A_FIELD_TYPE`,
	`vote_vote_question_answer`.`COLOR` AS `A_COLOR`
FROM `b_vote` `vote_vote` 
LEFT JOIN `b_vote_channel` `vote_vote_channel` ON `vote_vote`.`CHANNEL_ID` = `vote_vote_channel`.`ID`
LEFT JOIN `b_vote_question` `vote_vote_question` ON `vote_vote`.`ID` = `vote_vote_question`.`VOTE_ID`
LEFT JOIN `b_vote_answer` `vote_vote_question_answer` ON `vote_vote_question`.`ID` = `vote_vote_question_answer`.`QUESTION_ID`
WHERE `vote_vote`.`ID` = 10
ORDER BY `vote_vote_question`.`C_SORT` ASC, `vote_vote_question`.`ID` ASC, `vote_vote_question_answer`.`C_SORT` ASC, `vote_vote_question_answer`.`ID` ASC
/home/bitrix/ext_www/remedium.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/ext_www/remedium.ru/bitrix/modules/main/lib/db/connection.php:329
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/ext_www/remedium.ru/bitrix/modules/main/lib/entity/query.php:1924
#2: Bitrix\Main\Entity\Query->query(string)
	/home/bitrix/ext_www/remedium.ru/bitrix/modules/main/lib/entity/query.php:505
#3: Bitrix\Main\Entity\Query->exec()
	/home/bitrix/ext_www/remedium.ru/bitrix/modules/main/lib/entity/datamanager.php:256
#4: Bitrix\Main\Entity\DataManager::getList(array)
	/home/bitrix/ext_www/remedium.ru/bitrix/modules/vote/lib/vote.php:200
#5: Bitrix\Vote\VoteTable::getList(array)
	/home/bitrix/ext_www/remedium.ru/bitrix/modules/vote/lib/vote.php:270
#6: Bitrix\Vote\Vote::getData(string)
	/home/bitrix/ext_www/remedium.ru/bitrix/modules/vote/lib/vote.php:234
#7: Bitrix\Vote\Vote->init()
	/home/bitrix/ext_www/remedium.ru/bitrix/modules/vote/lib/base/baseobject.php:24
#8: Bitrix\Vote\Base\BaseObject->__construct(string)
	/home/bitrix/ext_www/remedium.ru/bitrix/modules/vote/lib/base/baseobject.php:129
#9: Bitrix\Vote\Base\BaseObject::loadFromId(string)
	/home/bitrix/ext_www/remedium.ru/bitrix/modules/vote/lib/user.php:336
#10: Bitrix\Vote\User->isVotedFor(string)
	/home/bitrix/ext_www/remedium.ru/bitrix/components/bitrix/voting.current/component.php:107
#11: include(string)
	/home/bitrix/ext_www/remedium.ru/bitrix/modules/main/classes/general/component.php:548
#12: CBitrixComponent->__includeComponent()
	/home/bitrix/ext_www/remedium.ru/bitrix/modules/main/classes/general/component.php:600
#13: CBitrixComponent->includeComponent(string, array, boolean)
	/home/bitrix/ext_www/remedium.ru/bitrix/modules/main/classes/general/main.php:1035
#14: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/ext_www/remedium.ru/bitrix/templates/rm_rest/header.php:221
#15: include_once(string)
	/home/bitrix/ext_www/remedium.ru/bitrix/modules/main/include/prolog_after.php:96
#16: require(string)
	/home/bitrix/ext_www/remedium.ru/bitrix/modules/main/include/prolog.php:11
#17: require_once(string)
	/home/bitrix/ext_www/remedium.ru/bitrix/header.php:1
#18: require(string)
	/home/bitrix/ext_www/remedium.ru/news/detail.php:2