AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: macat on June 18, 2013, 06:34:37 AM

Title: Region/State Problem
Post by: macat on June 18, 2013, 06:34:37 AM
In settings I have changed the region / state to CA at least 20 times, I then click save right beside it and then click save at the bottom.  I keeps going back to nothing???

Store is here: http://myresq.org/crsd/index.php
Title: Re: Region/State Problem
Post by: abolabo on June 18, 2013, 06:47:09 AM
it's a bug.
we already fixed it in 1.1.6.
to quick fix replace file admin/controller/responses/common/zone.php by attached
and let me know
Title: Re: Region/State Problem
Post by: macat on June 18, 2013, 06:52:09 AM
I did that and now the dropdown is blank, there are no states listed to choose from?
Title: Re: Region/State Problem
Post by: abolabo on June 18, 2013, 07:02:48 AM
save again and check.
i checked fixed file on both versions, 1.1.5 and 1.1.6 and it works
Title: Re: Region/State Problem
Post by: macat on June 18, 2013, 07:26:31 AM
It isn't working for me, I am attaching the file I just uploaded, maybe something is corrupting it when I download it.

It's the same size so I am stumped, I have no states to choose from and only the United States in the countries option now??

here is the error log for the zone.php file:

2013-06-18 10:20:58 - warning:  AbanteCart core v.1.1.5 json_encode() expects exactly 1 parameter, 2 given in <b>/public_html/crsd/admin/controller/responses/common/zone.php</b> on line <b>86</b>
2013-06-18 10:23:33 - warning:  AbanteCart core v.1.1.5 json_encode() expects exactly 1 parameter, 2 given in <b>/public_html/crsd/admin/controller/responses/common/zone.php</b> on line <b>86</b>
2013-06-18 10:31:26 - warning:  AbanteCart core v.1.1.5 json_encode() expects exactly 1 parameter, 2 given in <b>/public_html/crsd/admin/controller/responses/common/zone.php</b> on line <b>86</b>
2013-06-18 10:54:18 - warning:  AbanteCart core v.1.1.5 json_encode() expects exactly 1 parameter, 2 given in <b>/public_html/crsd/admin/controller/responses/common/zone.php</b> on line <b>86</b>
2013-06-18 17:34:59 - warning:  AbanteCart core v.1.1.5 unlink(/public_html/crsd/resources/archive/18/6e/8.pdf) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in <b>/public_html/crsd/core/lib/resource_manager.php</b> on line <b>188</b>
2013-06-18 17:35:03 - warning:  AbanteCart core v.1.1.5 unlink(/public_html/crsd/resources/archive/18/6e/a.pdf) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in <b>/public_html/crsd/core/lib/resource_manager.php</b> on line <b>188</b>
2013-06-18 17:53:06 - warning:  AbanteCart core v.1.1.5 json_encode() expects exactly 1 parameter, 2 given in <b>//public_html/crsd/admin/controller/responses/common/zone.php</b> on line <b>86</b>
2013-06-18 19:44:48 - warning:  AbanteCart core v.1.1.5 json_encode() expects exactly 1 parameter, 2 given in <b>/public_html/crsd/admin/controller/responses/common/zone.php</b> on line <b>86</b>
2013-06-18 19:45:28 - warning:  AbanteCart core v.1.1.5 json_encode() expects exactly 1 parameter, 2 given in <b>/public_html/crsd/admin/controller/responses/common/zone.php</b> on line <b>86</b>
2013-06-18 19:48:59 - warning:  AbanteCart core v.1.1.5 json_encode() expects exactly 1 parameter, 2 given in <b>/public_html/crsd/admin/controller/responses/common/zone.php</b> on line <b>86</b>
Title: Re: Region/State Problem
Post by: abolabo on June 19, 2013, 09:23:29 AM
i refilled zone.php file. please try it.
Title: Re: Region/State Problem
Post by: macat on June 20, 2013, 02:23:56 AM
Thank you, that fixed the problem, all is well!! ;D