WordPress.org

Ready to get started?Download WordPress

Forums

Current Weather
Only works when it wants to (8 posts)

  1. maineyak
    Member
    Posted 1 year ago #

    Sometimes it works, sometimes it doesn't. My cached .xml file now looks like this, even thought it's the same location I've been using:

    <title>Yahoo! Weather - Error</title>
    <description>Yahoo! Weather Error</description>
    <item><title>City not found</title><description>
    Invalid Input /forecastrss?w=&u=f
    </description></item></channel></rss>
    <!-- api4.weather.bf1.yahoo.com Sun Dec  2 17:42:58 PST 2012 -->

    It breaks the url to the images, making them like this:
    http://www.mydomain.com/wp-content/plugins/current-weather/assets/images/icons/31x31/.png

    It's putting a trailing slash before the .png. Like I said, this is sporadic, it's not always dysfunctional

    http://wordpress.org/extend/plugins/current-weather/

  2. mmattner
    Member
    Plugin Author

    Posted 1 year ago #

    To be honest with you I don't know what would be causing this. I've seen others encounter errors with this plugin that I've never come across, but I suspect my development environment is part of the reason. Where do you currently host your WordPress installation, and can you tell me what php version you're running on it?

  3. maineyak
    Member
    Posted 1 year ago #

    I ended up using another plugin, I didn't want to, as this one was the cleanest looking one. PHP5 is what I'm running. I thought maybe it was the location (zip code) I was using, but it happens at the same time on multiple sites, using multiple locations.

  4. mmattner
    Member
    Plugin Author

    Posted 1 year ago #

    Part of the reason why I made the plugin was because I needed something clean that could do the job. Sorry to hear it isn't working for you, though.

    Are all of those sites with the same host? And which subset of php 5 is it?

  5. Lee Perry
    Member
    Posted 1 year ago #

    Not working for me ! I'm hosting locally with a static IP. PHP5.3, wordpress 3.5.1.

  6. mmattner
    Member
    Plugin Author

    Posted 1 year ago #

    Can you explain what is not working?

  7. Lee Perry
    Member
    Posted 1 year ago #

    I get the widget title only, nothing else shows up?

  8. mmattner
    Member
    Plugin Author

    Posted 1 year ago #

    Lee, would you be able to turn on debug mode in your local environment, and let me know what output you get? Functions related to this plugin use 'wpgcw_' in their naming structure in some fashion and the plugin has two file names to be aware of: 'current-weather.php,' and 'class.wp_current_weather.php.' Let me know if anything related to that pops up. The other thing to potentially check are the directory permissions of the assets directory and its contents, as well as the includes directory and its contents.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.