Forums

HELP - 404 error on local install following moving of blog - HELP! (4 posts)

  1. chezshire
    Member
    Posted 2 years ago #

    THE PROBLEM ::
    My Local Install is not functioning
    1. No Theme (CSS?) loads, so pages display as pure html it would seem - very confusing.
    2. When I attempt to login in to my local install, I receive the following 404 error message -

    Not Found

    The requested URL /xampp/web/wordpress/testDev/update_option('siteurl', 'http://10.0.1.14/xampp/web/wordpress/testDev' );update_option('home', 'http://10.0.1.14/xampp/web/wordpress/testDev' );/wp-login.php was not found on this server.

    CASE HISTORY :: Hello, and thanks in advance to anyone who can assist this newb (student) to the land of WordPress. Yesterday I attempted a local install of XAMPP (PHP Dev Environment) and then WordPress on to my iMac. Both attempts went very well thanks to some really great tutorials that I found on the web (thanks to everyone for all those tutorials - Very much appreciated!). I then played around with my local install, and following another tutorial, uploaded it to my server and that too went pretty well. Unfortunately, my local install stopped working - any attempts to login to my local install sent me to my server install. I am trying to get my local install to work once more so that I can work on redesigning it, playing with it and learning about it without affecting my actual site - I want to develop locally as thats faster and safer then doing it on the server where all can see and all can be affect by my attempts to play/work/rework my themes and functions, etc.

    So I'm trying to get the copy on my local hard drive working once more without decommissioning my working server version.

    RESOLVE ATTEMPS ::
    1. Hunted around for some trouble shooting tutorials, ultimately the consensus I got was to do the following:
    A. Open local database
    B. Access Database (wp-options field) make the following change:

    //FIXME: do comment/remove these hack lines. (once the database is updated)
    update_option('siteurl', 'http://your.domain.name/the/path' );
    update_option('home', 'http://your.domain.name/the/path' );

    I did this and the local install of my theme stopped displaying any CSS, and appeared as just an html file - but the links and such all appeared to be there which suggests some kind of communication between the local install of my blog and the DB is now happening.

    2. Attempted to log in, received the following 404 error:

    Not Found

    The requested URL /xampp/web/wordpress/testDev/update_option('siteurl', 'http://10.0.1.14/xampp/web/wordpress/testDev' );update_option('home', 'http://10.0.1.14/xampp/web/wordpress/testDev' );/wp-login.php was not found on this server.

    3. Deleted history, cookies, etc. Attempted to relog in with hope. I once again received the same 404 error.

    PLEA FOR HELP :: HELP!

  2. Samuel B
    moderator
    Posted 2 years ago #

    what happens if you change the ip in the url to localhost? - i.e.
    http://localhost/xampp/web/wordpress/testDev

    also, some ref
    http://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP

  3. chezshire
    Member
    Posted 2 years ago #

    I get a completely white screen (of death?)

    :(

  4. James
    Happiness Engineer
    Posted 2 years ago #

    If you can, try using MAMP instead of XAMPP. I've never used either on my Mac, but I hear that MAMP works better. You can follow this guide once you have it setup:

    http://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP

Topic Closed

This topic has been closed to new replies.

About this Topic