Jump to content

Creation compte client impossible


Recommended Posts

Bonjour a tous

Je viens vers vous car je n'arrive pas à trouver la solution à mon problème. J'ai eu beau chercher sur les forums, je ne trouve pas de solution.

Le site tourne sur la version 1.16.1.23, je refais le design du site et au moment de la création de compte client rien ne se produit. Si je laisse le champs vide, le message d'alerte apparaît, si je me connecte avec un compte cela fonctionne.

J'ai activé le mode débug mais aucun message n'apparait.

Lors du click sur l'icône connexion le chemin "connexion?back=my-account" apparait mais lors du click sur le bouton connexion rien ne se produit. 

Je suis plus à chercher la solution sur le net avant de poser ma question mais là c'est une urgence car je dois déployer le site assez rapidement.

Lien de connexion

Dites moi ce que vous avez besoin en information. Merci d'avance de vos réponses

Share this post


Link to post
Share on other sites

Bug js de votre thème qui n'affiche pas le résultat reçu en ajax car celui-ci est conforme

=> XHR?rand=1606483524781	XHR?rand=1606483528502	
   3 requests
   7.5 kB transferred
   52.7 kB resources
{hasError: false, errors: [],…}
errors: []
hasError: false
page: "↵<h1 class="page-heading">Cr&eacute;ez votre compte</h1>↵↵↵	<!----><form action="https://backup.pistolet-a-billes.com/fr/connexion" method="post" id="account-creation_form" class="std box">↵		↵		<div class="account_creation"><h3 class="page-subheading">Vos informations personnelles</h3><p class="required"><sup>*</sup>Champ requis</p><div class="clearfix"><label>Titre</label><br /><div class="radio-inline"><label for="id_gender1" class="top"><input type="radio" name="id_gender" id="id_gender1" value="1"  />↵						M↵						</label></div><div class="radio-inline"><label for="id_gender2" class="top"><input type="radio" name="id_gender" id="id_gender2" value="2"  />↵						Mme↵						</label></div></div><div class="required form-group"><label for="customer_firstname">Pr&eacute;nom <sup>*</sup></label><input onkeyup="$('#firstname').val(this.value);" type="text" class="is_required validate form-control" data-validate="isName" id="customer_firstname" name="customer_firstname" value="" /></div><div class="required form-group"><label for="customer_lastname">Nom <sup>*</sup></label><input onkeyup="$('#lastname').val(this.value);" type="text" class="is_required validate form-control" data-validate="isName" id="customer_lastname" name="customer_lastname" value="" /></div><div class="required form-group"><label for="email">E-mail <sup>*</sup></label><input type="email" class="is_required validate form-control" data-validate="isEmail" id="email" name="email" value="[email protected]" /></div><div class="required password form-group"><label for="passwd">Mot de passe <sup>*</sup></label><input type="password" class="is_required validate form-control" data-validate="isPasswd" name="passwd" id="passwd" /><span class="form_info">(5 caract&egrave;res min.)</span></div><div class="form-group"><label>Date de naissance</label><div class="row"><div class="col-xs-4"><select id="days" name="days" class="form-control"><option value="">-</option><option value="1" >1&nbsp;&nbsp;</option><option value="2" >2&nbsp;&nbsp;</option><option value="3" >3&nbsp;&nbsp;</option><option value="4" >4&nbsp;&nbsp;</option><option value="5" >5&nbsp;&nbsp;</option><option value="6" >6&nbsp;&nbsp;</option><option value="7" >7&nbsp;&nbsp;</option><option value="8" >8&nbsp;&nbsp;</option><option value="9" >9&nbsp;&nbsp;</option><option value="10" >10&nbsp;&nbsp;</option><option value="11" >11&nbsp;&nbsp;</option><option value="12" >12&nbsp;&nbsp;</option><option value="13" >13&nbsp;&nbsp;</option><option value="14" >14&nbsp;&nbsp;</option><option value="15" >15&nbsp;&nbsp;</option><option value="16" >16&nbsp;&nbsp;</option><option value="17" >17&nbsp;&nbsp;</option><option value="18" >18&nbsp;&nbsp;</option><option value="19" >19&nbsp;&nbsp;</option><option value="20" >20&nbsp;&nbsp;</option><option value="21" >21&nbsp;&nbsp;</option><option value="22" >22&nbsp;&nbsp;</option><option value="23" >23&nbsp;&nbsp;</option><option value="24" >24&nbsp;&nbsp;</option><option value="25" >25&nbsp;&nbsp;</option><option value="26" >26&nbsp;&nbsp;</option><option value="27" >27&nbsp;&nbsp;</option><option value="28" >28&nbsp;&nbsp;</option><option value="29" >29&nbsp;&nbsp;</option><option value="30" >30&nbsp;&nbsp;</option><option value="31" >31&nbsp;&nbsp;</option></select>↵						↵					</div><div class="col-xs-4"><select id="months" name="months" class="form-control"><option value="">-</option><option value="1" >Janvier&nbsp;</option><option value="2" >F&eacute;vrier&nbsp;</option><option value="3" >Mars&nbsp;</option><option value="4" >Avril&nbsp;</option><option value="5" >Mai&nbsp;</option><option value="6" >Juin&nbsp;</option><option value="7" >Juillet&nbsp;</option><option value="8" >Ao&ucirc;t&nbsp;</option><option value="9" >Septembre&nbsp;</option><option value="10" >Octobre&nbsp;</option><option value="11" >Novembre&nbsp;</option><option value="12" >D&eacute;cembre&nbsp;</option></select></div><div class="col-xs-4"><select id="years" name="years" class="form-control"><option value="">-</option><option value="2020" >2020&nbsp;&nbsp;</option><option value="2019" >2019&nbsp;&nbsp;</option><option value="2018" >2018&nbsp;&nbsp;</option><option value="2017" >2017&nbsp;&nbsp;</option><option value="2016" >2016&nbsp;&nbsp;</option><option value="2015" >2015&nbsp;&nbsp;</option><option value="2014" >2014&nbsp;&nbsp;</option><option value="2013" >2013&nbsp;&nbsp;</option><option value="2012" >2012&nbsp;&nbsp;</option><option value="2011" >2011&nbsp;&nbsp;</option><option value="2010" >2010&nbsp;&nbsp;</option><option value="2009" >2009&nbsp;&nbsp;</option><option value="2008" >2008&nbsp;&nbsp;</option><option value="2007" >2007&nbsp;&nbsp;</option><option value="2006" >2006&nbsp;&nbsp;</option><option value="2005" >2005&nbsp;&nbsp;</option><option value="2004" >2004&nbsp;&nbsp;</option><option value="2003" >2003&nbsp;&nbsp;</option><option value="2002" >2002&nbsp;&nbsp;</option><option value="2001" >2001&nbsp;&nbsp;</option><option value="2000" >2000&nbsp;&nbsp;</option><option value="1999" >1999&nbsp;&nbsp;</option><option value="1998" >1998&nbsp;&nbsp;</option><option value="1997" >1997&nbsp;&nbsp;</option><option value="1996" >1996&nbsp;&nbsp;</option><option value="1995" >1995&nbsp;&nbsp;</option><option value="1994" >1994&nbsp;&nbsp;</option><option value="1993" >1993&nbsp;&nbsp;</option><option value="1992" >1992&nbsp;&nbsp;</option><option value="1991" >1991&nbsp;&nbsp;</option><option value="1990" >1990&nbsp;&nbsp;</option><option value="1989" >1989&nbsp;&nbsp;</option><option value="1988" >1988&nbsp;&nbsp;</option><option value="1987" >1987&nbsp;&nbsp;</option><option value="1986" >1986&nbsp;&nbsp;</option><option value="1985" >1985&nbsp;&nbsp;</option><option value="1984" >1984&nbsp;&nbsp;</option><option value="1983" >1983&nbsp;&nbsp;</option><option value="1982" >1982&nbsp;&nbsp;</option><option value="1981" >1981&nbsp;&nbsp;</option><option value="1980" >1980&nbsp;&nbsp;</option><option value="1979" >1979&nbsp;&nbsp;</option><option value="1978" >1978&nbsp;&nbsp;</option><option value="1977" >1977&nbsp;&nbsp;</option><option value="1976" >1976&nbsp;&nbsp;</option><option value="1975" >1975&nbsp;&nbsp;</option><option value="1974" >1974&nbsp;&nbsp;</option><option value="1973" >1973&nbsp;&nbsp;</option><option value="1972" >1972&nbsp;&nbsp;</option><option value="1971" >1971&nbsp;&nbsp;</option><option value="1970" >1970&nbsp;&nbsp;</option><option value="1969" >1969&nbsp;&nbsp;</option><option value="1968" >1968&nbsp;&nbsp;</option><option value="1967" >1967&nbsp;&nbsp;</option><option value="1966" >1966&nbsp;&nbsp;</option><option value="1965" >1965&nbsp;&nbsp;</option><option value="1964" >1964&nbsp;&nbsp;</option><option value="1963" >1963&nbsp;&nbsp;</option><option value="1962" >1962&nbsp;&nbsp;</option><option value="1961" >1961&nbsp;&nbsp;</option><option value="1960" >1960&nbsp;&nbsp;</option><option value="1959" >1959&nbsp;&nbsp;</option><option value="1958" >1958&nbsp;&nbsp;</option><option value="1957" >1957&nbsp;&nbsp;</option><option value="1956" >1956&nbsp;&nbsp;</option><option value="1955" >1955&nbsp;&nbsp;</option><option value="1954" >1954&nbsp;&nbsp;</option><option value="1953" >1953&nbsp;&nbsp;</option><option value="1952" >1952&nbsp;&nbsp;</option><option value="1951" >1951&nbsp;&nbsp;</option><option value="1950" >1950&nbsp;&nbsp;</option><option value="1949" >1949&nbsp;&nbsp;</option><option value="1948" >1948&nbsp;&nbsp;</option><option value="1947" >1947&nbsp;&nbsp;</option><option value="1946" >1946&nbsp;&nbsp;</option><option value="1945" >1945&nbsp;&nbsp;</option><option value="1944" >1944&nbsp;&nbsp;</option><option value="1943" >1943&nbsp;&nbsp;</option><option value="1942" >1942&nbsp;&nbsp;</option><option value="1941" >1941&nbsp;&nbsp;</option><option value="1940" >1940&nbsp;&nbsp;</option><option value="1939" >1939&nbsp;&nbsp;</option><option value="1938" >1938&nbsp;&nbsp;</option><option value="1937" >1937&nbsp;&nbsp;</option><option value="1936" >1936&nbsp;&nbsp;</option><option value="1935" >1935&nbsp;&nbsp;</option><option value="1934" >1934&nbsp;&nbsp;</option><option value="1933" >1933&nbsp;&nbsp;</option><option value="1932" >1932&nbsp;&nbsp;</option><option value="1931" >1931&nbsp;&nbsp;</option><option value="1930" >1930&nbsp;&nbsp;</option><option value="1929" >1929&nbsp;&nbsp;</option><option value="1928" >1928&nbsp;&nbsp;</option><option value="1927" >1927&nbsp;&nbsp;</option><option value="1926" >1926&nbsp;&nbsp;</option><option value="1925" >1925&nbsp;&nbsp;</option><option value="1924" >1924&nbsp;&nbsp;</option><option value="1923" >1923&nbsp;&nbsp;</option><option value="1922" >1922&nbsp;&nbsp;</option><option value="1921" >1921&nbsp;&nbsp;</option><option value="1920" >1920&nbsp;&nbsp;</option><option value="1919" >1919&nbsp;&nbsp;</option><option value="1918" >1918&nbsp;&nbsp;</option><option value="1917" >1917&nbsp;&nbsp;</option><option value="1916" >1916&nbsp;&nbsp;</option><option value="1915" >1915&nbsp;&nbsp;</option><option value="1914" >1914&nbsp;&nbsp;</option><option value="1913" >1913&nbsp;&nbsp;</option><option value="1912" >1912&nbsp;&nbsp;</option><option value="1911" >1911&nbsp;&nbsp;</option><option value="1910" >1910&nbsp;&nbsp;</option><option value="1909" >1909&nbsp;&nbsp;</option><option value="1908" >1908&nbsp;&nbsp;</option><option value="1907" >1907&nbsp;&nbsp;</option><option value="1906" >1906&nbsp;&nbsp;</option><option value="1905" >1905&nbsp;&nbsp;</option><option value="1904" >1904&nbsp;&nbsp;</option><option value="1903" >1903&nbsp;&nbsp;</option><option value="1902" >1902&nbsp;&nbsp;</option><option value="1901" >1901&nbsp;&nbsp;</option><option value="1900" >1900&nbsp;&nbsp;</option></select></div></div></div><div class="checkbox"><input type="checkbox" name="newsletter" id="newsletter" value="1"  /><label for="newsletter">S&#039;inscrire &agrave; la newsletter</label></div><div class="checkbox"><input type="checkbox" name="optin" id="optin" value="1"  /><label for="optin">Recevez les offres sp&eacute;ciales de nos partenaires</label></div></div>↵						↵		<div class="submit clearfix"><input type="hidden" name="email_create" value="1" /><input type="hidden" name="is_new_customer" value="1" /><input type="hidden" class="hidden" name="back" value="my-account" />			<button type="submit" name="submitAccount" id="submitAccount" class="btn btn-default button button-medium connect-button"><span>S&#039;inscrire<i class="icon-chevron-right right"></i></span></button><p class="pull-right required"><span><sup>*</sup>Champ requis</span></p></div></form>↵"
token: "f54ffff61ffc59e024460463ec119fde"

 

Share this post


Link to post
Share on other sites

dans le thème authentication.js normalement

		success: function(jsonData)
		{
			if (jsonData.hasError)
			{
				var errors = '';
				for(error in jsonData.errors)
					//IE6 bug fix
					if(error != 'indexOf')
						errors += '<li>' + jsonData.errors[error] + '</li>';
				$('#create_account_error').html('<ol>' + errors + '</ol>').show();
			}
			else
			{
				// adding a div to display a transition
				$('#center_column').html('<div id="noSlide">' + $('#center_column').html() + '</div>');
				$('#noSlide').fadeOut('slow', function()
				{
					$('#noSlide').html(jsonData.page);
					$(this).fadeIn('slow', function()
					{
						if (typeof bindUniform !=='undefined')
							bindUniform();
						if (typeof bindStateInputAndUpdate !=='undefined')
							bindStateInputAndUpdate();
						document.location = '#account-creation';
					});
				});
			}
		},

$('#noSlide').html(jsonData.page); indique de remplir la div id="noSlide" par le contenu reçu.

Cette div est ajoutée juste avant:

$('#center_column').html('<div id="noSlide">' + $('#center_column').html() + '</div>');

 

Le problème est que la div id="center_column" n'existe plus dans votre thème qui a été bidouillé...

Quand je vois la div class="row-authetication", rien qu'à lire le nom de la classe je me dis que ça n'est pas du tout d'origine votre truc^^

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More