WordPress.org

Support

Support » Multisite » Getting Parse error with New Multisite Login

Getting Parse error with New Multisite Login

  • seananthony

    @seananthony

    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();

Viewing 2 replies - 1 through 2 (of 2 total)
  • seananthony

    @seananthony

    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.

    Moderator Ipstenu (Mika Epstein)

    @ipstenu

    Did you comment out those lines?

    Also turn off all your plugins and see what happens.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting Parse error with New Multisite Login’ is closed to new replies.
Skip to toolbar