ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Ip2Nation Update IP Database error

July 02, 2012 2:31pm

Subscribe [3]
  • #1 / Jul 02, 2012 2:31pm

    smcgo4

    36 posts

    ExpressionEngine 2.5.2, Ip2Nation module 3.  When I try to update the database I get the following error:

    @todo cache full

    Any pointers?

    Cheers

    Steve

  • #2 / Jul 03, 2012 2:53pm

    Dan Decker

    7338 posts

    Hi Steve,

    I am sorry for the trouble you are having with the update to IP2Nation.

    When you receive that error, is that the full text of the message? Seems a bit terse and rather odd?

    Try this for me, Tools->Data->Clear Caching: All Caches in the Control Panel. Once that completes, try the update again.

    Let me know the result.

    Cheers,

  • #3 / Jul 03, 2012 6:57pm

    smcgo4

    36 posts

    Hi Dan

    Thank you for getting back to me.  That is the entirety of the error message I get. :(

    I have cleared all the caches I can find (both through the control panel and manually) a number of times—still the same result.

    Does the update process in the module use curl?

    Cheers

    Steve

  • #4 / Jul 05, 2012 3:42pm

    Dan Decker

    7338 posts

    Hey Steve,

    I took this to Pascal, who wrote the updater for this. It does use CURL to retrieve the database.


    Can you make sure to delete the ip2nation folder completely from your ExpressionEngine cache at /system/expressionengine/cache and try the update again?

    If that doesn’t get this taken care of, there are ways to work around the built in downloader.

    Cheers,

  • #5 / Jul 06, 2012 4:00am

    smcgo4

    36 posts

    Hi Dan

    Did the delete thing—no luck.  The reason I asked about curl is that I am behind a ‘locked down’ government server that requires curl to pass the proxy username and password to access ‘outside’ data. :(

  • #6 / Jul 09, 2012 12:22pm

    Pascal Kriete

    2589 posts

    Hey Steve,

    Sorry to keep harping on the cache, it’s just that this error (with an unfortunate missing language key) normally happens before the download is started.

    We have a few options here, let’s start by localizing this error further:

    Does it happen before or after you click “Update”?
    Do you ever get to a point where you see a red “Downloading data”?
    Do you have a system/expressionengine/cache/ip2nation folder? Is it readable/writable? Is it empty (if not, what’s in it)?

    Thanks,
    Pascal

  • #7 / Jul 09, 2012 7:22pm

    smcgo4

    36 posts

    Hey Steve,

    Sorry to keep harping on the cache, it’s just that this error (with an unfortunate missing language key) normally happens before the download is started.

    We have a few options here, let’s start by localizing this error further:

    Does it happen before or after you click “Update”?
    Do you ever get to a point where you see a red “Downloading data”?
    Do you have a system/expressionengine/cache/ip2nation folder? Is it readable/writable? Is it empty (if not, what’s in it)?

    Thanks,
    Pascal

    Hi Pascal

    Does it happen before or after you click “Update”? <—After I click the update button
    Do you ever get to a point where you see a red “Downloading data”? <—No.  All that happens is the Safari busy icon spins for a while and then error message @todo cache full message appears in the EE notification area (with the red exclamation mark symbol).
    Do you have a system/expressionengine/cache/ip2nation folder? Is it readable/writable? Is it empty (if not, what’s in it)?  I didn’t, so created one with 777 access.  Same result.  The reason I had to create the folder is that the system is also compiled with PHP safe mode on.  P.S. the folder is empty

    Cheers

    Steve

  • #8 / Jul 11, 2012 7:28pm

    smcgo4

    36 posts

    As a workaround, can I manually populate the ip2Nation table?

  • #9 / Jul 13, 2012 12:46pm

    Dan Decker

    7338 posts

    Hi smcgo4,

    This is the database the module is trying to update. You should be able to download that file, place it in the ip2nation folder in the cache folder.

    The module should detect the file there and you can proceed with the update.

    Can you give that a try?

    Cheers,

  • #10 / Jul 14, 2012 7:39am

    smcgo4

    36 posts

    Hi Dan

    Thank you for pointing me in the right direction for the ip files.  I manually loaded the data into the ip2nation table and all is working.

    Cheers

    Steve

  • #11 / Jul 17, 2012 1:02pm

    Shane Eckert

    7174 posts

    Hey smcgo4,

    I am glad to see that Dan was able to help you out!

    If you need anything, please just let me know!

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases