If after installation of the weather 1.30 module, correct activation and setup you get an error message like this :
Fatal error: Failed opening required 'weather.class.php' (include_path='') in /home/sites/site38/web/modules/weather/pnuserapi.php on line 601
or
Warning: weather_userapi_getall() [function.weather-userapi-getall]: open_basedir restriction in effect. File(/usr/local/lib/php/weather.class.php) is not within the allowed path(s): (/STORE/parazone_dk) in /STORE/parazone_dk/public_html/modules/weather/pnuserapi.php on line 601
Or another error message about a problem on line 501 of the pnuserapi.php, this is caused by a bug in the 1.30 version (but I missed it because it works most servers including mine !) the path to the file is relative to the current folder wich causes problem on some servers.
So as a temporary fix, please make the following changes (2 files to update). I assume that the module directory name is weather (with a lowercase w) as in the released zip archive.
change #1 : in pnuserapi.php look for the line (it is line 601) :
and replace it with :
change #2 : in weather.class.php look for the line
and replace it with :
In the following version I will correct this problem and replace the hardcoded module name (weather) with a call to pnModGetInfo just to be sure it will work with every path.
Let me know if you still have any problem with line 601 !!