jeremiah
Forum Replies Created
-
Forum: Plugins
In reply to: Weather Hackhmm.
just for kicks, try setting them to 777
or create a weather_cache folder in some other location.
(I’d probably put it in the root folder for testing)
and point the plugin at the new weather_cache folder.
–JeremiahForum: Plugins
In reply to: weather plugin icon’s not workingBeel is far more industrious than I ??
I’m just a hack. (know just enough to get myself into trouble).. lol
–JeremiahForum: Plugins
In reply to: weather plugin icon’s not workingTry this:
https://www.sonicpling.net/weather/weather.phps
version 1.1.4
I’ve changed the way it writes out the icon info and added a little more debug information.
–JeremiahForum: Plugins
In reply to: weather plugin icon’s not workingI wonder why just that one bit of code is failing though.
It’s really not doing anything that the rest of the code isn’t doing.
this (to my untrained eye) is a very odd case.
maybe we can put some debug information into the icon choosing code and give that a shot.
let me see what I can come up with.
–JeremiahForum: Plugins
In reply to: weather plugin icon’s not workinghere you go:
https://www.sonicpling.net/weather/weather.phps
version 1.1.3
I got rid of some redundancy in the code that I had introduced with the addition of the $icon_extension bit. (I don’t know what I was thinking there. now it only appears in 2 places instead of 10+)
made the condition status debug part of the full debug group and controlled by the cache_debug variable.
Made the Icon Alt and Title tags reflect the icon that should be chosen rather than a generic status.
no real substantial changes, and I doubt that it will make a difference, but it might be worth a try anyway.
–JeremiahForum: Plugins
In reply to: weather plugin icon’s not workingwhether you want to give up or not is your call.
I would like to try and figure this out, but it’s just Dependant on your tolerance for frustration.. lol
I do have a slightly newer version you can try if you want to.
there are quite a few things I would like to change about the way the plugin works, but I haven’t had time to make the changes lately.
I’ve changed the Icon Alt and title tags to reflect the Cloud Status, and I’m wondering if those will work correctly on your server.
I’ll have a link to the new code in just a sec.
–JeremiahForum: Plugins
In reply to: Weather Hackshawng77:
do you have the permissions on the “weather_cache” folder set to 755?
–JeremiahForum: Plugins
In reply to: weather plugin icon’s not workingWhat’s really odd to me is that Weather Icon, and Get Weather are both failing here.
As far as I know there’s not any code shared between the two.
Strange.
(Actually, I just took a look at the code for get weather, and it’s pretty impressive, and definitely not borrowing code from weather icon)
–JeremiahForum: Plugins
In reply to: weather plugin icon’s not workinghttps://www.sonicpling.net/weather/weather-KORD.php
well, the METAR data must be ok, the icon is showing up fine for me.
do you know what version of php you are running?
have you checked your server’s error log?
–JeremiahForum: Plugins
In reply to: weather plugin icon’s not workingzoblue:
interesting problem.
have you tried a different location code?
it’s possible that the METAR data for “Chicago, IL” is not in the formated the way the plugins are expecting, and that might be causing the plugin some confusion as to which icon to use.
I can’t really think of anything else that would cause the problem that you’re having, since you seem to have everything in order.
–JeremiahForum: Plugins
In reply to: Weather Hackshawng77:
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/…
–JeremiahForum: Plugins
In reply to: Weather Hack Questionset the option “cache_debug” (in weather.php) to “0” thats “zero”, not “oh”.. that will remove the debug information.
the header problem is caused by extra white space in the file.
make sure that there aren’t any spaces or returns at the end of the weather.php file. (assuming thats the only one you’ve modified.)
–JeremiahForum: Plugins
In reply to: Weather HackThomasso,
have you tried pointing the cache here:
/home/virtual/site94/fst/var/www/html/wp-content/plugins/
rather than here:
/home/thomasso222/mainwebsite_html/wp-content/plugins/
?
I would assume that if your host is setup correctly, it should work either way, but I would try changing it and see what you get.
–JeremiahForum: Plugins
In reply to: Weather HackWhat do you have on this line:
$cache_path = '/home/youruser/public_html/wordpress/wp-content/plugins/weather_cache';
it looks as though you’re pointing it to an http address, but what you need is a filesystem path.
–JeremiahForum: Plugins
In reply to: Weather HackInternet explorer chokes on transparent png’s.
You can either use this workaround that star found:
https://homepage.ntlworld.com/bobosola/
Or use the alternate images included in the zip file.
–Jeremiah