Posted 26 мая, 20186 yr comment_148130 Неделю не заходил вроде нечего и не делал . Вот сам лог Date: Sat, 26 May 2018 18:38:28 +0000 Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rows FROM ipbsessions WHERE running_time > 1527359008' at line 1 IP Address: 94.75.46.39 - /admin/index.php?adsess=75a22e09f8494af428bf94974a76e6de ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- mySQL query error: SELECT count(*) as rows FROM ipbsessions WHERE running_time > 1527359008 .--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------. | File | Function | Line No. | |----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------| | admin/sources/base/ipsController.php | [admin_core_mycp_dashboard].doExecute | 306 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'
26 мая, 20186 yr comment_148134 5 минут назад, zort сказал: WOLF zort ресурс чего ? если про базу то нет ресурс хостинга! https://ipbmafia.ru/topic/6744-problema-s-bazoy-dannyh/#comment-51908
26 мая, 20186 yr Author comment_148135 ресурс хостинга безлимитный , стоит на hostinger помогло это надо открывать xxxxxx\applications\core\modules_admin\mycp\dashboard.php ряд 379:$online = $this->DB->buildAndFetch( array( 'select' => 'count(*) as rows', 'from' => 'sessions', 'where' => "running_time > {$time}" ) );$stats['active_users'] = $online['rows']; решение: $online = $this->DB->buildAndFetch( array( 'select' => 'count(*) as rowcount', 'from' => 'sessions', 'where' => "running_time > {$time}" ) );$stats['active_users'] = $online['rowcount']; и работает с mariadb 10.2 тоже
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.