Getting Parse error with New Multisite Login (3 posts)

  1. seananthony
    Posted 2 years 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')' ) );

  2. seananthony
    Posted 2 years 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.

Topic Closed

This topic has been closed to new replies.

About this Topic