[Skip to main content](#vessel-content)

#   Default Country Ignored

##

- **[natselection](/forum/user/4560-natselection "View natselection's Profile")**
- [![natselection's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4560-natselection "View natselection's Profile") Topic Author
- [ Offline](/forum/user/4560-natselection)

Less More

- Posts: 59
- Thank you received: 2
-
- [](http://nswd.co)
-

11 years 1 month ago [\#218233](#218233) by [natselection](/forum/user/4560-natselection "View natselection's Profile")  *[Default Country Ignored](/forum/27-checkout/880030-default-country-ignored#218233 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Doesn't really apply to our issue currently but...  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Hiya,  It seems that since updating to v2.6.0 the default country setting is being ignored. We do have an overrided address&#95;template which I reverted with no change (all it does is move the order around a bit).")* was created by *[natselection](/forum/user/4560-natselection "View natselection's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.4
-- Error-message(debug-mod must be tuned on) -- : Doesn't really apply to our issue currently but...

Notice: Undefined index: inches in /home/torontos/public_html/administrator/components/com_hikashop/helpers/volume.php on line 45

Notice: Undefined index: inches in /home/torontos/public_html/administrator/components/com_hikashop/helpers/volume.php on line 45

Hiya,

It seems that since updating to v2.6.0 the default country setting is being ignored. We do have an overrided address_template which I reverted with no change (all it does is move the order around a bit).

[ ![&#91;img](http://i.nswd.co/Checkout.png) ](http://i.nswd.co/Checkout.png "&#91;img")

[ ![&#91;img](http://i.nswd.co/Suzy_Toronto_-_Administration_-_Field___address_country.png) ](http://i.nswd.co/Suzy_Toronto_-_Administration_-_Field___address_country.png "&#91;img")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDAzMC1kZWZhdWx0LWNvdW50cnktaWdub3JlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 1 month ago [\#218235](#218235) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Default Country Ignored](/forum/27-checkout/880030-default-country-ignored#218235 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Doesn't really apply to our issue currently but...  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Hiya,  It seems that since updating to v2.6.0 the default country setting is being ignored. We do have an overrided address&#95;template which I reverted with no change (all it does is move the order around a bit).")*

Hi,

We have an single reference of "inches" in HikaShop ; so the error message is logical.
Please check that you did not import/set incorrect value in some of product configuration.

About the country issue ; I can't reproduce your issue in our demo website.
Can you please apply the patch given by Nicolas in that thread :
[ www.hikashop.com/forum/install-update/87...to-issue.html#217539](http://www.hikashop.com/forum/install-update/879663-custom-fields-display-limited-to-issue.html#217539)
Because it affect the field class, I think it could also affect the country field.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDAzMC1kZWZhdWx0LWNvdW50cnktaWdub3JlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[natselection](/forum/user/4560-natselection "View natselection's Profile")**
- [![natselection's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4560-natselection "View natselection's Profile") Topic Author
- [ Offline](/forum/user/4560-natselection)

Less More

- Posts: 59
- Thank you received: 2
-
- [](http://nswd.co)
-

11 years 1 month ago [\#218537](#218537) by [natselection](/forum/user/4560-natselection "View natselection's Profile")  Replied by *[natselection](/forum/user/4560-natselection "View natselection's Profile")* on topic *[Default Country Ignored](/forum/27-checkout/880030-default-country-ignored#218537 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Doesn't really apply to our issue currently but...  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Hiya,  It seems that since updating to v2.6.0 the default country setting is being ignored. We do have an overrided address&#95;template which I reverted with no change (all it does is move the order around a bit).")*

Hi Jerome,

I made the suggested change and it didn't make a difference.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDAzMC1kZWZhdWx0LWNvdW50cnktaWdub3JlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 1 month ago [\#218543](#218543) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Default Country Ignored](/forum/27-checkout/880030-default-country-ignored#218543 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Doesn't really apply to our issue currently but...  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Hiya,  It seems that since updating to v2.6.0 the default country setting is being ignored. We do have an overrided address&#95;template which I reverted with no change (all it does is move the order around a bit).")*

Hi,

Did you save the custom field with the new default value ?
If you just disabled the country that was by default before and don't save the new one, it might do that.

If that doesn't help, we would need a backend access in order to check your settings.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDAzMC1kZWZhdWx0LWNvdW50cnktaWdub3JlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[natselection](/forum/user/4560-natselection "View natselection's Profile")**
- [![natselection's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4560-natselection "View natselection's Profile") Topic Author
- [ Offline](/forum/user/4560-natselection)

Less More

- Posts: 59
- Thank you received: 2
-
- [](http://nswd.co)
-

11 years 1 month ago [\#218626](#218626) by [natselection](/forum/user/4560-natselection "View natselection's Profile")  Replied by *[natselection](/forum/user/4560-natselection "View natselection's Profile")* on topic *[Default Country Ignored](/forum/27-checkout/880030-default-country-ignored#218626 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Doesn't really apply to our issue currently but...  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Hiya,  It seems that since updating to v2.6.0 the default country setting is being ignored. We do have an overrided address&#95;template which I reverted with no change (all it does is move the order around a bit).")*

Thanks Nicolas. I PM'd login info.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDAzMC1kZWZhdWx0LWNvdW50cnktaWdub3JlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 4 weeks ago [\#218820](#218820) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Default Country Ignored](/forum/27-checkout/880030-default-country-ignored#218820 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Doesn't really apply to our issue currently but...  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Hiya,  It seems that since updating to v2.6.0 the default country setting is being ignored. We do have an overrided address&#95;template which I reverted with no change (all it does is move the order around a bit).")*

Hi,

The issue is due to an entry present in your table #__hikashop_zone_link, but linking to a zone which is no more existing.
So I think that you had created a new zone "UnitedStatesofAmerica" and then deleted it.

Please go in your phpMyAdmin interface and delete the entry with the "zone_child_namekey" equal to "country_UnitedStatesofAmerica_151105809". We will add check in HikaShop to avoid this kind of issues.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDAzMC1kZWZhdWx0LWNvdW50cnktaWdub3JlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[natselection](/forum/user/4560-natselection "View natselection's Profile")**
- [![natselection's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4560-natselection "View natselection's Profile") Topic Author
- [ Offline](/forum/user/4560-natselection)

Less More

- Posts: 59
- Thank you received: 2
-
- [](http://nswd.co)
-

11 years 4 weeks ago [\#218846](#218846) by [natselection](/forum/user/4560-natselection "View natselection's Profile")  Replied by *[natselection](/forum/user/4560-natselection "View natselection's Profile")* on topic *[Default Country Ignored](/forum/27-checkout/880030-default-country-ignored#218846 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Doesn't really apply to our issue currently but...  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Hiya,  It seems that since updating to v2.6.0 the default country setting is being ignored. We do have an overrided address&#95;template which I reverted with no change (all it does is move the order around a bit).")*

Hi,

Thanks for all the help. I really appreciate it.

You are correct, I do recall at some point they added a zone and removed it. It's been so long ago I can't recall the specific reason but it was something like they deleted a state and tried to fix it but ended up reinstalling to fix.

I am a bit confused though with your instructions. When I run this query I get 0 results:
Code:

SELECT * FROM &#96;#__hikashop_zone_link&#96; WHERE &#96;zone_child_namekey&#96; LIKE 'country_UnitedStatesofAmerica_151105809' LIMIT 0 , 30

But I do see entries with this query
Code:

SELECT * FROM &#96;#__hikashop_zone_link&#96; WHERE &#96;zone_parent_namekey&#96; LIKE 'country_UnitedStatesofAmerica_151105809' LIMIT 0 , 30

The cPanel login is the same as the FTP login and can be accessed at [ domainname.com:2083](http://domainname.com:2083)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDAzMC1kZWZhdWx0LWNvdW50cnktaWdub3JlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 4 weeks ago [\#218847](#218847) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Default Country Ignored](/forum/27-checkout/880030-default-country-ignored#218847 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Doesn't really apply to our issue currently but...  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Hiya,  It seems that since updating to v2.6.0 the default country setting is being ignored. We do have an overrided address&#95;template which I reverted with no change (all it does is move the order around a bit).")*

Hi,

Yes you have to delete these entries, the ones from the zone_parent_namekey with this value.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDAzMC1kZWZhdWx0LWNvdW50cnktaWdub3JlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[natselection](/forum/user/4560-natselection "View natselection's Profile")**
- [![natselection's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4560-natselection "View natselection's Profile") Topic Author
- [ Offline](/forum/user/4560-natselection)

Less More

- Posts: 59
- Thank you received: 2
-
- [](http://nswd.co)
-

11 years 4 weeks ago [\#218909](#218909) by [natselection](/forum/user/4560-natselection "View natselection's Profile")  Replied by *[natselection](/forum/user/4560-natselection "View natselection's Profile")* on topic *[Default Country Ignored](/forum/27-checkout/880030-default-country-ignored#218909 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4 -- Error-message(debug-mod must be tuned on) -- : Doesn't really apply to our issue currently but...  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Notice: Undefined index: inches in /home/torontos/public&#95;html/administrator/components/com&#95;hikashop/helpers/volume.php on line 45  Hiya,  It seems that since updating to v2.6.0 the default country setting is being ignored. We do have an overrided address&#95;template which I reverted with no change (all it does is move the order around a bit).")*

Thanks @all for the help. This indeed did work but before I dropped those rows I updated all of the existing orders that were using that old value.

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDAzMC1kZWZhdWx0LWNvdW50cnktaWdub3JlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.079 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
