|
|
|
|
Blog by JasmineCorp | Create your own Blog
|
RSS Feed | Login |
Questions about IIS problems
|
IIS5 and WP 3.3.1 the login page stays when username password is correct By IISgeek at 2012-02-04 15:20:00
|
I experienced a problem with the Wordpress login page. I have succesfully installed WP 3.3.1 on a WIN2000 / IIS5 machine. I can see the login page for the administrator. but, when I input the correct username and password, the page refreshes and the login form reappears again without any kind of messages of error. There is therefore no way of accessing the administration area. Of course when I type in incorrect usernames or passwords, the error message is displayed.
Here is how I fixed it.
I opened pluggable.php which is located under wp-includes.
Then I commented out the following two lines in function wp_redirect.
//if ( !$is_IIS && php_sapi_name() != 'cgi-fcgi' ) // status_header($status); // This causes problems on IIS and some FastCGI setups
To comment them out. I just put two forward slashes in front of those lines.
It fixed the problem.
|
Permalink | Comments (0) |
Comments
|
To add a comment please login by clicking here
|
|