WordPress.org

Ready to get started?Download WordPress

Forums

wp-forecast
[resolved] Impossible to setup location (14 posts)

  1. eurokdj
    Member
    Posted 1 year ago #

    Installed OK, but when I wish to select a location in the pop-up which opens by clicking the magnifying glass blue icon, I get this :

    No WeatherBug Partner-ID given. WeatherBug will not be searched.
    Enter a correct Partner-ID in the admin panel and save it to search WeatherBug.
    Please select a location:
    XML Fehler: Undeclared entity error in Zeile 1

    I tried for big cities : Paris, Nairobi, New-York. Always the same. Plugin's documentation does not explain how to this WeatherBug Partner-ID and does not provide any.
    It's the 4th weather forecast WP plugin I test. None is working.

    http://wordpress.org/extend/plugins/wp-forecast/

  2. eurokdj
    Member
    Posted 1 year ago #

    Searched on Weatherbug to find this Partner-ID. Tried to register on their site, but form never leads to anything. Registered on some Accuweather form too, but it only leads to non-free services.
    So I searched again and again. And could finally have it work after an hour of Google research for Accuweather city codes
    A list of major cities can be found here : http://pastebin.com/dbtemx5F
    Not very suitable if you wish to display the weather in a small village. And this still does not explain why the location search does not work.

  3. tuxlog
    Member
    Plugin Author

    Posted 1 year ago #

    Well,

    No WeatherBug Partner-ID given. WeatherBug will not be searched.
    Enter a correct Partner-ID in the admin panel and save it to search WeatherBug.

    This means hat WeatherBug is not search but accuweather is still searched.
    But the XML Error is not intended.
    Did you run the connection test? Some providers block those requests due to security restrictions. This would explain that all four of the plugins do not work.

  4. avijit.wms@gmail.com
    Member
    Posted 1 year ago #

    Hi,
    I want to show London's current temperature and time in my sidebar.Is it possible to do this by this plugin?
    If yes please advice me how do i set or get the 'Partner ID'

  5. eurokdj
    Member
    Posted 1 year ago #

    Thank you for your answer. I'd be curious to know where I can get this Partner-ID... The Accuweather city codes allowed me to have the plugin working for the places I wanted in localhost. Then I updated to the online version. It worked, but after one hour I got this error message : "Failure notice from provider:
    Connection Error:http_request_failed"
    So I stopped using it.

  6. tuxlog
    Member
    Plugin Author

    Posted 1 year ago #

    You can get an WeatherBug Partner Id on the weatherbug.com site und WeatherTools API. Then you have to follow the Wizard which starts immediately.

  7. tuxlog
    Member
    Plugin Author

    Posted 1 year ago #

    If you get an http_request_failed please tr the connection test from the admin dialog and post the results. Thanks.

  8. eurokdj
    Member
    Posted 1 year ago #

    Hello,

    Test for Accuweather gives the following

    Checking for Weatherprovider Accuweather
    Checking default transport
    Test ends in error.
    Error-Message was http_request_failed couldn't connect to host
    Checking fsockopen transport
    Test ends in error.
    Error-Message was http_request_failed couldn't connect to host
    Checking exthttp transport
    Test ends in error.
    Error-Message was http_request_failed couldn't connect to host
    Checking streams transport
    Test ends in error.
    Error-Message was http_request_failed couldn't connect to host
    Checking curl transport
    Test ends in error.
    Error-Message was http_request_failed couldn't connect to host

    Test for WeatherBug gives the following

    Checking for Weatherprovider WeatherBug
    Checking default transport
    Test ends in error.
    Error-Message was http_request_failed Couldn't resolve host '.api.wxbug.net'
    Checking fsockopen transport
    Test ends in error.
    Error-Message was http_request_failed Couldn't resolve host '.api.wxbug.net'
    Checking exthttp transport
    Test ends in error.
    Error-Message was http_request_failed Couldn't resolve host '.api.wxbug.net'
    Checking streams transport
    Test ends in error.
    Error-Message was http_request_failed Couldn't resolve host '.api.wxbug.net'
    Checking curl transport
    Test ends in error.
    Error-Message was http_request_failed Couldn't resolve host '.api.wxbug.net'

    To my opinion, Accuweather and WeatherBug now want to make us pay for what they provided for free. You will have to find another weather forecast provider. Or make your own...

    As for me, unfortunately, I don't have more time to search for more working weather plugins. Already spend more than a day on it, and I can't afford this.

  9. tuxlog
    Member
    Plugin Author

    Posted 1 year ago #

    Well, the error message comes from wordpress and means that it is not possible to connect to the remote server. Most times this is a problem with security restrictions of the provider and has nothing to do with accuweather or weatherbug. This would also be explain why none of the other weather plugins you tried worked. Every weather plugin must get the data from somewhere and if this is blocked by your provider. No Chance.

    Regards, Hans

  10. eurokdj
    Member
    Posted 1 year ago #

    Hello,

    When you talk about my provider, you mean the ISP or the hosting provider ?
    In this case, you should make a list of hosting known for preventing your plugin from working. This would save a lot of time to people like who really can't afford spending so much time on sites which will never bring them any income...

  11. tuxlog
    Member
    Plugin Author

    Posted 1 year ago #

    I am talking about your hoster. Unfortunately I am not able to build a list of thousands of hosting providers in the world. But if the RSS Feeds work in wordpress usually wp-forecast works too. Some hosters just enable the needed PHP modules for you if you ask.

    Best Regards, Hans

  12. arenddeboer
    Member
    Posted 1 year ago #

    Hello Hans,

    Thanks for writing this great plugin. It worked great but now I get this error while trying to add a new location: "XML Fehler: Undeclared entity error in Zeile 1".

    There is no restriction on outgoing connections on my server. The connection check to weather provider (accuweather) returns success.

    Regards,
    Arend

  13. arenddeboer
    Member
    Posted 1 year ago #

    Update:
    When I add the line:
    return;
    In the file func_bug.php at line 294 everything works. I guess weatherbug is searched despite not entering the partner id, hence the empty xml response ?

  14. tuxlog
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Arend,

    thanks for this hint. I fixed it for the next release.

    Regards, Hans

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic