Viewing 15 replies - 151 through 165 (of 207 total)
  • Found my problem. It was the “whitespace issue”. Several spaces were added to the weather .php file after the ?> at the very bottom. Not sure how they got there but all is well. Love the weather plugin.

    Hi,
    Can someboday tell me how to make all text align left, only weather icon in the center?
    How to do that both css and index.php?
    Thanks you so much cuz I am really new here~

    Okay…some questions. How do I get rid of the bullet points and have the text the same font, size, etc. as it is in my sidebar?

    First of all, this plugin rocks ?? I had no problem installing it to my site, and also had my fair bit of fun seeing icons change and all that, everything was good till tonight when it started to drizzle here in Melbourne and my site lost its weather icon!
    Looks like the plugin is unable to generate proper file name for the weather conditon. I’m pasting a copy of the metar data cache with the hope that somebody can simulate the problem YMML 281030Z 29004KT 6000 -DZ SCT004 BKN009 11/10 Q1014 FM1030 VRB05KT 5000 RA BR BKN005
    My knowledge of PHP and programming in general is nill so I couldn’t do much with plugin source.
    Once again thanks to Jeremiah and Beel for this great plugin.

    Yes, if you uncomment out the debug echo for condition_status, cloud_status, and conditions_severity you will see there is no condition_status generated for “drizzle” I suppose one could add the code necessary for that but then there is no image for “drizzle” ??

    Help me to fix it,please
    https://alien.clanshost.net/w/index.php
    Warning: fopen(): open_basedir restriction in effect. File(/home/youruser/public_html/wordpress/wp-content/plugins/weather_cache/metar_cache_VHHH.txt) is not within the allowed path(s): (/home/alien624/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/alien624/public_html/w/wp-content/plugins/weather.php on line 259
    Warning: fopen(/home/youruser/public_html/wordpress/wp-content/plugins/weather_cache/metar_cache_VHHH.txt): failed to open stream: Operation not permitted in /home/alien624/public_html/w/wp-content/plugins/weather.php on line 259

    Change the directory in the plugin so it points to a valid one where you will cache the metar data..

    Thx you,I fixed it

    I’m having the same problem mentioned above with line 259.
    What exactly do you mean by change the directory? How do you have it set up? What are the premissions that I need to set for that directory?

    Does anyone have a solution for this error:
    Warning: fopen(/home/shawng77/mainwebsite_html/wp-content/plugins/weather_cache/metar_cache_KSGF.txt): failed to open stream: No such file or directory in /home2/shawng77/mainwebsite_html/wp-content/plugins/weather.php on line 259
    I’ve tried all the things mentioned in the thread but nothing seems to fix it. All the icons show up and all the info, but it I keep getting this error?

    Does anyone have a solution for this error:
    Warning: fopen(/home/shawng77/public_html/wp-content/plugins/weather_cache/metar_cache_KSGF.txt): failed to open stream: No such file or directory in /home2/shawng77/public_html/wp-content/plugins/weather.php on line 259
    I’ve tried all the things mentioned in the thread but nothing seems to fix it. All the icons show up and all the info, but it I keep getting this error?

    I apologize for the double post above. I had the wrong info in the first one and couldn’t edit the post :-/

    may be u can cut the url into wp-content/plugins/weather_cache/metar_cache_KSGF.txt

    Thread Starter jeremiah

    (@jeremiah)

    shawng77:
    the fix is listed in the error message.
    you need to change the weather cache path from:
    /home/shawng77/public_html/wp-content/…
    to:
    /home2/shawng77/public_html/wp-content/…
    –Jeremiah

    Jeremiah:
    thanks for the reply, i’m one step closer, but now i’m getting this error:
    Warning: fopen(/home2/shawng77/public_html/wordpress/wp-content/plugins/weather_cache/metar_cache_KSGF.txt): failed to open stream: Permission denied in /home2/shawng77/public_html/wordpress/wp-content/plugins/weather.php on line 259
    I have permissions set to 755? What am I doing wrong?

Viewing 15 replies - 151 through 165 (of 207 total)
  • The topic ‘Weather Hack’ is closed to new replies.