Re: [Модуль] Google Location
Добавлено: Вс июл 21, 2019 10:51 pm
а, кстати,для определенности - это в м/с?
а, кстати,для определенности - это в м/с?
что в логе при включенном debug???Divan писал(а): Пн июл 29, 2019 11:15 am После того как обновил модуль google location до версии 0.9, у меня перестал определять устройство, в версии 0.8 это работает. Файл cookies добавлен, настройки не менял. Как исправить?
Логи посмотреть Xray -> Debug
Код: Выделить всё
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}Код: Выделить всё
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}Код: Выделить всё
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 файлDivan писал(а): Пн июл 29, 2019 3:11 pm Вроде бы нашел логи, но не знаю, они или нет.
Лог за 25.07.2019Лог за 26.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}Код: Выделить всё
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}