Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / can't register new customer after upgrade BUT it only applies to Country drop down

can't register new customer after upgrade BUT it only applies to Country drop down

Started by msladybug02 on 27 Sep 2006, 10:20 PM · Views: 6,527

Results 1 to 20 of 25
27 Sep 2006, 10:20 PM
#1
msladybug02 avatar

msladybug02

New Zenner

Join Date:
Mar 2006
Posts:
34
Plugin Contributions:
0

Post #1 by msladybug02

My site was upgraded to the newest version by my web dev, and a customer just emailed me saying that she tried to create an account and could not due to a country not recognized type error.

I even tried creating a new account and it keeps giving me this error:

You must select a country from the Countries pull down menu.

Um, I keep trying to select a country but it does not accept it and pretends I never put it there.

Please help! I wonder how many other customers left because of this.

27 Sep 2006, 11:10 PM
#2
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Post #2 by superprg

Did you make any changes to this file recently?
includes\modules\create_account.php

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

7 Oct 2006, 10:06 PM
#3
bigfanta avatar

bigfanta

New Zenner

Join Date:
Oct 2006
Posts:
1
Plugin Contributions:
0

Post #3 by bigfanta

Hi msladybug02

I was having the same problem, after upgrading zencart, I find the solution was to copy the new

tpl_modules_create_account.php
tpl_create_account_success_default.php
tpl_create_account_default.php

from the upgrade package to your template folder.
(includes/templates/<<YOUR TEMPLATE FOLDER>>/templates/)

This fix it for me.

Regards
BigFanta

15 Nov 2006, 3:58 PM
#4
seanscully avatar

seanscully

Zen Follower

Join Date:
Apr 2006
Location:
Largo, Florida USA
Posts:
99
Plugin Contributions:
0

Post #4 by seanscully

I am also getting this message after upgrading to newest version through control panel and I re-uploaded the "How did you hear about us?" module and using the SQL patch I did get an error that the patch already exsited. I did reupload the three files and still get the error.
Thanks

16 Nov 2006, 7:06 PM
#5
abbiepql avatar

abbiepql

New Zenner

Join Date:
Jan 2006
Posts:
34
Plugin Contributions:
0

Post #5 by abbiepql

I am having the same problem, will try the fix suggested and see if that works.

20 Nov 2006, 2:44 PM
#6
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Post #6 by mydanilo

Same here. I noticed changes in create_account.php with the version supplied in How did you hear about us mod. Mod was done for 1.3.1. I am trying to merge the differences but so far I get the same problem with the country selection. If I take a original create_account.php from the distribution of 1.3.6 I have no country problem.

I will keep you posted on the progress....

Live and learn... the Zen way.

20 Nov 2006, 4:49 PM
#7
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Post #7 by mydanilo

I tried some more merging but was only partially successful. I did some merging of the create_account.php and tpl_modules_create_account.php. I did not succeed with merging the new functions for state drop down.
After merging to my best abilities, I still got the country select error. If anybody succeeds merging this mod with the new files please let us know.

For now I got the problem solved by over writing the 1.3.6 zen files create_account.php and tpl_modules_create_account.php with the ones from the "how did you..." mod. I did end up merging some code in tpl_modules_create_account.php to get the results I wanted.

This is what is working with my files:

  • Registration works without country error. Customers can accept the default or select a country.
  • Were You Referred to Us? Box on the bottom of registration works as well.
  • Editing of account information by the customer works as well.

Not working:

  • don't use the drop down setting for state. This I could not merge into my files. If you leave this alone, it will work just fine.

If somebody is interested in getting the two files, let me know. Don't know how to attached php files here.

Live and learn... the Zen way.

20 Nov 2006, 5:55 PM
#8
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Post #8 by mydanilo

I experimented some more with better results. I managed to merge more successfully and now the Company required setting in admin works as well. If you set it to something more than 0 it will be required. Before I merged some more it was not working. I think I have the contribution now updated.

Live and learn... the Zen way.

30 Nov 2006, 3:50 PM
#9
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Post #9 by mydanilo

Hmm nobody else seems to post here anymore but to not confuse others I want to give an update.
I noticed that this morning that when I look at the new customers in admin, I can't see the "referral" that the customer chose when he registered. Registration seems to work well but I can not see what they choose.

I guess something is still screwed up. Sorry.

Live and learn... the Zen way.

1 Dec 2006, 2:11 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #10 by ajeh

All of this was fixed in v1.3.6 ... be sure to load all of the files and update any templates and override files you might be using so that they are not missing any of the new code, files, etc.

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Dec 2006, 2:47 PM
#11
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Post #11 by mydanilo

Thanks Ajeh, yes I know. I did initially have old files in the override template folder but now it is just a matter of merging the "referral" mod into the new files. First find all the mods code and then place it in the new files without breaking them. I guess I am still a bit in over my head with this as I had only partial success. I am still not a coder but a willing learner....

It seemed such a minor thing this referral field in the login page but boy it affects quiet a lot of files!

Live and learn... the Zen way.

1 Feb 2007, 2:50 AM
#12
chac416 avatar

chac416

Zen Follower

Join Date:
May 2006
Posts:
102
Plugin Contributions:
0

Post #12 by chac416

I am getting that after upgrading from 1.3.1 to 1.3.7
is it from the create_account.php file or some other files...

1 Feb 2007, 3:17 AM
#13
chac416 avatar

chac416

Zen Follower

Join Date:
May 2006
Posts:
102
Plugin Contributions:
0

Post #13 by chac416

BigFanta:

Hi msladybug02

I was having the same problem, after upgrading zencart, I find the solution was to copy the new

tpl_modules_create_account.php
tpl_create_account_success_default.php
tpl_create_account_default.php

from the upgrade package to your template folder.
(includes/templates/<<YOUR TEMPLATE FOLDER>>/templates/)

This fix it for me.

Regards
BigFanta

It got even worse,

Fatal error: Call to undefined function: zen_prepare_country_zones_pull_down() in /home/username/public_html/includes/templates/template_default/templates/tpl_modules_create_account.php on line 88

1 Feb 2007, 3:21 AM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #14 by ajeh

Sounds like you do not have all of your files upgraded to the new v1.3.7 files ...

That function exists in:
/includes/functions/functions_general.php

Check that you did, in fact, upgrade all of your files as well as your database ...

NOTE: always backup both your database and your site ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

23 Aug 2007, 10:54 PM
#15
jodib avatar

jodib

New Zenner

Join Date:
Apr 2007
Posts:
15
Plugin Contributions:
0

Post #15 by jodib

I'm having this error "Error You must select a country from the Countries pull down menu." come up too. I don't have a referrals module installed and I did just upgrade from 1.3 to 1.3.7.1. I'm asking for help here because I tried all the things suggested for the original post, but then this topic sort of sidetracked to be about the referral module and I can't tell if some of those suggestions are about that module or fixing the original problem.

One thing I noticed is that when I checked my version I got " Zen Cart 1.3.7.1
Database Patch Level: 1.3.7" . Does this mean that I have made an error upgrading and could that be causing the problem?

Also, when I go in to try and create an account I notice that the "State:" text is missing altogether. The box is there and you can enter data into it, but there is no reference as to what it is. When I search "State:" in the Developers Tool Kit to see if my files include that text it appears to be there.

Aha, had a brain wave. I am running a custom template (overrides) and when I switch to the default the account creates fine. Can someone tell me what I might be missing in my custom template that would cause this? Thanks so much.

JodiB

26 Aug 2007, 6:26 PM
#16
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #16 by ajeh

The best thing to do is get something like Beyond Compare from scootersoftware.com and compare your template files to the originals and see what code you are missing ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

29 Aug 2007, 4:51 PM
#17
jodib avatar

jodib

New Zenner

Join Date:
Apr 2007
Posts:
15
Plugin Contributions:
0

Post #17 by jodib

I finally figured out where I went wrong, and found what was causing the "enter country code" error. It was in my /CUSTOM overrides template. I copied in the entire contents of

mysite.com/includes/templates/template_default/templates

into my /CUSTOM file instead of just the ones that I had changed. Once I deleted the extra files it works fine.

Just thought I'd post so others wouldn't make my mistake.

Jodi
(not a very good zenner:no:)

29 Aug 2007, 4:53 PM
#18
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #18 by ajeh

Thanks for the update ... :smile:

On Templates and Overrides ...

ONLY copy the files that you actually touch, as this will make for much easier updates and changes in the future ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

29 Aug 2007, 4:54 PM
#19
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #19 by ajeh

NOTE: and you are a very, very good zenner ... you came back with the answer that you discovered so that it could help others in the future ... :smartalec:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

18 Sep 2007, 9:37 PM
#20
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Location:
Michigan
Posts:
168
Plugin Contributions:
0

Post #20 by ljdream00

I'm having the same problem again....:(
It wants me to choose country when it's already chosen....

www.lacefrontsecrets.com

Please help:unsure:

Ajeh:

NOTE: and you are a very, very good zenner ... you came back with the answer that you discovered so that it could help others in the future ... :smartalec:

Zencart Websites I've Designed:
deejaycentipede(DOT)com
djellery216(DOT)com