Warning : PDO::query(): SQLSTATE[42883]: Undefined function: 7 ERROR: function strftime(unknown) does not exist
LINE 1: ...) as "cnt" FROM "mp_telegram_bot_from" WHERE time>strftime('...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts. in
phar:///var/www/html/index.phar/include/func.php on line
1787
phar:///var/www/html/index.phar/include/func.php:1788 mpre ()
Список вызовов
SELECT COUNT(*) as "cnt" FROM "mp_telegram_bot_from" WHERE time>strftime('%s')-86400
Array
(
[0] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 1803
[function] => {closure}
[args] => Array
(
[0] => Array
(
)
)
)
[1] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 1716
[function] => mpqw
[args] => Array
(
[0] => SELECT COUNT(*) as "cnt" FROM "mp_telegram_bot_from" WHERE time>strftime('%s')-86400
)
)
[2] => Array
(
[file] => /var/www/html/modules/telegram/stat.tpl
[line] => 12
[function] => ql
[args] => Array
(
[0] => SELECT COUNT(*) as `cnt` FROM `mp_telegram_bot_from` WHERE time>strftime('%s')-86400
[1] => 0
[2] => cnt
)
)
[3] => Array
(
[file] => /var/www/html/modules/telegram/stat.tpl
[line] => 14
[function] => {closure}
[args] => Array
(
)
)
[4] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 598
[args] => Array
(
[0] => /var/www/html/modules/telegram/stat.tpl
)
[function] => include
)
[5] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 600
[function] => {closure}
[args] => Array
(
[0] => /var/www/html/modules/telegram/stat.tpl
)
)
[6] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 606
[function] => {closure}
[args] => Array
(
[0] => /var/www/html/modules/telegram/stat.tpl
)
)
[7] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 570
[function] => inc
[args] => Array
(
[0] => modules/telegram/stat.tpl
[1] => Array
(
[arg] => Array
(
[modpath] => telegram
[modname] => телега
[fn] => stat
[fe] =>
[admin_access] => 1
)
)
[2] =>
[3] => Array
(
[pager] =>
)
)
)
[8] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 692
[function] => inc
[args] => Array
(
[0] => modules/telegram/stat
[1] => Array
(
[arg] => Array
(
[modpath] => telegram
[modname] => телега
[fn] => stat
[fe] =>
[admin_access] => 1
)
)
)
)
[9] => Array
(
[file] => /var/www/html/index.php
[line] => 401
[function] => modules
[args] => Array
(
[0] =>
)
)
[10] => Array
(
[file] => /var/www/html/index.php
[line] => 403
[function] => {closure}
[args] => Array
(
)
)
[11] => Array
(
[file] => phar:///var/www/html/index.phar/index.php
[line] => 27
[args] => Array
(
[0] => /var/www/html/index.php
)
[function] => include
)
[12] => Array
(
[file] => /var/www/html/index.phar
[line] => 1
[args] => Array
(
[0] => phar:///var/www/html/index.phar/index.php
)
[function] => include
)
)
phar:///var/www/html/index.phar/include/func.php:1716 mpre ()
ОШИБКА выборки
SELECT COUNT(*) as `cnt` FROM `mp_telegram_bot_from` WHERE time>strftime('%s')-86400
Warning : PDO::query(): SQLSTATE[42883]: Undefined function: 7 ERROR: function strftime(unknown) does not exist
LINE 1: ...) as "cnt" FROM "mp_telegram_bot_from" WHERE time>strftime('...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts. in
phar:///var/www/html/index.phar/include/func.php on line
1787
phar:///var/www/html/index.phar/include/func.php:1788 mpre ()
Список вызовов
SELECT COUNT(*) as "cnt" FROM "mp_telegram_bot_from" WHERE time>strftime('%s')-86400*2 AND time
Array
(
[0] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 1803
[function] => {closure}
[args] => Array
(
[0] => Array
(
)
)
)
[1] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 1716
[function] => mpqw
[args] => Array
(
[0] => SELECT COUNT(*) as "cnt" FROM "mp_telegram_bot_from" WHERE time>strftime('%s')-86400*2 AND time Array
(
[file] => /var/www/html/modules/telegram/stat.tpl
[line] => 12
[function] => ql
[args] => Array
(
[0] => SELECT COUNT(*) as `cnt` FROM `mp_telegram_bot_from` WHERE time>strftime('%s')-86400*2 AND time 0
[2] => cnt
)
)
[3] => Array
(
[file] => /var/www/html/modules/telegram/stat.tpl
[line] => 14
[function] => {closure}
[args] => Array
(
)
)
[4] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 598
[args] => Array
(
[0] => /var/www/html/modules/telegram/stat.tpl
)
[function] => include
)
[5] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 600
[function] => {closure}
[args] => Array
(
[0] => /var/www/html/modules/telegram/stat.tpl
)
)
[6] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 606
[function] => {closure}
[args] => Array
(
[0] => /var/www/html/modules/telegram/stat.tpl
)
)
[7] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 570
[function] => inc
[args] => Array
(
[0] => modules/telegram/stat.tpl
[1] => Array
(
[arg] => Array
(
[modpath] => telegram
[modname] => телега
[fn] => stat
[fe] =>
[admin_access] => 1
)
)
[2] =>
[3] => Array
(
[pager] =>
)
)
)
[8] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 692
[function] => inc
[args] => Array
(
[0] => modules/telegram/stat
[1] => Array
(
[arg] => Array
(
[modpath] => telegram
[modname] => телега
[fn] => stat
[fe] =>
[admin_access] => 1
)
)
)
)
[9] => Array
(
[file] => /var/www/html/index.php
[line] => 401
[function] => modules
[args] => Array
(
[0] =>
)
)
[10] => Array
(
[file] => /var/www/html/index.php
[line] => 403
[function] => {closure}
[args] => Array
(
)
)
[11] => Array
(
[file] => phar:///var/www/html/index.phar/index.php
[line] => 27
[args] => Array
(
[0] => /var/www/html/index.php
)
[function] => include
)
[12] => Array
(
[file] => /var/www/html/index.phar
[line] => 1
[args] => Array
(
[0] => phar:///var/www/html/index.phar/index.php
)
[function] => include
)
)
phar:///var/www/html/index.phar/include/func.php:1716 mpre ()
ОШИБКА выборки
SELECT COUNT(*) as `cnt` FROM `mp_telegram_bot_from` WHERE time>strftime('%s')-86400*2 AND time
Warning : PDO::query(): SQLSTATE[42883]: Undefined function: 7 ERROR: function strftime(unknown) does not exist
LINE 1: ...(*) as "cnt" FROM "mp_telegram_online" WHERE time>strftime('...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts. in
phar:///var/www/html/index.phar/include/func.php on line
1787
phar:///var/www/html/index.phar/include/func.php:1788 mpre ()
Список вызовов
SELECT COUNT(*) as "cnt" FROM "mp_telegram_online" WHERE time>strftime('%s')-86400
Array
(
[0] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 1803
[function] => {closure}
[args] => Array
(
[0] => Array
(
)
)
)
[1] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 1716
[function] => mpqw
[args] => Array
(
[0] => SELECT COUNT(*) as "cnt" FROM "mp_telegram_online" WHERE time>strftime('%s')-86400
)
)
[2] => Array
(
[file] => /var/www/html/modules/telegram/stat.tpl
[line] => 40
[function] => ql
[args] => Array
(
[0] => SELECT COUNT(*) as `cnt` FROM `mp_telegram_online` WHERE time>strftime('%s')-86400
[1] => 0
[2] => cnt
)
)
[3] => Array
(
[file] => /var/www/html/modules/telegram/stat.tpl
[line] => 42
[function] => {closure}
[args] => Array
(
[0] => Array
(
[0] => Array
(
[name] => Подписчиков всего
[count] => 4037005
)
[1] => Array
(
[name] => Новых подписчиков за сутки
[count] => /
)
[2] => Array
(
[name] => Количество групп в поиске
[count] => 2953
)
[3] => Array
(
[name] => Количество каналов в поиске
[count] => 3134
)
[4] => Array
(
[name] => Подписок всего
[count] => 58784
)
)
)
)
[4] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 598
[args] => Array
(
[0] => /var/www/html/modules/telegram/stat.tpl
)
[function] => include
)
[5] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 600
[function] => {closure}
[args] => Array
(
[0] => /var/www/html/modules/telegram/stat.tpl
)
)
[6] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 606
[function] => {closure}
[args] => Array
(
[0] => /var/www/html/modules/telegram/stat.tpl
)
)
[7] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 570
[function] => inc
[args] => Array
(
[0] => modules/telegram/stat.tpl
[1] => Array
(
[arg] => Array
(
[modpath] => telegram
[modname] => телега
[fn] => stat
[fe] =>
[admin_access] => 1
)
)
[2] =>
[3] => Array
(
[pager] =>
)
)
)
[8] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 692
[function] => inc
[args] => Array
(
[0] => modules/telegram/stat
[1] => Array
(
[arg] => Array
(
[modpath] => telegram
[modname] => телега
[fn] => stat
[fe] =>
[admin_access] => 1
)
)
)
)
[9] => Array
(
[file] => /var/www/html/index.php
[line] => 401
[function] => modules
[args] => Array
(
[0] =>
)
)
[10] => Array
(
[file] => /var/www/html/index.php
[line] => 403
[function] => {closure}
[args] => Array
(
)
)
[11] => Array
(
[file] => phar:///var/www/html/index.phar/index.php
[line] => 27
[args] => Array
(
[0] => /var/www/html/index.php
)
[function] => include
)
[12] => Array
(
[file] => /var/www/html/index.phar
[line] => 1
[args] => Array
(
[0] => phar:///var/www/html/index.phar/index.php
)
[function] => include
)
)
phar:///var/www/html/index.phar/include/func.php:1716 mpre ()
ОШИБКА выборки
SELECT COUNT(*) as `cnt` FROM `mp_telegram_online` WHERE time>strftime('%s')-86400
Warning : PDO::query(): SQLSTATE[42883]: Undefined function: 7 ERROR: function strftime(unknown) does not exist
LINE 1: ...(*) as "cnt" FROM "mp_telegram_online" WHERE time>strftime('...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts. in
phar:///var/www/html/index.phar/include/func.php on line
1787
phar:///var/www/html/index.phar/include/func.php:1788 mpre ()
Список вызовов
SELECT COUNT(*) as "cnt" FROM "mp_telegram_online" WHERE time>strftime('%s')-86400*2 AND time
Array
(
[0] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 1803
[function] => {closure}
[args] => Array
(
[0] => Array
(
)
)
)
[1] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 1716
[function] => mpqw
[args] => Array
(
[0] => SELECT COUNT(*) as "cnt" FROM "mp_telegram_online" WHERE time>strftime('%s')-86400*2 AND time Array
(
[file] => /var/www/html/modules/telegram/stat.tpl
[line] => 40
[function] => ql
[args] => Array
(
[0] => SELECT COUNT(*) as `cnt` FROM `mp_telegram_online` WHERE time>strftime('%s')-86400*2 AND time 0
[2] => cnt
)
)
[3] => Array
(
[file] => /var/www/html/modules/telegram/stat.tpl
[line] => 42
[function] => {closure}
[args] => Array
(
[0] => Array
(
[0] => Array
(
[name] => Подписчиков всего
[count] => 4037005
)
[1] => Array
(
[name] => Новых подписчиков за сутки
[count] => /
)
[2] => Array
(
[name] => Количество групп в поиске
[count] => 2953
)
[3] => Array
(
[name] => Количество каналов в поиске
[count] => 3134
)
[4] => Array
(
[name] => Подписок всего
[count] => 58784
)
)
)
)
[4] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 598
[args] => Array
(
[0] => /var/www/html/modules/telegram/stat.tpl
)
[function] => include
)
[5] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 600
[function] => {closure}
[args] => Array
(
[0] => /var/www/html/modules/telegram/stat.tpl
)
)
[6] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 606
[function] => {closure}
[args] => Array
(
[0] => /var/www/html/modules/telegram/stat.tpl
)
)
[7] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 570
[function] => inc
[args] => Array
(
[0] => modules/telegram/stat.tpl
[1] => Array
(
[arg] => Array
(
[modpath] => telegram
[modname] => телега
[fn] => stat
[fe] =>
[admin_access] => 1
)
)
[2] =>
[3] => Array
(
[pager] =>
)
)
)
[8] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 692
[function] => inc
[args] => Array
(
[0] => modules/telegram/stat
[1] => Array
(
[arg] => Array
(
[modpath] => telegram
[modname] => телега
[fn] => stat
[fe] =>
[admin_access] => 1
)
)
)
)
[9] => Array
(
[file] => /var/www/html/index.php
[line] => 401
[function] => modules
[args] => Array
(
[0] =>
)
)
[10] => Array
(
[file] => /var/www/html/index.php
[line] => 403
[function] => {closure}
[args] => Array
(
)
)
[11] => Array
(
[file] => phar:///var/www/html/index.phar/index.php
[line] => 27
[args] => Array
(
[0] => /var/www/html/index.php
)
[function] => include
)
[12] => Array
(
[file] => /var/www/html/index.phar
[line] => 1
[args] => Array
(
[0] => phar:///var/www/html/index.phar/index.php
)
[function] => include
)
)
phar:///var/www/html/index.phar/include/func.php:1716 mpre ()
ОШИБКА выборки
SELECT COUNT(*) as `cnt` FROM `mp_telegram_online` WHERE time>strftime('%s')-86400*2 AND time
Warning : PDO::query(): SQLSTATE[42883]: Undefined function: 7 ERROR: function date(text, unknown) does not exist
LINE 1: SELECT COUNT(*) as count, DATE(time ,'unixepoch') AS date FR...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts. in
phar:///var/www/html/index.phar/include/func.php on line
1787
phar:///var/www/html/index.phar/include/func.php:1788 mpre ()
Список вызовов
SELECT COUNT(*) as count, DATE(time ,'unixepoch') AS date FROM "mp_telegram_online" WHERE (time >strftime('%s') -86400 *30) AND time
Array
(
[0] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 1803
[function] => {closure}
[args] => Array
(
[0] => Array
(
)
)
)
[1] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 1716
[function] => mpqw
[args] => Array
(
[0] => SELECT COUNT(*) as count, DATE(time ,'unixepoch') AS date FROM "mp_telegram_online" WHERE (time >strftime('%s') -86400 *30) AND time Array
(
[file] => /var/www/html/modules/telegram/stat.tpl
[line] => 45
[function] => ql
[args] => Array
(
[0] => SELECT COUNT(*) as count, DATE(time ,'unixepoch') AS date FROM `mp_telegram_online` WHERE (time >strftime('%s') -86400 *30) AND time Array
(
[file] => /var/www/html/modules/telegram/stat.tpl
[line] => 51
[function] => {closure}
[args] => Array
(
)
)
[4] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 598
[args] => Array
(
[0] => /var/www/html/modules/telegram/stat.tpl
)
[function] => include
)
[5] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 600
[function] => {closure}
[args] => Array
(
[0] => /var/www/html/modules/telegram/stat.tpl
)
)
[6] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 606
[function] => {closure}
[args] => Array
(
[0] => /var/www/html/modules/telegram/stat.tpl
)
)
[7] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 570
[function] => inc
[args] => Array
(
[0] => modules/telegram/stat.tpl
[1] => Array
(
[arg] => Array
(
[modpath] => telegram
[modname] => телега
[fn] => stat
[fe] =>
[admin_access] => 1
)
)
[2] =>
[3] => Array
(
[pager] =>
)
)
)
[8] => Array
(
[file] => phar:///var/www/html/index.phar/include/func.php
[line] => 692
[function] => inc
[args] => Array
(
[0] => modules/telegram/stat
[1] => Array
(
[arg] => Array
(
[modpath] => telegram
[modname] => телега
[fn] => stat
[fe] =>
[admin_access] => 1
)
)
)
)
[9] => Array
(
[file] => /var/www/html/index.php
[line] => 401
[function] => modules
[args] => Array
(
[0] =>
)
)
[10] => Array
(
[file] => /var/www/html/index.php
[line] => 403
[function] => {closure}
[args] => Array
(
)
)
[11] => Array
(
[file] => phar:///var/www/html/index.phar/index.php
[line] => 27
[args] => Array
(
[0] => /var/www/html/index.php
)
[function] => include
)
[12] => Array
(
[file] => /var/www/html/index.phar
[line] => 1
[args] => Array
(
[0] => phar:///var/www/html/index.phar/index.php
)
[function] => include
)
)
phar:///var/www/html/index.phar/include/func.php:1716 mpre ()
ОШИБКА выборки
SELECT COUNT(*) as count, DATE(time ,'unixepoch') AS date FROM `mp_telegram_online` WHERE (time >strftime('%s') -86400 *30) AND time
/var/www/html/modules/telegram/stat.tpl:45 mpre ()
Сохранение результата графика
/var/www/html/modules/telegram/stat.tpl:51 mpre ()
Данные для графиков
Параметр
Текущие сутки
Подписчиков всего
4037005
Новых подписчиков за сутки
/
Количество групп в поиске
2953
Количество каналов в поиске
3134
Подписок всего
58784
Сообщений за сутки
/
Найденных сообщений
Warning : foreach() argument must be of type array|object, null given in /var/www/html/modules/telegram/stat.tpl on line 83