Forums

HTTP 404 Not Found in login (4 posts)

  1. ziemowit
    Member
    Posted 6 years ago #

    Hi,

    just made a try to install WP 2.0 under WXP, PHP5 (configured with php-dist for compatibility reasons) & MySQL 4.1.16 (configured for InnoDB rather than MyISAM). The installation process was a dream come true... :-)

    BUT...

    When I tried to log in with the supplied username/password I got the 404. Not being a PHP-guru I just examined the wp-config.php file, looked OK to me. Checked the database, tables seem to be created and populated. Emptied my browser cache, rrtried the login process - now I came to the Profile Editing page. Modified a few items, tried to save in order to go on - got the 404 again.

    Emptied my cache again, tried to log in once again, now I cannot get part the 404 in any way. Any idea what I should start looking into?

    I tried the PHP error log, but no recent entry there. I looked into the web server log, but the only things I find there is:
    127.0.0.1 - - [27/Jan/2006:15:39:27 +0100] "POST /wordpress/wp-login.php HTTP/1.1" 404 0 "http://127.0.0.1/wordpress/wp-login.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)"
    ...which I already know should be there. Please note that I have changed "localhost" to "127.0.0.1" in the wp-config fileand it is an INTENDED change.

    How do I proceed to find out the reasons for 404 without reading the PHP code? And more important... how do I amend?

    Thanks

    /ZJ

  2. ziemowit
    Member
    Posted 6 years ago #

    I have seen the suggestion to make my web server recognoze index.php as a default page. I have changed it, but the login screen still gives med a 404 (when and only when the password is correct!).

    So, any more suggestions?

  3. ziemowit
    Member
    Posted 6 years ago #

    Since I seem not to get any answers, I assume that either nobody knows how to fix it or nobody else gets this problem... or nobody cares...

    Well, anyway... investigating further I found out that I should have been redirected to http://wordpress/wp-admin/index.php. When I run this URL "manually" after a successful login, then it works. But not otherwise... :-(

  4. ziemowit
    Member
    Posted 6 years ago #

    Next update on the topic.

    I run WP as test on my local machine, i.e. 127.0.0.1.

    I believe that for some reason I got redirected to 127.0.0.1/wp-admin, which should probably be http://127.0.0.1/wp-admin. It seems like $schema is empty after line 11 (the if-statement) in wp-login.php.

    Any ideas why?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags