Страница 24 из 42

Re: [Модуль] Google Location

Добавлено: Вс июл 21, 2019 10:51 pm
xor
Eraser писал(а): Ср июн 19, 2019 11:12 am v0.9
вычисление средней скорости
а, кстати,для определенности - это в м/с?

Re: [Модуль] Google Location

Добавлено: Вс июл 21, 2019 11:18 pm
Eraser
xor писал(а): Вс июл 21, 2019 10:51 pm
Eraser писал(а): Ср июн 19, 2019 11:12 am v0.9
вычисление средней скорости
а, кстати,для определенности - это в м/с?
км/ч

Re: [Модуль] Google Location

Добавлено: Пн июл 29, 2019 11:15 am
Divan
После того как обновил модуль google location до версии 0.9, у меня перестал определять устройство, в версии 0.8 это работает. Файл cookies добавлен, настройки не менял. Как исправить?

Re: [Модуль] Google Location

Добавлено: Пн июл 29, 2019 12:38 pm
Eraser
Divan писал(а): Пн июл 29, 2019 11:15 am После того как обновил модуль google location до версии 0.9, у меня перестал определять устройство, в версии 0.8 это работает. Файл cookies добавлен, настройки не менял. Как исправить?
что в логе при включенном debug???

Re: [Модуль] Google Location

Добавлено: Пн июл 29, 2019 2:35 pm
Divan
Где посмотреть логи debug?

Re: [Модуль] Google Location

Добавлено: Пн июл 29, 2019 2:51 pm
Eraser
Divan писал(а): Пн июл 29, 2019 2:35 pm Где посмотреть логи debug?
Логи посмотреть Xray -> Debug
выбрать Файл лога с именем, напоминающим название модуля

Re: [Модуль] Google Location

Добавлено: Пн июл 29, 2019 3:11 pm
Divan
Вроде бы нашел логи, но не знаю, они или нет.

Лог за 25.07.2019

Код: Выделить всё

21:41:58 Exception: Error json data : [null,null,"0ahUKEwjJkPq-3NDjAhXRk4sKHaISCCgQ8ZABCAE","9vc5Xcm9JNGnrgSipaDAAg",null,null,"GgA=",1800,1564080118619] in /var/www/modules/google_location/google_location.class.php:445
Stack trace:
#0 /var/www/modules/google_location/google_location.class.php(373): google_location->getLocationData('/var/www/cms/ca...')
#1 /var/www/modules/google_location/google_location.class.php(280): google_location->getLocation('/var/www/cms/ca...')
#2 /var/www/modules/google_location/google_location.class.php(173): google_location->updateLocation()
#3 /var/www/modules/google_location/google_location.class.php(88): google_location->admin(Array)
#4 /var/www/lib/jTemplate.class.php(713) : eval()'d code(8): google_location->run()
#5 /var/www/lib/jTemplate.class.php(713): eval()
#6 /var/www/lib/jTemplate.class.php(195): jTemplate->parseModules('<!DOCTYPE html>...', Array, './templates/')
#7 /var/www/lib/jTemplate.class.php(109): jTemplate->parse('<!DOCTYPE html>...', Array, './templates/')
#8 /var/www/lib/parser.class.php(93): jTemplate->__construct('./templates/pan...', Array, Object(panel))
#9 /var/www/lib/parser.class.php(63): parser->jtemplate_parse('./templates/pan...', Array)
#10 /var/www/modules/panel.class.php(192): parser->__construct('./templates/pan...', Array, Object(panel))
#11 /var/www/admin.php(34): panel->run()
#12 {main}
21:41:15 Exception: Error json data : [null,null,"0ahUKEwi3lcWq3NDjAhVP_CoKHaQsAFQQ8ZABCAE","y_c5XfeDMM_4qwGk2YCgBQ",null,null,"GgA=",1800,1564080075796] in /var/www/modules/google_location/google_location.class.php:445
Stack trace:
#0 /var/www/modules/google_location/google_location.class.php(373): google_location->getLocationData('/var/www/cms/ca...')
#1 /var/www/modules/google_location/google_location.class.php(280): google_location->getLocation('/var/www/cms/ca...')
#2 /var/www/modules/google_location/google_location.class.php(173): google_location->updateLocation()
#3 /var/www/modules/google_location/google_location.class.php(88): google_location->admin(Array)
#4 /var/www/lib/jTemplate.class.php(713) : eval()'d code(8): google_location->run()
#5 /var/www/lib/jTemplate.class.php(713): eval()
#6 /var/www/lib/jTemplate.class.php(195): jTemplate->parseModules('<!DOCTYPE html>...', Array, './templates/')
#7 /var/www/lib/jTemplate.class.php(109): jTemplate->parse('<!DOCTYPE html>...', Array, './templates/')
#8 /var/www/lib/parser.class.php(93): jTemplate->__construct('./templates/pan...', Array, Object(panel))
#9 /var/www/lib/parser.class.php(63): parser->jtemplate_parse('./templates/pan...', Array)
#10 /var/www/modules/panel.class.php(192): parser->__construct('./templates/pan...', Array, Object(panel))
#11 /var/www/admin.php(34): panel->run()
#12 {main}
Лог за 26.07.2019

Код: Выделить всё

17:40:02 Exception: Error connection : 500 => {"http_code":"HTTP\/1.1 500 Internal Server Error","Content-Type":"text\/html; charset=UTF-8","Date":"Fri, 26 Jul 2019 14:40:02 GMT","Server":"gws","Content-Length":"1730","X-XSS-Protection":"0","X-Frame-Options":"SAMEORIGIN","Alt-Svc":"quic=\":443\"; ma=2592000; v=\"46,43,39\""} in /var/www/modules/google_location/google_location.class.php:436
Stack trace:
#0 /var/www/modules/google_location/google_location.class.php(373): google_location->getLocationData('/var/www/cms/ca...')
#1 /var/www/modules/google_location/google_location.class.php(280): google_location->getLocation('/var/www/cms/ca...')
#2 /var/www/modules/google_location/google_location.class.php(271): google_location->updateLocation()
#3 /var/www/lib/hooks.inc.php(146): google_location->processSubscription('MINUTELY', Array)
#4 /var/www/objects/index.php(175): processSubscriptions('MINUTELY', Array)
#5 {main}
16:40:02 Exception: Error connection : 500 => {"http_code":"HTTP\/1.1 500 Internal Server Error","Content-Type":"text\/html; charset=UTF-8","Date":"Fri, 26 Jul 2019 13:40:02 GMT","Server":"gws","Content-Length":"1730","X-XSS-Protection":"0","X-Frame-Options":"SAMEORIGIN","Alt-Svc":"quic=\":443\"; ma=2592000; v=\"46,43,39\""} in /var/www/modules/google_location/google_location.class.php:436
Stack trace:
#0 /var/www/modules/google_location/google_location.class.php(373): google_location->getLocationData('/var/www/cms/ca...')
#1 /var/www/modules/google_location/google_location.class.php(280): google_location->getLocation('/var/www/cms/ca...')
#2 /var/www/modules/google_location/google_location.class.php(271): google_location->updateLocation()
#3 /var/www/lib/hooks.inc.php(146): google_location->processSubscription('MINUTELY', Array)
#4 /var/www/objects/index.php(175): processSubscriptions('MINUTELY', Array)
#5 {main}
14:00:02 Exception: Error connection : 500 => {"http_code":"HTTP\/1.1 500 Internal Server Error","Content-Type":"text\/html; charset=UTF-8","Date":"Fri, 26 Jul 2019 11:00:02 GMT","Server":"gws","Content-Length":"1730","X-XSS-Protection":"0","X-Frame-Options":"SAMEORIGIN","Alt-Svc":"quic=\":443\"; ma=2592000; v=\"46,43,39\""} in /var/www/modules/google_location/google_location.class.php:436
Stack trace:
#0 /var/www/modules/google_location/google_location.class.php(373): google_location->getLocationData('/var/www/cms/ca...')
#1 /var/www/modules/google_location/google_location.class.php(280): google_location->getLocation('/var/www/cms/ca...')
#2 /var/www/modules/google_location/google_location.class.php(271): google_location->updateLocation()
#3 /var/www/lib/hooks.inc.php(146): google_location->processSubscription('MINUTELY', Array)
#4 /var/www/objects/index.php(175): processSubscriptions('MINUTELY', Array)
#5 {main}
05:20:02 Exception: Error connection : 500 => {"http_code":"HTTP\/1.1 500 Internal Server Error","Content-Type":"text\/html; charset=UTF-8","Date":"Fri, 26 Jul 2019 02:20:02 GMT","Server":"gws","Content-Length":"1730","X-XSS-Protection":"0","X-Frame-Options":"SAMEORIGIN","Alt-Svc":"quic=\":443\"; ma=2592000; v=\"46,43,39\""} in /var/www/modules/google_location/google_location.class.php:436
Stack trace:
#0 /var/www/modules/google_location/google_location.class.php(373): google_location->getLocationData('/var/www/cms/ca...')
#1 /var/www/modules/google_location/google_location.class.php(280): google_location->getLocation('/var/www/cms/ca...')
#2 /var/www/modules/google_location/google_location.class.php(271): google_location->updateLocation()
#3 /var/www/lib/hooks.inc.php(146): google_location->processSubscription('MINUTELY', Array)
#4 /var/www/objects/index.php(175): processSubscriptions('MINUTELY', Array)
#5 {main}

Лог за 27.07.2019

Код: Выделить всё

16:45:03 Exception: Error connection : 500 => {"http_code":"HTTP\/1.1 500 Internal Server Error","Content-Type":"text\/html; charset=UTF-8","Date":"Sat, 27 Jul 2019 13:45:03 GMT","Server":"gws","Content-Length":"1730","X-XSS-Protection":"0","X-Frame-Options":"SAMEORIGIN","Alt-Svc":"quic=\":443\"; ma=2592000; v=\"46,43,39\""} in /var/www/modules/google_location/google_location.class.php:436
Stack trace:
#0 /var/www/modules/google_location/google_location.class.php(373): google_location->getLocationData('/var/www/cms/ca...')
#1 /var/www/modules/google_location/google_location.class.php(280): google_location->getLocation('/var/www/cms/ca...')
#2 /var/www/modules/google_location/google_location.class.php(271): google_location->updateLocation()
#3 /var/www/lib/hooks.inc.php(146): google_location->processSubscription('MINUTELY', Array)
#4 /var/www/objects/index.php(175): processSubscriptions('MINUTELY', Array)
#5 {main}
06:25:02 Exception: Error connection : 500 => {"http_code":"HTTP\/1.1 500 Internal Server Error","Content-Type":"text\/html; charset=UTF-8","Date":"Sat, 27 Jul 2019 03:25:02 GMT","Server":"gws","Content-Length":"1730","X-XSS-Protection":"0","X-Frame-Options":"SAMEORIGIN","Alt-Svc":"quic=\":443\"; ma=2592000; v=\"46,43,39\""} in /var/www/modules/google_location/google_location.class.php:436
Stack trace:
#0 /var/www/modules/google_location/google_location.class.php(373): google_location->getLocationData('/var/www/cms/ca...')
#1 /var/www/modules/google_location/google_location.class.php(280): google_location->getLocation('/var/www/cms/ca...')
#2 /var/www/modules/google_location/google_location.class.php(271): google_location->updateLocation()
#3 /var/www/lib/hooks.inc.php(146): google_location->processSubscription('MINUTELY', Array)
#4 /var/www/objects/index.php(175): processSubscriptions('MINUTELY', Array)
#5 {main}

Re: [Модуль] Google Location

Добавлено: Пн июл 29, 2019 3:28 pm
Eraser
Divan писал(а): Пн июл 29, 2019 3:11 pm Вроде бы нашел логи, но не знаю, они или нет.

Лог за 25.07.2019

Код: Выделить всё

21:41:58 Exception: Error json data : [null,null,"0ahUKEwjJkPq-3NDjAhXRk4sKHaISCCgQ8ZABCAE","9vc5Xcm9JNGnrgSipaDAAg",null,null,"GgA=",1800,1564080118619] in /var/www/modules/google_location/google_location.class.php:445
Stack trace:
#0 /var/www/modules/google_location/google_location.class.php(373): google_location->getLocationData('/var/www/cms/ca...')
#1 /var/www/modules/google_location/google_location.class.php(280): google_location->getLocation('/var/www/cms/ca...')
#2 /var/www/modules/google_location/google_location.class.php(173): google_location->updateLocation()
#3 /var/www/modules/google_location/google_location.class.php(88): google_location->admin(Array)
#4 /var/www/lib/jTemplate.class.php(713) : eval()'d code(8): google_location->run()
#5 /var/www/lib/jTemplate.class.php(713): eval()
#6 /var/www/lib/jTemplate.class.php(195): jTemplate->parseModules('<!DOCTYPE html>...', Array, './templates/')
#7 /var/www/lib/jTemplate.class.php(109): jTemplate->parse('<!DOCTYPE html>...', Array, './templates/')
#8 /var/www/lib/parser.class.php(93): jTemplate->__construct('./templates/pan...', Array, Object(panel))
#9 /var/www/lib/parser.class.php(63): parser->jtemplate_parse('./templates/pan...', Array)
#10 /var/www/modules/panel.class.php(192): parser->__construct('./templates/pan...', Array, Object(panel))
#11 /var/www/admin.php(34): panel->run()
#12 {main}
21:41:15 Exception: Error json data : [null,null,"0ahUKEwi3lcWq3NDjAhVP_CoKHaQsAFQQ8ZABCAE","y_c5XfeDMM_4qwGk2YCgBQ",null,null,"GgA=",1800,1564080075796] in /var/www/modules/google_location/google_location.class.php:445
Stack trace:
#0 /var/www/modules/google_location/google_location.class.php(373): google_location->getLocationData('/var/www/cms/ca...')
#1 /var/www/modules/google_location/google_location.class.php(280): google_location->getLocation('/var/www/cms/ca...')
#2 /var/www/modules/google_location/google_location.class.php(173): google_location->updateLocation()
#3 /var/www/modules/google_location/google_location.class.php(88): google_location->admin(Array)
#4 /var/www/lib/jTemplate.class.php(713) : eval()'d code(8): google_location->run()
#5 /var/www/lib/jTemplate.class.php(713): eval()
#6 /var/www/lib/jTemplate.class.php(195): jTemplate->parseModules('<!DOCTYPE html>...', Array, './templates/')
#7 /var/www/lib/jTemplate.class.php(109): jTemplate->parse('<!DOCTYPE html>...', Array, './templates/')
#8 /var/www/lib/parser.class.php(93): jTemplate->__construct('./templates/pan...', Array, Object(panel))
#9 /var/www/lib/parser.class.php(63): parser->jtemplate_parse('./templates/pan...', Array)
#10 /var/www/modules/panel.class.php(192): parser->__construct('./templates/pan...', Array, Object(panel))
#11 /var/www/admin.php(34): panel->run()
#12 {main}
Лог за 26.07.2019

Код: Выделить всё

17:40:02 Exception: Error connection : 500 => {"http_code":"HTTP\/1.1 500 Internal Server Error","Content-Type":"text\/html; charset=UTF-8","Date":"Fri, 26 Jul 2019 14:40:02 GMT","Server":"gws","Content-Length":"1730","X-XSS-Protection":"0","X-Frame-Options":"SAMEORIGIN","Alt-Svc":"quic=\":443\"; ma=2592000; v=\"46,43,39\""} in /var/www/modules/google_location/google_location.class.php:436
Stack trace:
#0 /var/www/modules/google_location/google_location.class.php(373): google_location->getLocationData('/var/www/cms/ca...')
#1 /var/www/modules/google_location/google_location.class.php(280): google_location->getLocation('/var/www/cms/ca...')
#2 /var/www/modules/google_location/google_location.class.php(271): google_location->updateLocation()
#3 /var/www/lib/hooks.inc.php(146): google_location->processSubscription('MINUTELY', Array)
#4 /var/www/objects/index.php(175): processSubscriptions('MINUTELY', Array)
#5 {main}
16:40:02 Exception: Error connection : 500 => {"http_code":"HTTP\/1.1 500 Internal Server Error","Content-Type":"text\/html; charset=UTF-8","Date":"Fri, 26 Jul 2019 13:40:02 GMT","Server":"gws","Content-Length":"1730","X-XSS-Protection":"0","X-Frame-Options":"SAMEORIGIN","Alt-Svc":"quic=\":443\"; ma=2592000; v=\"46,43,39\""} in /var/www/modules/google_location/google_location.class.php:436
Stack trace:
#0 /var/www/modules/google_location/google_location.class.php(373): google_location->getLocationData('/var/www/cms/ca...')
#1 /var/www/modules/google_location/google_location.class.php(280): google_location->getLocation('/var/www/cms/ca...')
#2 /var/www/modules/google_location/google_location.class.php(271): google_location->updateLocation()
#3 /var/www/lib/hooks.inc.php(146): google_location->processSubscription('MINUTELY', Array)
#4 /var/www/objects/index.php(175): processSubscriptions('MINUTELY', Array)
#5 {main}
14:00:02 Exception: Error connection : 500 => {"http_code":"HTTP\/1.1 500 Internal Server Error","Content-Type":"text\/html; charset=UTF-8","Date":"Fri, 26 Jul 2019 11:00:02 GMT","Server":"gws","Content-Length":"1730","X-XSS-Protection":"0","X-Frame-Options":"SAMEORIGIN","Alt-Svc":"quic=\":443\"; ma=2592000; v=\"46,43,39\""} in /var/www/modules/google_location/google_location.class.php:436
Stack trace:
#0 /var/www/modules/google_location/google_location.class.php(373): google_location->getLocationData('/var/www/cms/ca...')
#1 /var/www/modules/google_location/google_location.class.php(280): google_location->getLocation('/var/www/cms/ca...')
#2 /var/www/modules/google_location/google_location.class.php(271): google_location->updateLocation()
#3 /var/www/lib/hooks.inc.php(146): google_location->processSubscription('MINUTELY', Array)
#4 /var/www/objects/index.php(175): processSubscriptions('MINUTELY', Array)
#5 {main}
05:20:02 Exception: Error connection : 500 => {"http_code":"HTTP\/1.1 500 Internal Server Error","Content-Type":"text\/html; charset=UTF-8","Date":"Fri, 26 Jul 2019 02:20:02 GMT","Server":"gws","Content-Length":"1730","X-XSS-Protection":"0","X-Frame-Options":"SAMEORIGIN","Alt-Svc":"quic=\":443\"; ma=2592000; v=\"46,43,39\""} in /var/www/modules/google_location/google_location.class.php:436
Stack trace:
#0 /var/www/modules/google_location/google_location.class.php(373): google_location->getLocationData('/var/www/cms/ca...')
#1 /var/www/modules/google_location/google_location.class.php(280): google_location->getLocation('/var/www/cms/ca...')
#2 /var/www/modules/google_location/google_location.class.php(271): google_location->updateLocation()
#3 /var/www/lib/hooks.inc.php(146): google_location->processSubscription('MINUTELY', Array)
#4 /var/www/objects/index.php(175): processSubscriptions('MINUTELY', Array)
#5 {main}

Лог за 27.07.2019

Код: Выделить всё

16:45:03 Exception: Error connection : 500 => {"http_code":"HTTP\/1.1 500 Internal Server Error","Content-Type":"text\/html; charset=UTF-8","Date":"Sat, 27 Jul 2019 13:45:03 GMT","Server":"gws","Content-Length":"1730","X-XSS-Protection":"0","X-Frame-Options":"SAMEORIGIN","Alt-Svc":"quic=\":443\"; ma=2592000; v=\"46,43,39\""} in /var/www/modules/google_location/google_location.class.php:436
Stack trace:
#0 /var/www/modules/google_location/google_location.class.php(373): google_location->getLocationData('/var/www/cms/ca...')
#1 /var/www/modules/google_location/google_location.class.php(280): google_location->getLocation('/var/www/cms/ca...')
#2 /var/www/modules/google_location/google_location.class.php(271): google_location->updateLocation()
#3 /var/www/lib/hooks.inc.php(146): google_location->processSubscription('MINUTELY', Array)
#4 /var/www/objects/index.php(175): processSubscriptions('MINUTELY', Array)
#5 {main}
06:25:02 Exception: Error connection : 500 => {"http_code":"HTTP\/1.1 500 Internal Server Error","Content-Type":"text\/html; charset=UTF-8","Date":"Sat, 27 Jul 2019 03:25:02 GMT","Server":"gws","Content-Length":"1730","X-XSS-Protection":"0","X-Frame-Options":"SAMEORIGIN","Alt-Svc":"quic=\":443\"; ma=2592000; v=\"46,43,39\""} in /var/www/modules/google_location/google_location.class.php:436
Stack trace:
#0 /var/www/modules/google_location/google_location.class.php(373): google_location->getLocationData('/var/www/cms/ca...')
#1 /var/www/modules/google_location/google_location.class.php(280): google_location->getLocation('/var/www/cms/ca...')
#2 /var/www/modules/google_location/google_location.class.php(271): google_location->updateLocation()
#3 /var/www/lib/hooks.inc.php(146): google_location->processSubscription('MINUTELY', Array)
#4 /var/www/objects/index.php(175): processSubscriptions('MINUTELY', Array)
#5 {main}
попробуйте пересоздать cookies файл

Re: [Модуль] Google Location

Добавлено: Пн июл 29, 2019 3:37 pm
Divan
Спасибо вам большое, помогло. Проблема оказалась в самом плагине cookies.txt, я переустановил cookies.txt в браузере google chrome и плагин стал считывать cookies, теперь все работает.

Re: [Модуль] Google Location

Добавлено: Пн июл 29, 2019 6:52 pm
Divan
Скажите, а можно настроить так, чтобы показывал уровень заряда аккумулятора, как на скриншоте, ниже? Как это делается?