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.
Hi,
I downloaded the dev version for drupal 7. I've been having some issues with it and thought I would try running update.php. During this I get an error message:
Warning: file_get_contents(sites/all/modules/ip2locale/ip2locale.js): failed to open stream: No such file or directory in _locale_parse_js_file() (line 1488 of >cut< /includes/locale.inc).
Looking at the module's directory the file isn't there. Don't know how important this is. Marking minor.
Comment | File | Size | Author |
---|---|---|---|
#1 | ip2locale-n1911828-2.patch | 542 bytes | DamienMcKenna |
Comments
Comment #1
DamienMcKennaA patch to remove the lines that try to load the JS file.
Comment #2
firfin CreditAttribution: firfin as a volunteer and commentedThanks for the patch Damien. But to be honest I can't even remember what project I used this for. So I am unable the test your patch in the environment that I was having problems with.
I did try to reproduce the error on simplytest.me with the latest dev version, but I couldn't get the error to show up. Even without the patch.
Patch looks good to me, although I am not sure why the lines were there in the first place...