-
[Done v1.3.6] Country Dropdown Bug
I developed my shop locally with Zen-Cart 1.3.0.2. I then got Zen-Cart 1.3.5 installed from my webhost and successfully managed to set it up just the way I wanted with no troubles at all. But during the testing we discovered that the country dropdown list in the sign-up form is buggy. When signing-up with valid dummy data we would ALWAYS get an error message that saying that "You must select a country from the Countries pull down menu." No matter what country you select, what browser you're using or what operating system you have the message will always pop up.
http://img.photobucket.com/albums/v190/ztroop/poo.jpg
I have created the webshop in 4 different versions (we have different prices for different regions), and in all versions this error occurs. Try it out for yourself:
http://shopus.christinaribel.com/ind...create_account
http://shopuk.christinaribel.com/ind...create_account
This is NOT the same bug as the one reported here: http://www.zen-cart.com/forum/showthread.php?t=47018
-
Re: Country Dropdown Bug
I just created an account at the first link you listed and noticed no issues with the 'country' error message. What did you do to fix this? I am having the same issue you were before and my customers cannot create accounts. I'm anxious to hear back from you! :smile:
-
Re: Country Dropdown Bug
My host adviced me to remove all my (old) templates for all the pages where the country bug appeared, and it solved itself :)
-
Re: Country Dropdown Bug
Quote:
Originally Posted by
zytroop
My host adviced me to remove all my (old) templates for all the pages where the country bug appeared, and it solved itself :)
But if you remove the templates, what is used to display your cart?
Do you mean that you're just using the default templates?
Thanks :)
-
Re: Country Dropdown Bug
Quote:
Originally Posted by
DogTags
But if you remove the templates, what is used to display your cart?
Do you mean that you're just using the default templates?
Thanks :)
I remove the templaters in the /includes/templates/MY_TEMPLATE/templates/ folder. The templates used to display everything is still in /includes/templates/template_default/templates/
-
Re: Country Dropdown Bug
I've spent the last 2 hours reading and rereading/searching on this thread as I too have this Country glitch after upgrading to 1.3.5.
Am I to understand that I'm supposed to get rid of my custom templates for this to work correctly?
Is there one final patch, or one final word on why customers are prevented from registering due to the fact the Country dropdown isn't being accepted?
While a big Zen Garden fan, this seems to be a pretty good sized glitch!
What is the fix, once and for all? Is there a developer that can provide the answer as some of the work-arounds I've seen are a bit suspect, including deleting my custom templates.
Thanks much
John
-
Re: Country Dropdown Bug
Yeps ... it is a pain right now to have this issue ...
Fortunately, the fix is being tested with a host of other issues from the Bug Fix thread for v1.3.5 ... and is looking really sweet ... and ... happy to say, not breaking despite all attempts to do so ... :smartass:
And with luck, that means in the real world, you won't be able to break it either under any circumstances ... :cool:
-
Re: Country Dropdown Bug
It's nice to know that a fix is being tested, and to know that it will be released at some point, but a lot of us are losing customers/revenue over this. Can't anyone give us a more specific time frame for a fix release? A day, a week?
This is a major bug that should have been caught before 1.3.5 was released. I know a lot of work goes into these releases and I really do appreciate the amount of time that's put into the zen cart project, but I think we need some reassurance that this issue is a priority and that a fix is on the way very soon.
-
Re: Country Dropdown Bug
OK, since I have a backup of my old files, it just dawned on me to try using my old create_account.php file. I located it in includes/modules/create_account.php. I copied it into MY_STORE/includes/modules and now I am able to create accounts. Hope this helps
-
Re: Country Dropdown Bug
Yes it is hard when there is an issue ... which is why we do ask you to always upgrade a test site and not a Live site first and test well before making it Live ...
We hate lost revenues too ... the less you earn the less you can support us ... :smartass:
Good news is soon is very very soon ...
-
Re: Country Dropdown Bug
I had someone else install both versions for me, so I don't have the file to overwrite. Would someone post the necessary nonoffensive create_account.php file so that we can fix this, stat?
I think this also brings up the larger issue of premature releases and the onus of responsibility for testing/releases. When the zen cart community hears that a major release is planned and finally done, I imagine that most of us did minimal testing. I ran it through some paces but all looked fine. To do the comprehensive QA/QC necessary for major software releases requires more time, knowledge, and experiece than most of us have and assume that "those in the know" that are responsible for a release truly have done the QA/QC.
In any event, would someone post the working version of the create_account.php file to the downloads section with a description of the path that this file needs to go? An explanation that this is only a temporary patch that has worked for some should accompany it as well.
A timeline would be tremendously appreciated too, rather than "very soon."
Not flaming anyone, but I may lose customers over this major snafu and need some info.
Thanks
-
1 Attachment(s)
Re: Country Dropdown Bug
I'm attaching the create_account file I used. It's in txt format, so you'll need to rename it to 'create_account.php'.
-
Re: Country Dropdown Bug
I have attempted replacing the /includes/modules/create_account.php file in a 1.3.5 install with ones from 1.3.0.2, 1.3.0.1 and the one provided by jeriggs76.
All this to no avail. Still receiving the error.
I hope that until this is made available, as it sounds that 1.3.6 is what is being suggested, that a sound work around is posted.
As many of us upgrade and therefore use test accounts that existed, this has not apparently surfaced until now, about a month & a half or so from the release date.
If any of this is incorrect, like a clean install fuinctions correctly or some other please advise.
Creating a test install while normal and advised, there are surely many new installs that are ready to go live or close and this is a show stopper.
-
Re: Country Dropdown Bug
UPDATE:
I am posting this in addition to what has been posted:
I have gone back and tested this functionality on several installs. There are some where this error is exhibited and others where the function behaves as expected.
I have not yet done a full file compare to determine the differences and/or under what circumstances this is generated.
It does not appear to be a problem on a fresh install with all the 1.3.5 files. When I have completed this comparison, I will post back with the results(hoping that I can determine any).
-
Re: Country Dropdown Bug
Is the fact that I must either have 'company name' as a mandatory field or not showing at all part of the country drop down bug as well.
Our customers are a mixed bunch of private and company - works fine in 1.2.7 but not in our test 1.3.5 site.
-
Re: Country Dropdown Bug
You'll be pleasantly surprised with the fix in 1.3.6, released last night.
-
Re: [Done v1.3.6] Country Dropdown Bug
I have just installed v1.3.6 on a server that has never had zen cart installed. I am receiving the same Country drop down error message. I am new to Zen Cart and have read through the posts. It seems this shouldn't be na issue with v1.3.6. Am I missing something?
-
Re: [Done v1.3.6] Country Dropdown Bug
What is the URL where this is occurring? What exactly are the steps to trigger the problem?
-
Re: [Done v1.3.6] Country Dropdown Bug
The url is:
http://www.chrisherronhomesales.com/...ain_page=login
I installed zen cart and added a template (designed for version 1.3.6). I then tried to create a user account and it kicked back an error that I needed to select a Country from the drop down list. When I select a country and then try to resubmit the form, it gives me the same error. It does not matter what country you select, it will always kick back that error. I get it in IE7 and Firefox.
-
Re: [Done v1.3.6] Country Dropdown Bug
does it work without error if you switch to the classic template?
-
Re: [Done v1.3.6] Country Dropdown Bug
I have the same error, I have updated to 1.3.6 and get the country drop down error loop.
https://wasp.xssl.net/~admin61/index...create_account
Interestingly if I change the template it does work, so what does this mean?
-
Re: [Done v1.3.6] Country Dropdown Bug
Quote:
Originally Posted by
Pauls
Interestingly if I change the template it does work, so what does this mean?
That means that you have customized files in your custom template which you haven't upgraded to v1.3.6 code yet.
When upgrading, you *do* still need to merge upgrades INTO your customized files if you want the benefits offered by the fixes/additions in the new version.
-
Re: [Done v1.3.6] Country Dropdown Bug
I have the same error - I have rolled back to v 1.3.5 the tpl_create_account file and it does nothing.
Do I have to reinstall all of the modules I had installed in v 1..3.5 - I only upgraded to 1.3.6 2 days ago...
I am loosing alot of business becuase of this error. Please help...
http://www.heavenlylingerie.com.au/s...create_account
Amanda
www.heavenlylingerie.coma.u
-
Re: [Done v1.3.6] Country Dropdown Bug
Does it work ok with the Classic template installed?
-
Re: [Done v1.3.6] Country Dropdown Bug
I had the extra colours templates installed in v 1.3.5 and they were still there after the upgrade. There is no plain classic template - only the colours. I installed a new template made for v 1.3.6 and tried that - didn't work..
I have lost 2 sales today.....:(
thanks
Amanda
www.heavenlylingerie.com.au
-
Re: [Done v1.3.6] Country Dropdown Bug
What is the error your getting?
-
Re: [Done v1.3.6] Country Dropdown Bug
same as the others - must select a valid country from the pulldown box..
-
Re: [Done v1.3.6] Country Dropdown Bug
ok, if it's not working using the default template, then you need to upgrade to 1.36 (that rolled back page you said above (tpl_create_account), needs to be replaced.. and any others you rolled back.
Test it in admin by selecting the default template (Classic Contemporary Green), if that works, you then need compare all your custom pages with the 1.36 default pages. Use winmerge.
-
Re: [Done v1.3.6] Country Dropdown Bug
didn't work - can I reload v 1.3.5 back over the top of 1.3.6?
-
Re: [Done v1.3.6] Country Dropdown Bug
No the problem is with 1.35. You need to get rid of those 1.35 pages, but keep all your custom pages and go over those one by one. Make sure all your custom pages are in custom folders.. you know the ol your_template thing.
Do a full 1.36 install (in some new directory) just to prove it works. Don't add any custom pages.. should only take a few minutes to see.
-
Re: [Done v1.3.6] Country Dropdown Bug
I thought I'd chime in on this, since I just spent about an hour figuring out what the problem was.
I installed v1.3.6, which worked perfectly. Then I proceeded to create my template, tested it, and it worked perfectly.
Finally, I installed a 'newsletter subscribe' contribution. This has broken the create account process, and I receive the 'must select a country error'. If I switch to classic template, it still works perfectly. The only real difference is the newsletter subscribe contribution.
So, at least in my case, the issue is with that contribution. It doesn't seem to have the updated code in the files it alters for the account creation process.
-
Re: [Done v1.3.6] Country Dropdown Bug
This is definitely a problem with the Newsletter Subscribe contribution. I've made an updated version of the offending file ( catalog/includes/modules/YOUR_TEMPLATE/create_account.php ) that is upgraded to work with 1.3.6. It's too big for the forum, so I'll upload a copy shortly. Let me know if anyone runs into any other issues with this, as I am using it on several sites and would like to be aware of any problems. Thanks!
-
Re: [Done v1.3.6] Country Dropdown Bug
Tested and works! I've submitted an updated version of the Newsletter Subscription component with the fix added. It is listed as version 2.0.6.
-
Re: [Done v1.3.6] Country Dropdown Bug
1.3.6 doesn't fix it.
Upgrading the newsletter thing is not working. The originally installed Newsletter thing was 2.0.6.
Copied the create_account.php file from both installs over, that did not work.
page is http://www.cherdons.com
-
Re: [Done v1.3.6] Country Dropdown Bug
Hi cherdons,
Your site doesn't seem to be loading at the moment. Let me know when it is back up and I would be happy to check it out.
-
Re: [Done v1.3.6] Country Dropdown Bug
It's loading.... I was just on there.
-
Re: [Done v1.3.6] Country Dropdown Bug
-
Re: [Done v1.3.6] Country Dropdown Bug
Okay, I was able to get in now. Not sure why I couldn't a few minutes ago. In any event, the problem that you are having doesn't appear to be the Country Dropdown bug that the new version of the newsletter subscribe component was intended to fix. When I tried to sign up, I received this error message:
Code:
Warning: main(includes/templates/classic/templates/tpl_subscribe_default.php): failed to open stream: No such file or directory in /home/cherdon/public_html/zen-cart-v1.3.0.2-full-fileset/includes/templates/template_default/common/tpl_main_page.php on line 115
Warning: main(includes/templates/classic/templates/tpl_subscribe_default.php): failed to open stream: No such file or directory in /home/cherdon/public_html/zen-cart-v1.3.0.2-full-fileset/includes/templates/template_default/common/tpl_main_page.php on line 115
Fatal error: main(): Failed opening required 'includes/templates/classic/templates/tpl_subscribe_default.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cherdon/public_html/zen-cart-v1.3.0.2-full-fileset/includes/templates/template_default/common/tpl_main_page.php on line 115
It looks like there might be a hardcoded include statement in there or something that is causing that issue. If it is any consolation, though, I did receive a subscription confirmation.
-
Re: [Done v1.3.6] Country Dropdown Bug
I don't get that, and I am refreshing to make sure -- I was also moving the admin folder over again a few minutes ago - wonder if maybe you were trying when I was moving?
Quote:
Originally Posted by
sparrish
Okay, I was able to get in now. Not sure why I couldn't a few minutes ago. In any event, the problem that you are having doesn't appear to be the Country Dropdown bug that the new version of the newsletter subscribe component was intended to fix. When I tried to sign up, I received this error message:
Code:
Warning: main(includes/templates/classic/templates/tpl_subscribe_default.php): failed to open stream: No such file or directory in /home/cherdon/public_html/zen-cart-v1.3.0.2-full-fileset/includes/templates/template_default/common/tpl_main_page.php on line 115
Warning: main(includes/templates/classic/templates/tpl_subscribe_default.php): failed to open stream: No such file or directory in /home/cherdon/public_html/zen-cart-v1.3.0.2-full-fileset/includes/templates/template_default/common/tpl_main_page.php on line 115
Fatal error: main(): Failed opening required 'includes/templates/classic/templates/tpl_subscribe_default.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cherdon/public_html/zen-cart-v1.3.0.2-full-fileset/includes/templates/template_default/common/tpl_main_page.php on line 115
It looks like there might be a hardcoded include statement in there or something that is causing that issue. If it is any consolation, though, I did receive a subscription confirmation.
-
Re: [Done v1.3.6] Country Dropdown Bug
I see it now. I would double-check that you changed YOUR_TEMPLATE in the /includes/modules directory to "classic", or that you have overwritten your /includes/modules/create_account.php file with the one from the updated version of the Newsletter Subscribe contribution (v2.0.6).
-
Re: [Done v1.3.6] Country Dropdown Bug
Quote:
Originally Posted by
sparrish
I see it now. I would double-check that you changed YOUR_TEMPLATE in the /includes/modules directory to "classic", or that you have overwritten your /includes/modules/create_account.php file with the one from the updated version of the Newsletter Subscribe contribution (v2.0.6).
I overwrote the create_account.php with numerous different files (one from the 2.0.6, one from the 1.37 zen upgrade, one found on this forum), and I had in my /includes/modules directory a classic and a YOUR_TEMPLATE. I changed classic to classic1 and the YOUR_TEMPLATE to classic - opened the store, refreshed the page, and still get the error.
Cheryl <-- hoping someone can come up with a fix.
-
Re: [Done v1.3.6] Country Dropdown Bug
ok, the easiest way to get rid of this crap is to just delete the code for the country. I don't need the country - I do not ship anywhere except the continental US.
Where do I get rid of this code? and how do I rem in php? If someone can please post the file name, and the piece of code that needs to be remmed out, that would be great.
Thanks
Cheryl
-
Re: [Done v1.3.6] Country Dropdown Bug
I'm not sure that removing the country from the file would solve the problem. The script will still be checking to see if a valid country was entered. Please double-check the version ID line from the create_account.php file that is currently in /includes/modules/classic so that I can verify if you have the right file installed. The line should read:
Code:
* @version $Id: create_account.php 4825 2006-10-23 22:25:11Z drbyte $
If it says something else, than it is likely that you have an outdated version of the file.
-
Re: [Done v1.3.6] Country Dropdown Bug
Code:
<?php
/**
* create_account header_php.php
*
* @package modules
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: create_account.php 4825 2006-10-23 22:25:11Z drbyte $
*/
// This should be first line of the script:
$zco_notifier->notify('NOTIFY_MODULE_START_CREATE_ACCOUNT');
-
Re: [Done v1.3.6] Country Dropdown Bug
Ok, I am really irritated now - just did a complete upgrade to 1.3.7. Database and zen cart. It says so when I click on version.
I re-did the newsletter thing.
Still get this retarded country error.
If I didn't have to type in 3000 items again, I would just dump zen-cart.
I may still just dump zen-cart....
I have tried all the stuff listed in the forum. None of it works. What's up.
-
Re: [Done v1.3.6] Country Dropdown Bug
Something is rather odd about your site ...
Go to:
http://www.cherdons.com/
Point, do not click, at the login link ...
Notice the URL in the bottom of the browser ...
Now click the login link ...
Any chance the frames are breaking things?
Have you tried a simple install in a test directory with a test database using the demo data just to see if perhaps there is an issue with your frames or site causing this problem?
-
Re: [Done v1.3.6] Country Dropdown Bug
No, this worked before. zen cart is set up on cherdoninvestments.com - the cherdons.com is the registered name and is what is seen in the browser - it's a redirect. Did not have this problem until I installed the newsletter thing. Now I can't get rid of it. Even with a full copy over of ALL the different files in 1.3.7.
Quote:
Originally Posted by
Ajeh
Something is rather odd about your site ...
Go to:
http://www.cherdons.com/
Point, do not click, at the login link ...
Notice the URL in the bottom of the browser ...
Now click the login link ...
Any chance the frames are breaking things?
Have you tried a simple install in a test directory with a test database using the demo data just to see if perhaps there is an issue with your frames or site causing this problem?
-
Re: [Done v1.3.6] Country Dropdown Bug
BTW, I can go to the store from admin and it shows the long address, and the same thing happens.
CHeryl
-
Re: [Done v1.3.6] Country Dropdown Bug
With all the errors I am getting either I am not going to the right link or you have not upgraded all of your files correctly ...
Many files are missing or out of date ...
Where do you think your v1.3.7 site is without any of this redirect mess ... :smile:
-
Re: [Done v1.3.6] Country Dropdown Bug
-
Re: [Done v1.3.6] Country Dropdown Bug
You are getting way to many errors for this to have a proper upgrade ...
Did you load all of the files from Zen Cart v1.3.7 to your site? Or how did you load the files?
You are using Classic template ... meaning no templates and overrides so any custom work gets overwritten ...
But from what I am seeing not even that is happening ... as new code is missing, new language defines are missing etc.
-
Re: [Done v1.3.6] Country Dropdown Bug
I see the 3 errors - they are all the same error - and only when you click on a category. I just re-uploaded the files, and it is still screwed up.
-
Re: [Done v1.3.6] Country Dropdown Bug
Quote:
Originally Posted by
Ajeh
You are getting way to many errors for this to have a proper upgrade ...
Did you load all of the files from Zen Cart v1.3.7 to your site? Or how did you load the files?
You are using Classic template ... meaning no templates and overrides so any custom work gets overwritten ...
But from what I am seeing not even that is happening ... as new code is missing, new language defines are missing etc.
I used win-something to get all the files that have been changed. Then manually uploaded the "different" files to the right places by clicking on the file folder online, clicking upload files, then getting the same file from my 137 file on my pc, and putting it where it belongs.
-
Re: [Done v1.3.6] Country Dropdown Bug
I am sorry but your uploads are either not working, are uploading in the wrong format and are corrupt, or you are loading to the wrong site ...
This is not a v1.3.7 site, the code is missing too many things to be v1.3.7 and the language files are missing too many definitions ...
Without sitting down with an FTP program and phpMyAdmin I cannot for sure tell you just what you are doing wrong here ... but it isn't correct ... :cry:
-
Re: [Done v1.3.6] Country Dropdown Bug
Can I do a completely clean install and keep my data? How, if so?
Thanks
cHeryl
-
Re: [Done v1.3.6] Country Dropdown Bug
Yes you can ...
But I am really too tired to walk you through it right this second ...
If you could wait for morning or perhaps someone else is free ...
Or do a search on:
/new_shop
I have several threads on upgrading that would help you ...
-
Re: [Done v1.3.6] Country Dropdown Bug
It was 2am where I was and I was burnt. I crashed, so I don't blame you. I'll post here if I have a problem with it....
Thanks.
cheryl
-
Re: [Done v1.3.6] Country Dropdown Bug
It looks like I got it fixed.
Now I have the green - which I like better, I think. Just need to do new logos so they match the green, and change all the other zen-cart info in the title, etc....
I had tried to do this before, but did not change the config file (duh) and it would go back to the old store. Frankly, this was much easier than doing the stupid upgrade :)
Cheryl
-
Re: [Done v1.3.6] Country Dropdown Bug
I Found the same problem in my site...so how to fix that?Update on 1.37 or news install? :wacko:
-
Re: [Done v1.3.6] Country Dropdown Bug
-
Re: [Done v1.3.6] Country Dropdown Bug
Quote:
Originally Posted by
kimsonvu
I use Zencart 1.36 now.
Kimsonvu -
I could not get rid of it with an upgrade... followed all the instructions - and then when someone checks said I had a bunch of old files from 1.3.6 still - but they would have been the files that had not changed.
I ended up just doing a fresh install, which was less work for me anyway - even with changing the way the store looked (which I wanted to do anyway). MOst of the changes were in the css file.
As it says above, do a search for /new_shop. They give very good instrcutions - basically unpack zen cart in a new folder, and change the config file so it attaches to your database (read the instructions on here, because if you don't change something on it, it just attaches the new shop to your old shop and you get the same problem).
Cheryl