Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Lack of Registration Error Message upon username or email address already taken
- This topic has 10 replies, 3 voices, and was last updated 13 years, 2 months ago by admin.
-
AuthorPosts
-
August 29, 2011 at 10:05 pm #4182mrdanMember
If the username or email address is already taken in the wp emember registration form, I only get this message:
Please wait for 10 seconds before submiting the form again.
But I don’t get a message saying username or email address is already taken.
Any ideas? Thanks for your help.
August 30, 2011 at 12:25 am #35980adminKeymasterYou probably have javascript conflict on your site (the username is checked dynamically on the fly). Please post a link to your registration form so I can see if the validation script is working correctly.
August 30, 2011 at 2:37 am #35981mrdanMemberHere is registration page http://mindfulhub.com/registration/. Go ahead and register, then try to re-register with same username or email address.
Thanks again for your help.
August 30, 2011 at 6:23 am #35982adminKeymasterYep, the validation javascript is not working as I suspected. You can see how the validation is suppose to work by going to the demo site (enter something in the username field and click on a different field and you will see what I mean):
http://www.tipsandtricks-hq.com/eMember-demo/members-home/registration
This is not happening on your site because one of your plugins or theme is including a very old version of the JQuery library (very poor coding):
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js?ver=1.3.2'></script>
This post will explain more on this:
You need to address this issue first. This post should help you isolate the source of the issue:
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
August 30, 2011 at 8:05 pm #35983mrdanMemberThanks for your help.
I have replaced the old javascript by following the references you mentioned, and commented out the instance of jquery 1.3.2, so now it is running 1.6.2, but still there is a problem with the theme conflicting with registration.
Any more ideas?
August 31, 2011 at 1:55 am #35984adminKeymasterThere is most likely other Javascript conflict on that page. I have sent you an email to get site access so I can investigate this further.
September 2, 2011 at 12:48 am #35985adminKeymasterThis issue is coming from some JavaScript Code you added in the Theme which is broken.
I confirmed this by doing the following test (the theme testing part only):
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
I see you are using the “Thesis” theme. I know that “Thesis” is a fantastic theme that works with all of our plugins, so the theme itself has nothing to do with it. It has to be some code you added when customizing it which is going bad.
Once you mess up the JavaScript on the page it affects other JavaScript too. Check all the JavaScript code that you added in the theme and identify the code that’s breaking.
Where did you add this bit of code from? Try removing this code:
<script type="text/javascript">
stLight.options({
publisher:'wp.14742c16-0ec2-498d-ba24-0e2c8275827f';
var st_type='wordpress3.1.2';
onhover:'false';
tracking:'google'
});
</script>September 9, 2011 at 6:16 pm #35986mrdanMemberI removed the Sharethis plugin, and the above error goes away. Now I get this javascrpt error:
Error: $.validationEngineLanguage is undefined
Source File: http://mindfulhub.com/registration/
Line: 263
This is called just before the wp emember registration form. Note there is a “1” just below the jquery line. I don’t know if this has anything to do with the above error:
<script type=”text/javascript”>
/* <![CDATA[ */
jQuery(document).ready(function($){
1
$.validationEngineLanguage.allRules= ‘http://mindfulhub.com/wp-admin/admin-ajax.php’;
$(“#wp_emember_regoForm”).validationEngine(‘attach’);
});
/* ]]> */
</script>
<form action=”” method=”post” name=”wp_emember_regoForm” id=”wp_emember_regoForm” >
<table width=”95%” border=”0″ cellpadding=”3″ cellspacing=”3″ class=”forms”>
<tr>
<td><label for=”wp_emember_user_name” class=”eMember_label”>Username: </label></td>
September 10, 2011 at 4:17 am #35987adminKeymasterIt’s not coming from that plugin. Its coming from some code you added in your theme. Its really easy to prove this point. Do the theme testing mentioned here which will make you see that the error only shows up when using this theme (which means some javascript code in the theme is messing things up):
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
Now, given the fact that Thesis is a good theme and all of our plugins work with that theme, it is safe to assume the following:
You added code to this theme for customization purpose and some of that code is incorrect which is having a snowball effect and making other JavaScript code to not work also. So focus on removing javascript codes that YOU added from the theme and try to identify which code is causing this. Once you isolate then you can investigate that piece of code to see what exactly is wrong with it.
September 18, 2011 at 10:17 pm #35988trippMemberIn wp_eMember1.php, there is a js file declaration missing around line 717…
wp_enqueue_script(‘jquery.validationEngine-en’,WP_EMEMBER_URL.’/js/jquery.validationEngine-en.js’);
September 19, 2011 at 12:29 am #35989adminKeymasterWe changed that library out so it is no longer necessary. If you have any confusion simply get a fresh build of eMember from here and you can be sure that it has all the correct js file inclusion necessary.
-
AuthorPosts
- You must be logged in to reply to this topic.