• I am trying to set up a development blog locally on
    my laptop in order to experiment before going live,
    and I am having trouble logging in as admin for the first time (after the famous five DAYS install,not five minutes…:-) )

    I am trying to login through /wordpress/wp-login.php
    and it usually comes up ok (but sometimes not..and
    I would like to avoid *consistently* having to clear
    *all* my cookies and cache..)

    ..BUT when I submit, I get a 404/page not found in the browser.
    ——————————
    yes,I checked the login problems faq, and tried most of the applicable solutions,without any luck.

    (including shutting down zonelabs firewall,
    and replacing wp-login.php with a fresh copy)

    Configuration:
    W98SE,Wp1.5.2,Mysql 4.1.15,php 4.3.6.6
    webserver Xitami.

    WordPress installed in /wordpress under document root of the server.

    I also checked the logfile of the web server,
    and as expected the first page access to the login page turned out ok.
    ..but it also revealed that the 404 error seemed to be generated by the login page calling itself,through a POST method.

    This was originated by the form at the end of wp-login.php calling itself after having accepted the userid/password.

    Also ,I checked the suggestion regarding the wp-options/siteurl table and field in the database…
    only problem is ,..I don’t *have* a “siteurl” field in that table!!

    What’s up with this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • If you don’t have a siteurl value in wp_options then the install was unsuccessful.
    Do you have any other mysql/php apps working on the setup ? If there is, that’s one path to go down.
    If there is not, then I would recommend xampp: http://www.apachefriends.org/en/xampp-windows.html
    One click install and it ‘just works’
    http://www.tamba2.org.uk/wordpress/xampp/

    Thread Starter markspencer

    (@markspencer)

    thank you.

    Can’t think of any mySql applications I have that I use,
    but it works fine accessing the database from the command prompt with mysql.exe

    all sorts of php scripts work ok.

    Yes,I know about xampp, but I spent a sweek with this installation,and I don’t want to start over,I want to understand what’s going on and not leave it to trial and error, and I don’t have easy access to broadband for additional downloads for the moment.

    This is pretty extraordinary that it should make so much fuzz..this was just a vanilla install,and it just doesn’t work..

    I *did* have problems with the database login from config .php(as many other seems to have),but that was resolved after a lot of digging(and running separate troubleshooting scripts to detect db messages etc)
    with encrypting the password with OLD_PASSWORD(‘… ‘),
    and then I don’t remember if I did a reinstall after that,
    (probably),or just fixed the login detail and continued.

    (ok..some might object that this was not a clean vanilla install then..but EVERYTHING was cleaned out befor reinstall)

    both of these problems (dbase login + 404 error after login) should be highlighted better in the initial documentation,as there seem to be two very standard problems (in addition to password not working etc)
    …………………….

    HOWEVER, I did discover something else after posting.
    Most or all of the information regarding setting wp-options etc refers to the wp-options TABLE and siteurl FIELD in the blog DATABASE…but there IS in fact no such table in the created database.

    ..BUT there IS a FILE called options.php in the wp-admin FOLDER of the install…and IT does have a field called siteurl.

    This field was preset to http://localhost/wordpress,
    but the HOME field (which is also mentioned in some places
    regarding this problem) was empty

    I tried setting it to both /localhost/wordpress
    andh http://localhost/wordpress,
    (As I initially plan to have the blog files in the same directory)
    but I still get the same 404 error..

    Thread Starter markspencer

    (@markspencer)

    correction to my previous post:

    There IS certainly a “WP_OPTIONS” table in the blog database,but it does not contain any of the fields mentioned above.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘unable to login as admin/404 error’ is closed to new replies.