При показе компонента выдаёт ошибки Warning: file_get_contents(http://xml

  • Пётр Кропоткин
  • Пётр Кропоткин's Avatar Topic Author
  • Visitor
13 years 1 month ago - 13 years 1 month ago #1822 by Пётр Кропоткин
При показе компонента выдаёт ошибки

Warning: file_get_contents(xml.weather.co.ua/1.2/forecast/?dayf=5&lang=ru) [function.file-get-contents]: failed to open stream: No such file or directory in /www/components/com_jlweather/models/jlweather.php on line 27

Warning: Invalid argument supplied for foreach() in /www/components/com_jlweather/models/jlweather.php on line 39

На локалхосте только в 39 строке
Last edit: 13 years 1 month ago by Пётр Кропоткин.

Please Log in to join the conversation.

More
13 years 1 month ago - 13 years 1 month ago #1823 by JoomLine
мы не поддерживаем расширения на локальных серверах.
Из ошибки следует что компонент не может подключиться к удаленному серверу.
Либо у вас локальный сервер не позволяет удаленные подключения... либо у вас указан не существующий город.
Last edit: 13 years 1 month ago by JoomLine.

Please Log in to join the conversation.

  • Пётр Кропоткин
  • Пётр Кропоткин's Avatar Topic Author
  • Visitor
13 years 1 month ago - 13 years 1 month ago #1824 by Пётр Кропоткин
ошибки возникают непосредственно на рабочем сайте, в 28 и 39 строке, на локалхосте только в 39 строке.
города указаны по умолчанию в компоненте 692#Кемерово,23#Киев

Joomla 2.5, компонент 2.0 от March, 2011
Last edit: 13 years 1 month ago by Пётр Кропоткин.

Please Log in to join the conversation.

  • Пётр Кропоткин
  • Пётр Кропоткин's Avatar Topic Author
  • Visitor
13 years 1 month ago - 13 years 1 month ago #1825 by Пётр Кропоткин
на локалхосте убрал ",23#Киев" оставил только "692#Кемерово" и всё заработало, возможно дело в разделителе?

но на рабочем сайте всёравно всё те же ошибки в 27 и 39 строке
Last edit: 13 years 1 month ago by Пётр Кропоткин.

Please Log in to join the conversation.

  • Пётр Кропоткин
  • Пётр Кропоткин's Avatar Topic Author
  • Visitor
13 years 1 month ago - 13 years 1 month ago #1826 by Пётр Кропоткин
на локалхосте всё заработало в том числе и несколько городов теперь показывает (не знаю почему заработало), но вот рабочий сайт по прежнему выдаёт те же ошибки 27 и 39
Last edit: 13 years 1 month ago by Пётр Кропоткин.

Please Log in to join the conversation.

More
13 years 1 month ago - 13 years 1 month ago #1827 by JoomLine
очистите кеш... Скорей всего это поможет. А так же дайте ссылку на ваш сайт чтоб посмотреть что там такое тварится.
Last edit: 13 years 1 month ago by JoomLine.

Please Log in to join the conversation.

  • Пётр Кропоткин
  • Пётр Кропоткин's Avatar Topic Author
  • Visitor
13 years 1 month ago - 13 years 1 month ago #1828 by Пётр Кропоткин
кэширование на сайте отключено, вот пример online9.ru/multserialy.html
Last edit: 13 years 1 month ago by Пётр Кропоткин.

Please Log in to join the conversation.

  • Пётр Кропоткин
  • Пётр Кропоткин's Avatar Topic Author
  • Visitor
13 years 1 month ago - 13 years 1 month ago #1829 by Пётр Кропоткин
вот информация о сервере

Платформа, на которой работает PHP Linux u10102 2.6.26-2-686 #1 SMP Thu May 28 15:39:35 UTC 2009 i686
Версия базы данных 5.0.51a-24+lenny2
Кодировка базы данных utf8_general_ci
Версия PHP 5.2.5
Веб-сервер Apache/2.2.9 (Debian)
Last edit: 13 years 1 month ago by Пётр Кропоткин.

Please Log in to join the conversation.

More
13 years 1 month ago - 13 years 1 month ago #1830 by JoomLine
и что? что отключено компонент все равно кешируется на 6 часов по умолчанию если ему не удалось спарсить корректно то он и закешировал что не может получить данные... в общем проблема только в том что данные от сервера не получены.
Last edit: 13 years 1 month ago by JoomLine.

Please Log in to join the conversation.

  • Пётр Кропоткин
  • Пётр Кропоткин's Avatar Topic Author
  • Visitor
13 years 1 month ago - 13 years 1 month ago #1831 by Пётр Кропоткин
Дело не в кеше, я его чистил. Так же я попробывал поставить компонент 1.1 для Джумлы 1.5 на сателлите на том же сервере, те же ошибки stroim-domm.ru/index.php?option=com_jlwe...ut=default2&Itemid=7

А на сателлите расположенном на другом сервере той же хостинговой компании всё работает отлично dizajn-interyera.ru/index.php?option=com...ther&cid=19&Itemid=8

Значит проблема именно в сервере, может на ошибки сказывается то что на первом сервере более старые версии Апача, МайСКЛа и ПХП и из-за этого компонент не работает или может нужно на сервере какие то настройки проверить?
Last edit: 13 years 1 month ago by Пётр Кропоткин.

Please Log in to join the conversation.

Powered by Kunena Forum

Last from the forum

    • чет не работает
    • You may have heard about the for a while now, but you still don't dare to visit them. It is time for you to lose your fear of these prostitute websites. Take your mobile phone, and visit it now. The escorts are local prostitutes you can access for a minimum amount.
    • In Component / Yandex Market XML
    • JL Content Fields Filter в настройках полей нет та...
    •   Здравствуйте. joomline.ru/rasshirenija/moduli/jlconten...=m4vw1l4vab486665406 отсюда с гитхаба скачал и установил на джумла версии 4.1.5 со страницы установка расширений. После установки появилась ошибка " Class "Joomla\Plugin\Jlcontentfieldsfilter\Extension\Jlcontentfieldsfilter" not found" Зашел на фтп по пути /plugins/system/ и перенес папку в /plugins сменив namespace. Дальше все по инструкции - в системе активировал плагин. В модулях включил. Захожу в созданное поле - есть стандартные вкладки, вкладки "Параметры фильтрации" нет. Что делать? >>>>>>>>>>>>>>>>>>>>> Hello. joomline.ru/rasshirenija/moduli/jlconten...=m4vw1l4vab486665406 I downloaded version 4.1.5 from GitHub and installed it on Joomla from the extension installation page. After installation, an error occurred: "Class "Joomla\Plugin\Jlcontentfieldsfilter\Extension\Jlcontentfieldsfilter" not found." I went to ftp at /plugins/system/ and moved the link to /plugins, changing the namespace. Then everything according to the instructions - the plugin was activated in the system. It is enabled in the modules. I go to the created field - there are standard tabs, but there is no "Filter parameters" tab. What should I do?  
    • In Modules Joomline / JL Content Fields Filter
    • JL Content Fields Filter в настройках полей нет та...
    • Здравствуйте. joomline.ru/rasshirenija/moduli/jlconten...=m4vw1l4vab486665406 отсюда с гитхаба скачал и установил на джумла версии 4.1.5 со страницы установка расширений. После установки появилась ошибка " Class "Joomla\Plugin\Jlcontentfieldsfilter\Extension\Jlcontentfieldsfilter" not found" Зашел на фтп по пути /plugins/system/ и перенес папку в /plugins сменив namespace. Дальше все по инструкции - в системе активировал плагин. В модулях включил. Захожу в созданное поле - есть стандартные вкладки, вкладки "Параметры фильтрации" нет. Что делать? >>>>>>>>>>>>>>>>>>>>> Hello. joomline.ru/rasshirenija/moduli/jlconten...=m4vw1l4vab486665406 I downloaded version 4.1.5 from GitHub and installed it on Joomla from the extension installation page. After installation, an error occurred: "Class "Joomla\Plugin\Jlcontentfieldsfilter\Extension\Jlcontentfieldsfilter" not found." I went to ftp at /plugins/system/ and moved the link to /plugins, changing the namespace. Then everything according to the instructions - the plugin was activated in the system. It is enabled in the modules. I go to the created field - there are standard tabs, but there is no "Filter parameters" tab. What should I do?
    • In Plugins Joomline / Other plugin
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.