Can login but registration doesn't work

Themes Forums Academy WordPress Theme Can login but registration doesn't work

  • Author
    Posts
  • #39799

    CecilioLanz
    Member

    People on my platform can login with their previously created accounts but since yesterday new users can’t register. They fill the form and when pressing Register they get “Invalid username or password”.

    #39800

    CecilioLanz
    Member

    Also, it’s not the plugins. I disabled them and the problem persists.

    #39801

    CecilioLanz
    Member

    Oh, I forgot, Facebook login works too.

    #39808
    themex
    themex
    Member

    You must be signed in and verified as a buyer of this theme to view replies by the support staff. Register Now →

    #39819

    CecilioLanz
    Member

    I can show you the code from template-register.php:

    <?php
    /*
    Template Name: Registration
    */
    ?>
    <?php get_header(); ?>
    <?php if(get_option('users_can_register')) { ?>
    <div class="sevencol column">
    	<h1>Regístrate con tu correo</h1>
    	<form class="ajax-form formatted-form" action="<?php echo AJAX_URL; ?>" method="POST">
    		<div class="message"></div>
    		<div class="sevencol column">
    			<div class="field-wrapper">
    				<input type="text" name="user_login" placeholder="<?php _e('Username','academy'); ?>" />
    			</div>								
    		</div>
                    
    		<div class="sevencol column">
    			<div class="field-wrapper">
    				<input type="text" name="user_email" placeholder="<?php _e('Email','academy'); ?>" />
    			</div>
    		</div>
    
    <div class="sevencol column">
    		         <div class="field-wrapper">
    		        <input type="text" name="company" placeholder="Nombre de la Compañía" />
    		         </div>
    	       </div>
                    <div class="sevencol column">
    		         <div class="field-wrapper">
    		        <input type="text" name="industry" placeholder="Industria a la que perteneces" />
    		         </div>
    	       </div>
    
                    <div class="sevencol column">
    		         <div class="field-wrapper">
    		        <input type="text" name="position" placeholder="Tu posición en la Compañía" />
    		         </div>
    	       </div>
    
    		<div class="clear"></div>
    		<div class="sevencol column">
    			<div class="field-wrapper">
    				<input type="password" name="user_password" placeholder="<?php _e('Password','academy'); ?>" />
    			</div>
    		</div>
    		<div class="sevencol column">
    			<div class="field-wrapper">
    				<input type="password" name="user_password_repeat" placeholder="<?php _e('Repeat Password','academy'); ?>" />
    			</div>
    		</div>
    		<div class="clear"></div>			
    		<?php if(ThemexCore::checkOption('user_captcha')) { ?>
    		<div class="form-captcha">
    			<img />assets/images/captcha/captcha.php" alt="" />
    			<input type="text" name="captcha" id="captcha" size="6" value="" />
    		</div>
    		<div class="clear"></div>
    		<?php } ?>
    		<a href="#"><span class="button-icon register"></span><?php _e('Register','academy'); ?></a>
    		<div class="form-loader"></div>
    		<input type="hidden" name="user_action" value="register_user" />
    		<input type="hidden" name="user_redirect" value="<?php echo esc_attr(themex_value($_POST, 'user_redirect')); ?>" />
    		<input type="hidden" name="nonce" class="nonce" value="<?php echo wp_create_nonce(THEMEX_PREFIX.'nonce'); ?>" />
    		<input type="hidden" name="action" class="action" value="<?php echo THEMEX_PREFIX; ?>update_user" />
    
    <div class="clear"></div>
    <br/>
    <div class="sevencol column">
    	<?php if(get_option('users_can_register')) { ?>
    	<h1>Regístrate con Facebook</h1>
    	<?php } ?>
    	<form class="ajax-form formatted-form" action="<?php echo AJAX_URL; ?>" method="POST">			
    		<?php if(ThemexFacebook::isActive()) { ?>
    		<span class="element-button facebook-button left" title="<?php _e('Sign in with Facebook','academy'); ?>" data-redirect="<?php echo ThemexFacebook::getURL(); ?>">
    			<span class="button-icon facebook"></span><span class="entra con fb">  Entrar con facebook</span>
    		</span>
    		<?php } ?>
    		<div class="form-loader"></div>
    		<input type="hidden" name="user_action" value="login_user" />
    		<input type="hidden" name="user_redirect" value="<?php echo esc_attr(themex_value($_POST, 'user_redirect')); ?>" />
    		<input type="hidden" name="nonce" class="nonce" value="<?php echo wp_create_nonce(THEMEX_PREFIX.'nonce'); ?>" />
    		<input type="hidden" name="action" class="action" value="<?php echo THEMEX_PREFIX; ?>update_user" />
    	</form>	
    </div>
    
    	</form>	
    </div>
    
    <?php } ?>
    <div class="fourcol column last">
    	<?php if(get_option('users_can_register')) { ?>
    	<h1>¿Ya tienes cuenta? Inicia sesión</h1>
    	<?php } ?>
    	<form class="ajax-form formatted-form" action="<?php echo AJAX_URL; ?>" method="POST">
    		<div class="message"></div>
    		<div class="field-wrapper">
    			<input type="text" name="user_login" placeholder="<?php _e('Username','academy'); ?>" />
    		</div>
    		<div class="field-wrapper">
    			<input type="password" name="user_password" placeholder="<?php _e('Password','academy'); ?>" />
    		</div>			
    		<a href="#"><span class="button-icon login"></span><?php _e('Sign In','academy'); ?></a>
    		
    		<div class="form-loader"></div>
    		<input type="hidden" name="user_action" value="login_user" />
    		<input type="hidden" name="user_redirect" value="<?php echo esc_attr(themex_value($_POST, 'user_redirect')); ?>" />
    		<input type="hidden" name="nonce" class="nonce" value="<?php echo wp_create_nonce(THEMEX_PREFIX.'nonce'); ?>" />
    		<input type="hidden" name="action" class="action" value="<?php echo THEMEX_PREFIX; ?>update_user" />
    	
    
    <div class="clear"></div>
    <br/>
    
    <div class="tencol column last">
    	<?php if(get_option('users_can_register')) { ?>
    	<h1>Inicia sesión con Facebook</h1>
    	<?php } ?>
    	<form class="ajax-form formatted-form" action="<?php echo AJAX_URL; ?>" method="POST">			
    		<?php if(ThemexFacebook::isActive()) { ?>
    		<span class="element-button facebook-button left" title="<?php _e('Sign in with Facebook','academy'); ?>" data-redirect="<?php echo ThemexFacebook::getURL(); ?>">
    			<span class="button-icon facebook"></span><span class="entra con fb">  Entrar con facebook</span>
    		</span>
    		<?php } ?>
    		<div class="form-loader"></div>
    		<input type="hidden" name="user_action" value="login_user" />
    		<input type="hidden" name="user_redirect" value="<?php echo esc_attr(themex_value($_POST, 'user_redirect')); ?>" />
    		<input type="hidden" name="nonce" class="nonce" value="<?php echo wp_create_nonce(THEMEX_PREFIX.'nonce'); ?>" />
    		<input type="hidden" name="action" class="action" value="<?php echo THEMEX_PREFIX; ?>update_user" />
    	</form>			
    </div>
    
    </form>			
    </div>
    
    <?php ThemexInterface::renderTemplateContent('register'); ?>
    <?php get_footer(); ?>
    #39825
    themex
    themex
    Member

    You must be signed in and verified as a buyer of this theme to view replies by the support staff. Register Now →

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.