Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Changes in the database structure. Make certain to disable, uninstall, copy new module files, and then enable module. The serial property has been changed to a field type of int. This removes the auto increment property in MySQL.
An error occurred when a user either specified to display zero days or just simply left the field blank. There is now a check in place to make sure that they are entering a value greater than zero.
Moved the Geo IP caching from file access to to the database using Drupal's caching features. Also, the fopen functions have been removed and replaced by a slightly more intelligent method. This will fix issues with hosts that prevent URL access.
#node/250497 - shanwa, thank you--I didn't realize that hosts are disabling URL access through the file_get_contents.
Hopefully hosts that disable URL access through file_get_contents have enabled cURL functionality. I have coded the script to more intelligently determine if it is able to use cURL functionality (a optimized alternative to file_get_contents).
Also, I removed the {} around the field names in sql statements; this fixes problems with anybody that is using database table prefixing.
If cURL functionality exists, then the script will use cURL, otherwise it will default to using file_get_contents. Although some hosts disable PHP from accessing URLs with file_get_contents. I am hoping that cURL will be enabled on those hosts. If you know of a work around, please contact me.
There was a bug on the initial install that resulted in the weather report not displaying until the cache_weatherfacti table was cleared. This has now been fixed. Please use this version as your first install.
This is a bug fix based on picans' comments (the install fails with curl function errors.)
#node/250176 -- fixed bugs that picans found. The curl functions have been replaced by the file_get_contents function. Also, the administrative section has been fixed. I would suggest to uninstall and then reinstall this module. Thank you picans for reporting this bug."