BuddyDev

Search

524 error after user clicks on the complete sign up button on the registeration

  • Participant
    Level: Initiated
    Posts: 5
    Bryan Reid on #55698

    On the /register page, when a user tries to signup, 524 error occurs after clicking on the complete sigun up button. We have created a test site, deactivated all plugins and switched to the default theme but the issue still exists indicating it is being caused by the plugin itself. once the plugin is deactivated, the registeration process works fine without any errors.

  • Keymaster
    (BuddyDev Team)
    Posts: 25099
    Brajesh Singh on #55699

    Hi Bryan,
    Thank you for using the plugin.

    Can you please tell me if you are using BuddyPress or BuddyBoss and if it is in multisite mode? Also, which version of PHp are you using? The plugin was tested with php 8.1 and latest version of BuddyPress/BuddyBoss. I will look quickly into it after you share the details and assist you.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 5
    Bryan Reid on #55700

    Thank you Brajesh,
    I am using BuddyPress (version Version 14.3.4). NOT in multisite mode, as far as I can tell.
    I also have the BP Classic plugin active (version 1.4.0).

    Site is running PHP version 8.2.29.

    -Bryan

  • Keymaster
    (BuddyDev Team)
    Posts: 25099
    Brajesh Singh on #55701

    Hi Bryan,
    Thank you for sharing the details.
    I am looking into it. Please expect a solution within 24 hour(I need to try on 8.2.29 to see the issue, that’s why needing a little extra time).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25099
    Brajesh Singh on #55702

    Hi Bryan,

    I just tested with PHP 8.2.29. I did not get any error and the account activation worked.

    can you please provide me more details about your activation settings? I tested while using apache(web server, It should not be an issue).

    PS:- Do you have access to error log? If not, can you please try using a plugin like this
    https://wordpress.org/plugins/error-log-monitor/ temporarily and provide me the error log.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 5
    Bryan Reid on #55705
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25099
    Brajesh Singh on #55706

    Thank you.
    I can see the issue. I believe it is timing out and caused by a fatal error or a cyclic call or some remote call.

    – It happens when account is activated. That’s why you do not see if you register by disabling this plugin.

    Please help me with the following:-
    – Do you have anything in bp-custom.php?
    – How did you change the fullname field to something else? That is one of the probable cause for error on activation.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 5
    Bryan Reid on #55707

    Hello,

    No bp-custom.php file found in any plugin directory, and the registration page is loading via the buddy boss classic plugin. The user activation works fine when the auto login plugin is disabled.

  • Participant
    Level: Initiated
    Posts: 5
    Bryan Reid on #55708

    this is the register page code:

    <?php get_header( ‘buddypress’ ); ?>

    <div id=”content”>
    <div class=”padder”>

    <?php do_action( ‘bp_before_register_page’ ); ?>

    <div class=”page” id=”register-page”>

    <form action=”” name=”signup_form” id=”signup_form” class=”standard-form” method=”post” enctype=”multipart/form-data”>

    <?php if ( ‘registration-disabled’ == bp_get_current_signup_step() ) : ?>
    <?php do_action( ‘template_notices’ ); ?>
    <?php do_action( ‘bp_before_registration_disabled’ ); ?>

    <p><?php _e( ‘User registration is currently not allowed.’, ‘bp-classic’ ); ?></p>

    <?php do_action( ‘bp_after_registration_disabled’ ); ?>
    <?php endif; // registration-disabled signup setp ?>

    <?php if ( ‘request-details’ == bp_get_current_signup_step() ) : ?>

    <h2><?php _e( ‘Create an Account’, ‘bp-classic’ ); ?></h2>

    <?php do_action( ‘template_notices’ ); ?>

    <p><?php _e( ‘Registering for this site is easy, just fill in the fields below and we\’ll get a new account set up for you in no time.’, ‘bp-classic’ ); ?></p>

    <?php do_action( ‘bp_before_account_details_fields’ ); ?>

    <div class=”register-section” id=”basic-details-section”>

    <?php /***** Basic Account Details ******/ ?>

    <h4><?php _e( ‘Account Details’, ‘bp-classic’ ); ?></h4>

    <label for=”signup_username”><?php _e( ‘Username’, ‘bp-classic’ ); ?> <?php _e( ‘(required)’, ‘bp-classic’ ); ?></label>
    <?php do_action( ‘bp_signup_username_errors’ ); ?>
    <input type=”text” name=”signup_username” id=”signup_username” value=”<?php bp_signup_username_value(); ?>” />

    <label for=”signup_email”><?php _e( ‘Email Address’, ‘bp-classic’ ); ?> <?php _e( ‘(required)’, ‘bp-classic’ ); ?></label>
    <?php do_action( ‘bp_signup_email_errors’ ); ?>
    <input type=”text” name=”signup_email” id=”signup_email” value=”<?php bp_signup_email_value(); ?>” />

    <label for=”signup_password”><?php _e( ‘Choose a Password’, ‘bp-classic’ ); ?> <?php _e( ‘(required)’, ‘bp-classic’ ); ?></label>
    <?php do_action( ‘bp_signup_password_errors’ ); ?>
    <input type=”password” name=”signup_password” id=”signup_password” value=”” />

    <label for=”signup_password_confirm”><?php _e( ‘Confirm Password’, ‘bp-classic’ ); ?> <?php _e( ‘(required)’, ‘bp-classic’ ); ?></label>
    <?php do_action( ‘bp_signup_password_confirm_errors’ ); ?>
    <input type=”password” name=”signup_password_confirm” id=”signup_password_confirm” value=”” />

    <?php do_action( ‘bp_account_details_fields’ ); ?>

    </div><!– #basic-details-section –>

    <?php do_action( ‘bp_after_account_details_fields’ ); ?>

    <?php /***** Extra Profile Details ******/ ?>

    <?php if ( bp_is_active( ‘xprofile’ ) ) : ?>

    <?php do_action( ‘bp_before_signup_profile_fields’ ); ?>

    <div class=”register-section” id=”profile-details-section”>

    <h4><?php _e( ‘Profile Details’, ‘bp-classic’ ); ?></h4>

    <?php /* Use the profile field loop to render input fields for the ‘base’ profile field group */ ?>
    <?php if ( bp_is_active( ‘xprofile’ ) ) : if ( bp_has_profile( array( ‘profile_group_id’ => 1, ‘fetch_field_data’ => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>

    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>

    <div class=”editfield”>

    <?php if ( ‘textbox’ == bp_get_the_profile_field_type() ) : ?>

    <label for=”<?php bp_the_profile_field_input_name(); ?>”><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘(required)’, ‘bp-classic’ ); ?><?php endif; ?></label>
    <?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    <input type=”text” name=”<?php bp_the_profile_field_input_name(); ?>” id=”<?php bp_the_profile_field_input_name(); ?>” value=”<?php bp_the_profile_field_edit_value(); ?>” />

    <?php endif; ?>

    <?php if ( ‘textarea’ == bp_get_the_profile_field_type() ) : ?>

    <label for=”<?php bp_the_profile_field_input_name(); ?>”><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘(required)’, ‘bp-classic’ ); ?><?php endif; ?></label>
    <?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    <textarea rows=”5″ cols=”40″ name=”<?php bp_the_profile_field_input_name(); ?>” id=”<?php bp_the_profile_field_input_name(); ?>”><?php bp_the_profile_field_edit_value(); ?></textarea>

    <?php endif; ?>

    <?php if ( ‘selectbox’ == bp_get_the_profile_field_type() ) : ?>

    <label for=”<?php bp_the_profile_field_input_name(); ?>”><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘(required)’, ‘bp-classic’ ); ?><?php endif; ?></label>
    <?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    <select name=”<?php bp_the_profile_field_input_name(); ?>” id=”<?php bp_the_profile_field_input_name(); ?>”>
    <?php bp_the_profile_field_options(); ?>
    </select>

    <?php endif; ?>

    <?php if ( ‘multiselectbox’ == bp_get_the_profile_field_type() ) : ?>

    <label for=”<?php bp_the_profile_field_input_name(); ?>”><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘(required)’, ‘bp-classic’ ); ?><?php endif; ?></label>
    <?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    <select name=”<?php bp_the_profile_field_input_name(); ?>” id=”<?php bp_the_profile_field_input_name(); ?>” multiple=”multiple”>
    <?php bp_the_profile_field_options(); ?>
    </select>

    <?php endif; ?>

    <?php if ( ‘radio’ == bp_get_the_profile_field_type() ) : ?>

    <div class=”radio”>
    <span class=”label”><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘(required)’, ‘bp-classic’ ); ?><?php endif; ?></span>

    <?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    <?php bp_the_profile_field_options(); ?>

    <?php if ( !bp_get_the_profile_field_is_required() ) : ?>
    ‘ );”><?php _e( ‘Clear’, ‘bp-classic’ ); ?>
    <?php endif; ?>
    </div>

    <?php endif; ?>

    <?php if ( ‘checkbox’ == bp_get_the_profile_field_type() ) : ?>

    <div class=”checkbox”>
    <span class=”label”><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘(required)’, ‘bp-classic’ ); ?><?php endif; ?></span>

    <?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    <?php bp_the_profile_field_options(); ?>
    </div>

    <?php endif; ?>

    <?php if ( ‘datebox’ == bp_get_the_profile_field_type() ) : ?>

    <div class=”datebox”>
    <label for=”<?php bp_the_profile_field_input_name(); ?>_day”><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘(required)’, ‘bp-classic’ ); ?><?php endif; ?></label>
    <?php do_action( bp_get_the_profile_field_errors_action() ); ?>

    <select name=”<?php bp_the_profile_field_input_name(); ?>_day” id=”<?php bp_the_profile_field_input_name(); ?>_day”>
    <?php bp_the_profile_field_options( ‘type=day’ ); ?>
    </select>

    <select name=”<?php bp_the_profile_field_input_name(); ?>_month” id=”<?php bp_the_profile_field_input_name(); ?>_month”>
    <?php bp_the_profile_field_options( ‘type=month’ ); ?>
    </select>

    <select name=”<?php bp_the_profile_field_input_name(); ?>_year” id=”<?php bp_the_profile_field_input_name(); ?>_year”>
    <?php bp_the_profile_field_options( ‘type=year’ ); ?>
    </select>
    </div>

    <?php endif; ?>

    <?php if ( ‘url’ == bp_get_the_profile_field_type() ) : ?>

    <label for=”<?php bp_the_profile_field_input_name(); ?>”><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘(required)’, ‘bp-classic’ ); ?><?php endif; ?></label>
    <input type=”text” name=”<?php bp_the_profile_field_input_name(); ?>” id=”<?php bp_the_profile_field_input_name(); ?>” value=”<?php bp_the_profile_field_edit_value(); ?>” <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required=”true”<?php endif; ?>/>

    <?php endif; ?>

    <?php do_action( ‘bp_custom_profile_edit_fields_pre_visibility’ ); ?>

    <?php if ( bp_current_user_can( ‘bp_xprofile_change_field_visibility’ ) ) : ?>
    <p class=”field-visibility-settings-toggle” id=”field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>”>
    <?php printf( __( ‘This field can be seen by: <span class=”current-visibility-level”>%s</span>’, ‘bp-classic’ ), bp_get_the_profile_field_visibility_level_label() ) ?> <?php _ex( ‘Change’, ‘Change profile field visibility level’, ‘bp-classic’ ); ?>
    </p>

    <div class=”field-visibility-settings” id=”field-visibility-settings-<?php bp_the_profile_field_id() ?>”>
    <fieldset>
    <legend><?php _e( ‘Who can see this field?’, ‘bp-classic’ ) ?></legend>

    <?php bp_profile_visibility_radio_buttons() ?>

    </fieldset>
    <?php _e( ‘Close’, ‘bp-classic’ ) ?>

    </div>
    <?php else : ?>
    <p class=”field-visibility-settings-notoggle” id=”field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>”>
    <?php printf( __( ‘This field can be seen by: <span class=”current-visibility-level”>%s</span>’, ‘bp-classic’ ), bp_get_the_profile_field_visibility_level_label() ) ?>
    </p>
    <?php endif ?>

    <?php do_action( ‘bp_custom_profile_edit_fields’ ); ?>

    <p class=”description”><?php bp_the_profile_field_description(); ?></p>

    </div>

    <?php endwhile; ?>

    <input type=”hidden” name=”signup_profile_field_ids” id=”signup_profile_field_ids” value=”<?php bp_the_profile_group_field_ids(); ?>” />

    <?php endwhile; endif; endif; ?>

    <?php do_action( ‘bp_signup_profile_fields’ ); ?>

    </div><!– #profile-details-section –>

    <?php do_action( ‘bp_after_signup_profile_fields’ ); ?>

    <?php endif; ?>

    <?php if ( bp_get_blog_signup_allowed() ) : ?>

    <?php do_action( ‘bp_before_blog_details_fields’ ); ?>

    <?php /***** Blog Creation Details ******/ ?>

    <div class=”register-section” id=”blog-details-section”>

    <h4><?php _e( ‘Blog Details’, ‘bp-classic’ ); ?></h4>

    <p><input type=”checkbox” name=”signup_with_blog” id=”signup_with_blog” value=”1″<?php if ( (int) bp_get_signup_with_blog_value() ) : ?> checked=”checked”<?php endif; ?> /> <?php _e( ‘Yes, I\’d like to create a new site’, ‘bp-classic’ ); ?></p>

    <div id=”blog-details”<?php if ( (int) bp_get_signup_with_blog_value() ) : ?>class=”show”<?php endif; ?>>

    <label for=”signup_blog_url”><?php _e( ‘Blog URL’, ‘bp-classic’ ); ?> <?php _e( ‘(required)’, ‘bp-classic’ ); ?></label>
    <?php do_action( ‘bp_signup_blog_url_errors’ ); ?>

    <?php if ( is_subdomain_install() ) : ?>
    http:// <input type=”text” name=”signup_blog_url” id=”signup_blog_url” value=”<?php bp_signup_blog_url_value(); ?>” /> .<?php bp_signup_subdomain_base(); ?>
    <?php else : ?>
    <?php echo home_url( ‘/’ ); ?> <input type=”text” name=”signup_blog_url” id=”signup_blog_url” value=”<?php bp_signup_blog_url_value(); ?>” />
    <?php endif; ?>

    <label for=”signup_blog_title”><?php _e( ‘Site Title’, ‘bp-classic’ ); ?> <?php _e( ‘(required)’, ‘bp-classic’ ); ?></label>
    <?php do_action( ‘bp_signup_blog_title_errors’ ); ?>
    <input type=”text” name=”signup_blog_title” id=”signup_blog_title” value=”<?php bp_signup_blog_title_value(); ?>” />

    <span class=”label”><?php _e( ‘I would like my site to appear in search engines, and in public listings around this network.’, ‘bp-classic’ ); ?>:</span>
    <?php do_action( ‘bp_signup_blog_privacy_errors’ ); ?>

    <label><input type=”radio” name=”signup_blog_privacy” id=”signup_blog_privacy_public” value=”public”<?php if ( ‘public’ == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked=”checked”<?php endif; ?> /> <?php _e( ‘Yes’, ‘bp-classic’ ); ?></label>
    <label><input type=”radio” name=”signup_blog_privacy” id=”signup_blog_privacy_private” value=”private”<?php if ( ‘private’ == bp_get_signup_blog_privacy_value() ) : ?> checked=”checked”<?php endif; ?> /> <?php _e( ‘No’, ‘bp-classic’ ); ?></label>

    <?php do_action( ‘bp_blog_details_fields’ ); ?>

    </div>

    </div><!– #blog-details-section –>

    <?php do_action( ‘bp_after_blog_details_fields’ ); ?>

    <?php endif; ?>

    <?php do_action( ‘bp_before_registration_submit_buttons’ ); ?>

    <div class=”submit”>
    <input type=”submit” name=”signup_submit” id=”signup_submit” value=”<?php esc_attr_e( ‘Complete Sign Up’, ‘bp-classic’ ); ?>” />
    </div>

    <?php do_action( ‘bp_after_registration_submit_buttons’ ); ?>

    <?php wp_nonce_field( ‘bp_new_signup’ ); ?>

    <?php endif; // request-details signup step ?>

    <?php if ( ‘completed-confirmation’ == bp_get_current_signup_step() ) : ?>

    <h2><?php _e( ‘Check Your Email To Activate Your Account!’, ‘bp-classic’ ); ?></h2>

    <?php do_action( ‘template_notices’ ); ?>
    <?php do_action( ‘bp_before_registration_confirmed’ ); ?>

    <?php if ( bp_registration_needs_activation() ) : ?>
    <p><?php _e( ‘You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.’, ‘bp-classic’ ); ?></p>
    <?php else : ?>
    <p><?php _e( ‘You have successfully created your account! Please log in using the username and password you have just created.’, ‘bp-classic’ ); ?></p>
    <?php endif; ?>

    <?php do_action( ‘bp_after_registration_confirmed’ ); ?>

    <?php endif; // completed-confirmation signup step ?>

    <?php do_action( ‘bp_custom_signup_steps’ ); ?>

    </form>

    </div>

    <?php do_action( ‘bp_after_register_page’ ); ?>

    </div><!– .padder –>
    </div><!– #content –>

    <?php get_sidebar( ‘buddypress’ ); ?>

    <script type=”text/javascript”>
    jQuery(document).ready( function() {
    if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
    jQuery(‘div#blog-details’).toggle();

    jQuery( ‘input#signup_with_blog’ ).click( function() {
    jQuery(‘div#blog-details’).fadeOut().toggle();
    });
    });
    </script>

    <?php get_footer( ‘buddypress’ ); ?>

  • Keymaster
    (BuddyDev Team)
    Posts: 25099
    Brajesh Singh on #55709

    Hi,
    Thank you for the details.

    I am very sorry for your experience. we have never seen this issue before and that’s why we need a bit more help from you.

    Your registration page is correct. Is there any way to get the PHP error log? If you can share the log, It will give me insight into what is happening(just a few lines of log from the time the registration fails).

    Thank you
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved