A way to fetch the latest ip2cc database from within the CMS
Vako - April 14, 2009 - 22:53
| Project: | IP to Country |
| Version: | 6.x-1.1-beta3 |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
The documentation says:
Download the ip2cc database using the `fetchdb.sh` script provided
How can I run this script??

#1
well, assuming you are on a Linux, you would change in to the directory where the script, ensure it is executable, and run it... like:
cd modules/rotorchmod +x fetchdb.sh
./fetchdb.sh
If you're on Windows, then you need something like cygwin installed (http://www.cygwin.com/). Once you have that installed, you'll be able to run the script just like you were on Linux.
I think what is needed, is a way of fetching the latest database from within the CMS...
#2
Well, I tried cygwin and couldn't make it work. This is the hardest module I have ever seen for Drupal.
There should be an easier way for importing the database. Please help!
#3
please try with beta-3. fetch.db is no longer required and there are some much better instructions for updating the database in the modules admin pages.
#4
I am currently using ip2nation module, which worked flawlessly for me. Do you think there is any advantage to going back to ip2cc?
#5
I've never used it, but if it works for you then stick with it!
#6
Automatically closed -- issue fixed for 2 weeks with no activity.