Skip to:
Content
Pages
Categories
Search
Top
Bottom

Registration page redirects to login – can’t register

Viewing 25 replies - 1 through 25 (of 26 total)
  • Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    FYI – I did deactivate all other plugins except Buddypress to test it and it still redirects. It only stops when I deactivate Buddypress.

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    Actually, it’s now redirecting to the static home page.

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    I tried logging out and it still redirects me. I tried changing the Buddypress page settings directory Register page to a different non-buddypress page just to see if it was maybe a corrupted page, but that isn’t it either. It still redirects to the login page.

    I also checked to see what happens if I go to
    http://www.charlottemasoneducation.org/wp-admin/new-user.php

    It says…
    “This is somewhat embarrassing, isn’t it?
    It seems we can’t find what you’re looking for. Perhaps searching can help.”

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    Can someone maybe tell me which files in Buddypress the login redirect functions would reside in so I could replace those via ftp and see if that works?

    Any help would be greatly appreciated.

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    Strange, now my posts here aren’t showing up. I posted twice, but it’s not showing up. Have I been blacklisted somehow for making too many comments?

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    Hmmm.. that posted, but not my 3 other posts. Maybe because there was code in it?

    I found this codex page and under the section titled “Site URL Redirecting” it gives instructions on deleting a couple lines of code from the wp-login.php file.

    I’m wondering if that is the issue. The lines of code don’t match those in my file exactly so I’m hesitant to try.

    https://codex.wordpress.org/Login_Trouble

    Still waiting to see if someone can help with this. Thank you.

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    And just to make sure I cover all my bases, here are my answers:

    1. Which version of WordPress are you running?
    4.4.2

    2. Did you install WordPress as a directory or subdomain install?
    Not sure, but I think as a directory.

    3. If a directory install, is it in root or in a subdirectory?
    root I think

    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    No

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    Yes.

    6. Which version of BP are you running?
    2.5.1

    7. Did you upgraded from a previous version of BP? If so, from which version?
    Yes, the one before it.

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    Yes, Akismet, BBpress, Buddypress Edit Activity, Buddypress Forum Editor, Buddypress Group Email Subscription, Buddypress Like, Dynamic Widgets (deactivated), Events Made Easy, Events Made Easy Frontend Submit, Hashbuddy, InfiniteWP CLient, rtMedia, Theme My Login, Wanguard, Wordfence Security, WP SMTP

    I did deactivate all of them except wordpress and the register page worked, I then activated Buddypress and the redirect issue began.

    9. Are you using the standard WordPress theme or customized theme?
    Twemty Twelve

    10. Have you modified the core files in any way?
    I modified Footer.php on WordPress to edit copyright

    11. Do you have any custom functions in bp-custom.php?
    I don’t know

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    2.5.8

    13. Please provide a list of any errors in your server’s log files.
    The error log looks blank. Maybe I’m looking at the wrong thing?

    14. Which company provides your hosting?
    Hostgator

    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Basic Trouble Shooting:
    I don’t know. Maybe Apache?

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    So, I finally got an answer on a different forum. I’m still not sure why no one here is responding, but I’ll continue the conversation in case someone else has this issue and needs help.

    According to Jeff Farthing, author of Theme My Login plugin he said this can be corrected by editing the Register page, making sure the “Custom Fields” box is checked under Screen Options at the top of the page, then enter a new custom field with the name _tml_action and the value register.

    I tried that and it gives me an error “Please provide a custom field value.” as if I didn’t. So I searched for a solution and everything seems to say that it has something to do with ajax and the mysql dabatase and that it was patched in MySql version 3.1.23

    I checked my database and repaired it through cpanel and it still isn’t working. Still hopeful maybe someone can help… 🙂

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    I cannot duplicate this problem with Theme My Login.

    I’m using the default Theme My Login settings untouched and was able to go to the register page and successfully submit the form with no redirections.

    Make sure for BuddyPress that you selected the BuddyPress “Register” page and not TMLs.

    Also disable any plugins that might be interferring with registration like New User Approve, etc.

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    Make sure for BuddyPress that you selected the BuddyPress “Register” page and not TMLs.

    BuddyPress’ Register Page is gone, I deleted it a while ago because TML created a second register page – so I only have the TML register page with TML’s shortcode in there.

    What should I do?

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    When I go to Buddypress > Pages – and click on “View” next to the register page that is set as the Register page, it still redirects me to the login page. Every instance of this I find in the forums seems to be solved by adding custom field to the page name: _tml_action value: register (which doesn’t work for me) or setting the Buddypress Page to the register page (which I have done). I have tried all these things and am ready to give up, I even paid some guy at Fiver to help and none of it has worked. I’m so exasperated with this issue, I’m going to just do a clean reinstall as a last resort and if that doesn’t work go back to Ning again for a couple more years 🙁

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    BTW, I don’t have New User Approve anymore, it has been deleted along with all other login plugins. I turned off all Plugins except WordPress and Buddypress and this issue still occurs.

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    Oh, and I do have “Anyone can register” checked off too.

    Profile photo of danbp
    danbp
    Moderator

    @danbp

    @ngoegan,

    may sound silly, but have you some previous register pages in trash ? If yes, you should delete them permanently. Once done, go to permalinks and register your setting again.

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    No trash pages, permalinks have already been reset and still having the same issue. No deleted plugin files, all have been deleted. Anyone an Register is checked off, Page is set to correct page in Buddypress Directory.

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    And thank you for your help, it is greatly appreciated!

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    I turned off all Plugins except WordPress and Buddypress and this issue still occurs.

    Are you sure you disabled all plugins except BuddyPress? If so, check for any rogue code snippets in your theme’s functions.php or wp-content/plugins/bp-custom.php.

    Once that is done, delete all registration pages you have set up in WordPress. Create a new WordPress page to be used for BuddyPress registration. Just enter a post title and hit “Publish”. Also, ensure all your pages in the “Pages” trash are deleted.

    Next, go to “Settings > BuddyPress > Pages” and set the “Register” page to the page you just created.

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    I wouldn’t know funny if I saw it, but here is the only thing relating to redirects or registering that I could tell from my theme’s function.php file. Does any of it look funny to you?

    add_action( ‘template_redirect’, ‘twentytwelve_content_width’ );

    /**
    * Register postMessage support.
    *
    * Add postMessage support for site title and description for the Customizer.
    *
    * @since Twenty Twelve 1.0
    *
    * @param WP_Customize_Manager $wp_customize Customizer object.
    */
    function twentytwelve_customize_register( $wp_customize ) {
    $wp_customize->get_setting( ‘blogname’ )->transport = ‘postMessage’;
    $wp_customize->get_setting( ‘blogdescription’ )->transport = ‘postMessage’;
    $wp_customize->get_setting( ‘header_textcolor’ )->transport = ‘postMessage’;
    }
    add_action( ‘customize_register’, ‘twentytwelve_customize_register’ );

    /**
    * Enqueue Javascript postMessage handlers for the Customizer.
    *
    * Binds JS handlers to make the Customizer preview reload changes asynchronously.
    *
    * @since Twenty Twelve 1.0
    */
    function twentytwelve_customize_preview_js() {
    wp_enqueue_script( ‘twentytwelve-customizer’, get_template_directory_uri() . ‘/js/theme-customizer.js’, array( ‘customize-preview’ ), ‘20141120’, true );
    }
    add_action( ‘customize_preview_init’, ‘twentytwelve_customize_preview_js’ );

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    I don’t seem to have a file “bp-custom.php” anywhere in my WP plugin folder.

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    The issue is definitely somewhere in the Buddypress plugin because when I deactivate it, I am able to access the register page. When I activate it, I can’t. It’s the only plugin I’m seeing that change in.

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    Also, I’m trying to change my profile email but it is giving me this error:

    That email address is already taken.
    No changes were made to your account.

    I think I may have multiple accounts here. Could I merge the two and update the email on this account? I’m not getting the responses in my current email account which is gmail. The hotmail account is mostly a spam account now.

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    Here is what is in the url when I am logged out and click the “register” link after it takes me to the login page:

    Log In

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    I figured out what was causing the redirect – I had “Enable Security” selected in Theme My Login plugin. When I unselected it, it allowed me (when I’m logged out) to access the register page!

    I don’t know why when I deactivate the plugin it still causes the issue though.

    Either way, it’s a TML issue.

    Now I just have to figure out how to exclude the “register” page from the site security.

    So glad to at least know the cause!

    Profile photo of ngoegan
    ngoegan
    Participant

    @ngoegan

    Here’s a link to my thread in TML support, hoping to find an answer over there. Will close this thread since it isn’t a Buddypress issue.

    https://wordpress.org/support/topic/pages-got-messed-up-with-register-2-and-now-cant-register?replies=12#post-8190638

    Profile photo of glennnall
    Glenn
    Participant

    @rglennnall

    nobody gave a damn about helping you, did they.

Viewing 25 replies - 1 through 25 (of 26 total)
  • You must be logged in to reply to this topic.
Skip to toolbar