Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
» A way to fetch the latest ip2cc database from within the CMS
Category:
support
» feature
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/rotor
chmod +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...
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!
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.
Comments
Comment #1
mrfelton commentedwell, assuming you are on a Linux, you would change in to the directory where the script, ensure it is executable, and run it... like:
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...
Comment #2
vako commentedWell, 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!
Comment #3
mrfelton commentedplease 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.
Comment #4
vako commentedI am currently using ip2nation module, which worked flawlessly for me. Do you think there is any advantage to going back to ip2cc?
Comment #5
mrfelton commentedI've never used it, but if it works for you then stick with it!