mexan
Проверенные
- Сообщения
- 896
- Решения
- 1
- Реакции
- 1,157
- Баллы
- 8,315
Народ помогите. Сайт после смены хостинга не открывается. В админке следующая ошибка:
Код:
XF\Db\Exception: MySQL statement prepare error [1146]: Table 'БД.xf_session_activity' doesn't exist src/XF/Db/AbstractStatement.php:228
Код:
ELECT `xf_session_activity`.*, `xf_user_User_1`.*
FROM `xf_session_activity`
INNER JOIN `xf_user` AS `xf_user_User_1` ON (`xf_user_User_1`.`user_id` = `xf_session_activity`.`user_id`)
WHERE (`xf_session_activity`.`user_id` > 0) AND (`xf_session_activity`.`view_date` >= 1595359992) AND (`xf_user_User_1`.`is_staff` = 1)
ORDER BY `xf_session_activity`.`view_date` DESC
------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1146, '42S02')
#1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1146, '42S02')
#2 src/XF/Db/Mysqli/Statement.php(54): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Mvc/Entity/Finder.php(1294): XF\Db\AbstractAdapter->query('
SELECT `xf_...')
#5 src/XF/Repository/SessionActivity.php(57): XF\Mvc\Entity\Finder->fetch()
#6 src/XF/Admin/Controller/Index.php(109): XF\Repository\SessionActivity->getOnlineStaffList()
#7 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\Index->actionIndex(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Index', 'Index', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Index), NULL)
#9 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Index), NULL)
#10 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#12 src/XF.php(391): XF\App->run()
#13 admin.php(13): XF::runApp('XF\\Admin\\App')
#14 {main}
Код:
array(4) {
["url"] => string(10) "/admin.php"
["referrer"] => string(31) "https://www.tehadm.ru/admin.php"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}