We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

IP to Nation problem after updating to EE2.8.0

How Do I?

eyekiller's avatar
eyekiller
5 posts
10 years ago
eyekiller's avatar eyekiller

Hi there,

I am having a problem using a combo of IP to Nation and MC Country, I am using MC Country to set which country the sites contact details are set for between one country and another, if country A then contact details A will show but if anything else contact details B show. This works fine if I hard code a countries two letter code.

However, with {exp:mc_country} it is stating ‘unknown’, after updating and going over the support forum they traced it back to an error with EE’s ip to nation https://devot-ee.com/add-ons/support/mc-country/viewthread/12958

I had a hunt through the forum and followed the suggested fixes from some old posts here

https://ellislab.com/forums/viewthread/222047/ https://ellislab.com/forums/viewthread/227693/

By deleting the ip2nation folder in the cache and clearing the cache in the CMS but I just seem to be stuck on ‘Unpacked IP Database. Inserting data…’ when I select update database when in the Add Ons Module page for ip to nation. Doing this creates a folder on the server under system/expressionengine/cache/ip2nation, however this folder is empty and within the CMS it still reads ‘Unpacked IP Database. Inserting data…’ after 30 minutes +.

When I call {exp:ip_to_nation:get_country}, as mentioned here (https://ellislab.com/expressionengine/user-guide/add-ons/ip_to_nation/) I just get ‘Unknown’.

The folder for the system/expressionengine/cache is set to 777 and exp_ip2nation and exp_ip2nation_countries exist in the database but I don’t see a list of IP addresses in the database anywhere nor anything in cache/ip2nation.

Any suggestions on how I may fix this issue?

Regards

       
eirajeremy's avatar
eirajeremy
1 posts
2 years ago
eirajeremy's avatar eirajeremy

It sounds like you are experiencing issues with the IP to Nation add-on and MC Country combo after updating to EE2.8.0. Based on your description, it seems that there might be an issue with the IP to Nation add-on. And you can check my location.

       
whereami's avatar
whereami
1 posts
2 years ago
whereami's avatar whereami

To troubleshoot the issue with the ‘Unpacked IP Database. Inserting data…’ problem and ‘Unknown’ results in the IP to Nation and MC Country add-ons, ensure compatibility, review server configuration, clear caches, verify database tables, check add-on installation, attempt manual database updates, implement debugging tags, seek community support, and contact add-on or ExpressionEngine support if necessary.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.