Skip to main content

Default Country Ignored

11 years 1 month ago #218233 by natselection
-- 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).




Please Log in or Create an account to join the conversation.

11 years 1 month ago #218235 by Jerome
Replied by Jerome on topic Default Country Ignored
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
Because it affect the field class, I think it could also affect the country field.

Regards,

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

Please Log in or Create an account to join the conversation.

11 years 1 month ago #218537 by natselection
Hi Jerome,

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

Please Log in or Create an account to join the conversation.

11 years 1 month ago #218543 by nicolas
Replied by nicolas on topic Default Country Ignored
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 or Create an account to join the conversation.

11 years 1 month ago #218626 by natselection
Thanks Nicolas. I PM'd login info.

Please Log in or Create an account to join the conversation.

11 years 4 weeks ago #218820 by Xavier
Replied by Xavier on topic Default Country Ignored
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 or Create an account to join the conversation.

11 years 4 weeks ago #218846 by natselection
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 `#__hikashop_zone_link` WHERE `zone_child_namekey` LIKE 'country_UnitedStatesofAmerica_151105809' LIMIT 0 , 30

But I do see entries with this query
Code:
SELECT * FROM `#__hikashop_zone_link` WHERE `zone_parent_namekey` 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

Please Log in or Create an account to join the conversation.

11 years 4 weeks ago #218847 by Xavier
Replied by Xavier on topic Default Country Ignored
Hi,

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

Please Log in or Create an account to join the conversation.

11 years 4 weeks ago #218909 by natselection
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

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum