Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Region/State Problem  (Read 6791 times)

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - Free Animal Rescue Websites
Region/State Problem
« 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
« Last Edit: June 18, 2013, 06:36:13 AM by macat »
happiness is being owned by cats ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Region/State Problem
« Reply #1 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
« Last Edit: June 19, 2013, 09:22:36 AM by abolabo »
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - Free Animal Rescue Websites
Re: Region/State Problem
« Reply #2 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?
happiness is being owned by cats ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Region/State Problem
« Reply #3 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
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - Free Animal Rescue Websites
Re: Region/State Problem
« Reply #4 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>
« Last Edit: June 18, 2013, 04:42:03 PM by macat »
happiness is being owned by cats ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Region/State Problem
« Reply #5 on: June 19, 2013, 09:23:29 AM »
i refilled zone.php file. please try it.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - Free Animal Rescue Websites
Re: Region/State Problem
« Reply #6 on: June 20, 2013, 02:23:56 AM »
Thank you, that fixed the problem, all is well!! ;D
happiness is being owned by cats ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

 

Database Error

Please try again. If you come back to this error screen, report the error to an administrator.