Страница 26 из 55

Re: Модуль - Погода от OpenWeatherMap

Добавлено: Сб мар 18, 2017 6:12 pm
Vovix
nick7zmail писал(а):Ещё раз снести, потом установить пробовали?? По идее таблица снова создаться должна при установке....или вручную создайте.
50 раз пробовал

Re: Модуль - Погода от OpenWeatherMap

Добавлено: Сб мар 18, 2017 6:13 pm
nick7zmail
Ща снесу короче эту таблицу...все равно выбор города не работает...погодь пару часиков.

Re: Модуль - Погода от OpenWeatherMap

Добавлено: Сб мар 18, 2017 6:48 pm
Vovix
nick7zmail писал(а):Ща снесу короче эту таблицу...все равно выбор города не работает...погодь пару часиков.
хорошо! спасибо!
правда следут сказать, что неприятности с этим модулем у меня вообще на общем фоне проблем пошли, например:
циклы cycle_websockets, cycle_wscache, cycle_connect, cycle_onewire
постоянно падают!

делал перетык Альфа - Мастер - обновление - Альфа - обновление
помогло не сильно! беда какая-то стала... да тут еще этот модуль...

Re: Модуль - Погода от OpenWeatherMap

Добавлено: Сб мар 18, 2017 7:28 pm
Vovix
и еще заметил одну странность!
модуль у меня снесен уже несколько часов а в X-ray в Debug
вылезла такая строка:

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

20:00:16 0.45088400 app_openweather.processSubscription error (module class not found) 
кто его запускать то пытается? странно, видимо он не удалился бесследно! что-то от него остается! надо найти что! возможно это что-то и мешает!

Re: Модуль - Погода от OpenWeatherMap

Добавлено: Сб мар 18, 2017 7:47 pm
nick7zmail
Событие HOURLY его вызывает...подписать подписал, а отписать забыл при удалении =D...
Тоже поправлю.

Re: Модуль - Погода от OpenWeatherMap

Добавлено: Сб мар 18, 2017 8:52 pm
nick7zmail
Попробовал исправить...пока тупо с полями ввода...
Вводите ID города из списка (ссылка на список рядом с полем ввода)
А имя города - вообще любое можете ввести)) на работу модуля не влиляет....

Пока так...потом попробую сделать импорт списка, если получится.

Re: Модуль - Погода от OpenWeatherMap

Добавлено: Сб мар 18, 2017 8:57 pm
Vovix
nick7zmail писал(а):Попробовал исправить...пока тупо с полями ввода...
Вводите ID города из списка (ссылка на список рядом с полем ввода)
А имя города - вообще любое можете ввести)) на работу модуля не влиляет....

Пока так...потом попробую сделать импорт списка, если получится.
хорошо! жду появления в Маркете дополнений!
пока там так:

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

Open Weather (by Lutsenko Denis)
Прогноз погоды

Последние обновления: 2017-03-18 15:27:35 ( script fix )

Re: Модуль - Погода от OpenWeatherMap

Добавлено: Сб мар 18, 2017 9:10 pm
Vovix
Установил...
Ошибка базы данных после того как ввел все параметры: ID города, наименование, ключ API...
SPOILERSPOILER_SHOW
http://**.**.**.**/admin.php?ow_city_name=Izhevsk&ow_city_id=554840&ow_imagecache=on&ow_forecast_interval=10&ow_update_interval=1&ow_script=&ow_api_key=236b7a3707dc371e490b451d4ba4307a&ow_subm=setting&pd=cGFuZWw6e2FjdGlvbj1hcHBfb3BlbndlYXRoZXJ9pz_&md=app_openweather&inst=adm
Error:
1146: Table 'db_terminal.openweather_city' doesn't exist
select CITY_NAME, CITY_LAT, CITY_LNG from OPENWEATHER_CITY where CITY_ID = 554840

Re: Модуль - Погода от OpenWeatherMap

Добавлено: Сб мар 18, 2017 9:12 pm
nick7zmail
Да где ж вы их берете то =D...проверил несколько раз - ничего не было подобного...ща посмотрю ещё...

Re: Модуль - Погода от OpenWeatherMap

Добавлено: Сб мар 18, 2017 9:21 pm
Vovix
при открытии модуля, сверху от его отображения вываливает на страницу это:
SPOILERSPOILER_SHOW

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

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 278

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 279

Warning: gmdate() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 280

Warning: file_get_contents(http://openweathermap.org/img/w/.png): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 416

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 278

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 279

Warning: gmdate() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 280

Warning: file_get_contents(http://openweathermap.org/img/w/.png): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 416

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 278

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 279

Warning: gmdate() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 280

Warning: file_get_contents(http://openweathermap.org/img/w/.png): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 416

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 278

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 279

Warning: gmdate() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 280

Warning: file_get_contents(http://openweathermap.org/img/w/.png): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 416

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 278

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 279

Warning: gmdate() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 280

Warning: file_get_contents(http://openweathermap.org/img/w/.png): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 416

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 278

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 279

Warning: gmdate() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 280

Warning: file_get_contents(http://openweathermap.org/img/w/.png): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 416

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 278

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 279

Warning: gmdate() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 280

Warning: file_get_contents(http://openweathermap.org/img/w/.png): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 416

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 278

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 279

Warning: gmdate() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 280

Warning: file_get_contents(http://openweathermap.org/img/w/.png): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 416

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 278

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 279

Warning: gmdate() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 280

Warning: file_get_contents(http://openweathermap.org/img/w/.png): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 416

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 278

Warning: date() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 279

Warning: gmdate() expects parameter 2 to be long, string given in C:\_majordomo\htdocs\modules\app_openweather\app_openweather.class.php on line 280
при этом в базе данных таблицы: openweather_city нет

а в объектах класс openweather есть!