Title: [Plugin: Runners Log] Enable weather causes PHP error
Last modified: August 20, 2016

---

# [Plugin: Runners Log] Enable weather causes PHP error

 *  [DarrenSwords](https://wordpress.org/support/users/darrenswords/)
 * (@darrenswords)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-runners-log-enable-weather-causes-php-error/)
 * Have recently descovered this plugin which i must say is fantastic!
    Unfortunatly
   enable the WEATHER function, killed my site with this error Warning: file_get_contents()[
   function.file-get-contents]: URL file-access is disabled in the server configuration
   in /homepages/17/d389098024/htdocs/fitboyfat_blog/wp-content/plugins/runners-
   log/Includes/runnerslog_weather_functions.php on line 12
 * Warning: file_get_contents([http://weather.yahooapis.com/forecastrss?w=27116540&u=f](http://weather.yahooapis.com/forecastrss?w=27116540&u=f))[
   function.file-get-contents]: failed to open stream: no suitable wrapper could
   be found in /homepages/17/d389098024/htdocs/fitboyfat_blog/wp-content/plugins/
   runners-log/Includes/runnerslog_weather_functions.php on line 12
    weather failed,
   check feed URL
 * I have had to rename the plugins folder to get back in as nothing was working!
 * Any help would be great
 * [http://wordpress.org/extend/plugins/runners-log/](http://wordpress.org/extend/plugins/runners-log/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [DarrenSwords](https://wordpress.org/support/users/darrenswords/)
 * (@darrenswords)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-runners-log-enable-weather-causes-php-error/#post-2842510)
 * This is the error when i activate it
 * Warning: file_get_contents() [function.file-get-contents]: URL file-access is
   disabled in the server configuration in /homepages/17/d389098024/htdocs/fitboyfat_blog/
   wp-content/plugins/runners-log/Includes/runnerslog_weather_functions.php on line
   12
 * Using PHP 5.2.17
 *  Plugin Author [Frederik Liljefred. M.D.](https://wordpress.org/support/users/frold/)
 * (@frold)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-runners-log-enable-weather-causes-php-error/#post-2842550)
 * Im not able to recall the reported bug, could give me some more details?
 * 1. did you enable any items in wp-admin/admin.php?page=runners-log-weather-settings
 * Enable Temperature Measurement
    Enable Windchill Measurement Enable Humidity 
   Measurement Enable Textbased Weather Description Enable Weather Data from Yahoo
 * 2. if you did so, did you paste in an WOEID in the fields below:
    New WOEID:
 * 3. did you place in a tag in your template like?
    `<?php if (function_exists(
   runners_log_weather)) echo runners_log_weather(); ?>`
 * No one else have reported that bug and I did just made a fresh install of wp 
   3.4 and the latest version of runners-logs. Total vanilla, and I do see my site
   without any errors as you have reported.
 * So please help, if Im going to help you further in this issue…
 *  Plugin Author [Frederik Liljefred. M.D.](https://wordpress.org/support/users/frold/)
 * (@frold)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-runners-log-enable-weather-causes-php-error/#post-2842552)
 * Now I did try to set it to english distance and units.
 * And did use the WOID: 27116540
 * Im still not able to get that error.
 * I also see the link is valid: [http://weather.yahooapis.com/forecastrss?w=27116540&u=f](http://weather.yahooapis.com/forecastrss?w=27116540&u=f)
 * Maybe yahoo’s weather service was down a moment or two?
 *  Thread Starter [DarrenSwords](https://wordpress.org/support/users/darrenswords/)
 * (@darrenswords)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-runners-log-enable-weather-causes-php-error/#post-2842553)
 * hi,
 * I selected all the options you mentioned above, AFTER i put in the WOEID.
 * Soon as I selecetd enable weather i got the error and couldnt get in to site 
   or admin.
 * I have now been able to edit the SQL database to reset the plugin settings and
   get everything working. As long as I dont enable the weather its all good!
 *  Plugin Author [Frederik Liljefred. M.D.](https://wordpress.org/support/users/frold/)
 * (@frold)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-runners-log-enable-weather-causes-php-error/#post-2842554)
 * I’ll do a new test and I will report back…
 *  Plugin Author [Frederik Liljefred. M.D.](https://wordpress.org/support/users/frold/)
 * (@frold)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-runners-log-enable-weather-causes-php-error/#post-2842555)
 * Okay, here is what I did.
 * Fresh vanilla installation of WP3.3 on my Synology Diskstation
    Did install Runners-
   log I did activate the plug-in
 * Did visit the frontend and the “Hello world” post: wordpress/?p=1 – **no errors**
   
   Did visit the sample page wordpress/?page_id=2 – **no errors**
 * In Runners-log settings I did set:
    Distance type = Miles Unit type = English
 * And Im still not able to recall it… Sorry…
 *  Plugin Author [Frederik Liljefred. M.D.](https://wordpress.org/support/users/frold/)
 * (@frold)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-runners-log-enable-weather-causes-php-error/#post-2842556)
 * I did release version 3.2 – maybe it will fix it?

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘[Plugin: Runners Log] Enable weather causes PHP error’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/runners-log_997c59.svg)
 * [Runners Log](https://wordpress.org/plugins/runners-log/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/runners-log/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/runners-log/)
 * [Active Topics](https://wordpress.org/support/plugin/runners-log/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/runners-log/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/runners-log/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 7 replies
 * 2 participants
 * Last reply from: [Frederik Liljefred. M.D.](https://wordpress.org/support/users/frold/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-runners-log-enable-weather-causes-php-error/#post-2842556)
 * Status: not resolved