WordPress.org

Ready to get started?Download WordPress

Forums

Getting Parse error with New Multisite Login (3 posts)

  1. seananthony
    Member
    Posted 8 months ago #

    I installed new Multisite Network, everything was setup, i started building pages and then my log-in timed out. I went to log back in and got this error message.

    Parse error: syntax error, unexpected T_CASE in /home/content/97/8625997/html/sites/serpentpower/wp-login.php on line 786

    I understand multisite does not use (wp-login.php) it uses (wp-signup.php) why is my site still references wp-login and how do i fix it.

    Here is the code on the lines specified in the error message.

    Line 786-794
    case 'register' :
    if ( is_multisite() ) {
    // Multisite uses wp-signup.php
    // Modified for full plugin compatiblity.
    //wp_redirect( apply_filters( 'wp_signup_location', network_site_url('wp-signup.php')' ) );
    //exit;
    }
    wp_safe_redirect($redirect_to);
    exit();

  2. seananthony
    Member
    Posted 8 months ago #

    Forget to mention i am using s2Member Framework for Membership Management.

    Also when i try to manually access wp-signup, im getting
    "Registration has been disabled."

    I cannot get to the admin area to make any changes, so any suggestion on how and where to edit files would be greatly appreciated.

  3. Did you comment out those lines?

    Also turn off all your plugins and see what happens.

Reply

You must log in to post.

About this Topic