Jump to content

Перестало заходит в админку


Recommended Posts

Неделю не заходил вроде нечего и не делал . 2018-05-26_234111.thumb.png.4eb31c2c21526e08c24b3e24a3314a38.png


Вот сам лог

 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: - /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               |


Link to comment
Share on other sites

5 минут назад, zort сказал:

WOLF zort ресурс чего ?

если про базу то нет

ресурс хостинга!


Link to comment
Share on other sites

ресурс хостинга безлимитный , стоит на 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 тоже

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Ваша ссылка была автоматически строена.   Отображать как обычную ссылку

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...