
Originally Posted by
Spinach
I hope this is the part of the log you requested.
[28-Nov-2022 11:15:26 UTC] Request URI: /zc_Test/admin/index.php?cmd=configuration&gID=5, IP address: 58.6.171.68
I have a friend trying to help me and she has found if we put the new empty database back, the edit button appears in the Customer Details in the Configuration in Admin. Then if we import my current database to the new version of Zen Cart, the edit button vanishes from the Customers Details in Admin. The strange thing is all the other pages in Configuration have edit buttons. So I'd guess something in my database is breaking that edit button.
My friend is now trying to work out why my imported database is causing this issue. I've never had this database problem upgrading before.
Again, thanks for your help.
Yes, that helps. From the log you posted above, it appeared that (for whatever reason) your database's "Create Account Default Country" was an empty string instead of a numeric value and I reproduced the error you posted by changing my test site's value to an empty string!
You can correct your issue by going to the admin's Tools :: Install SQL Patches and entering the following to set that country default to Australia:
Code:
UPDATE configuration SET configuration_value = '13' WHERE configuration_key = 'SHOW_CREATE_ACCOUNT_DEFAULT_COUNTRY' LIMIT 1;
P.S. I have no idea how that empty value has worked for so long!
Bookmarks