• Resolved Patrick Walsh

    (@patrck_walsh)


    I am developing a site on a local hard drive using MAMP. I updated the free version of WAMP to 5.1. WAMP suggested that I update my MySQL database after the update, and I did so. Now I can’t load my localhost site, even though the site has not been moved. Safari displays a 404 Not Found error. MySQL Server and Apache Server are both running, and everything else looks the way it did before I updated WAMP. How do I reconnect to my localhost site? MySQL Thank you for your help. Pat

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator bcworkz

    (@bcworkz)

    Is the 404 error page you see from Apache Server or from WordPress? The Apache page is very plain and basic. WordPress 404 page typically contains theme styling and elements, and often has extra content like nav menus or search boxes or archive dates, etc. Not all themes have these extras, so YMMV.

    Where the 404 actually comes from narrows down the possible problems.

    Do you have a DB backup from before the DB update?

    Dear Pat,
    According to the WAMP server’s instructions:
    Do not install Wampserver OVER an existing version
    If you install Wampserver over an existing version, not only it will not work, but you risk losing your existing databases.

    I suppose you made a backup of the database and the site before the update.
    My advice is:
    1. Uninstall the WAMP server.
    2. Install the new version of the WAMP server.
    3. If you have additional settings in a php.ini or elsewhere, enter them again.
    4. Put the site in the appropriate directory.
    5. Import the database.

    Then everything should work properly.
    Good Luck,
    SAHAR

    Thread Starter Patrick Walsh

    (@patrck_walsh)

    Thank you, bcworkz and Sahar. Regrettably I did not have a backup before I performed the update. I’ve since uninstalled and reinstalled MAMP, so I’m guessing that I need to rebuild the site from scratch. The original WordPress folder structure seems to be intact but phpMyAdmin can’t find the database to import.

    Thank you again for your responses.

    Moderator bcworkz

    (@bcworkz)

    Get into your DB via phpMyAdmin. IIRC, you can get there from the mySQL Administrate button of the MAMP control panel. Even if WP cannot get to your data, it ought to still be there in some form that can maybe be salvaged. Or at least you will know for sure if there is nothing to salvage. Good luck!

    Thread Starter Patrick Walsh

    (@patrck_walsh)

    Thank you again. phpMyAdmin can’t find the database. I can’t find anything that looks like content except for the few images I added to the site.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Updated WAMP; now I can’t open my localhost site’ is closed to new replies.