• Hi there,

    I downloaded a live site’s files via FTP and created a new database in phpMyAdmin to prepare to create a local version of the live site. However, when I go to localhost/[databasename] I’m not redirected to the WordPress install (as I have been when doing this same thing previously). So I went to www.remarpro.com and downloaded and unzipped the core files and transferred them manually to my local directory. Now I see an index page with a list of files when I go to localhost/[databasename] and there is a guide to how to install. I opened wp-config-sample.php in my text editor and manually entered the database name of the one I’d created (and used “root” for the user and left the pw blank) and saved the filed as wp-config.php in my local directory. But when I go to localhost/[databasename]/wp-admin/install.php, I get an error related to my wp-settings file, which was part of the FTP download in the wp-includes folder. I opened *that* file in my text editor and saw the following:

    require( ABSPATH . WPINC . ‘/class-wp-paused-extensions-storage.php’ );
    require( ABSPATH . WPINC . ‘/class-wp-fatal-error-handler.php’ );
    require( ABSPATH . WPINC . ‘/class-wp-recovery-mode-cookie-service.php’ );
    require( ABSPATH . WPINC . ‘/class-wp-recovery-mode-key-service.php’ );
    require( ABSPATH . WPINC . ‘/class-wp-recovery-mode-link-service.php’ );
    require( ABSPATH . WPINC . ‘/class-wp-recovery-mode-email-service.php’ );
    require( ABSPATH . WPINC . ‘/class-wp-recovery-mode.php’ );
    require( ABSPATH . WPINC . ‘/error-protection.php’ );
    require( ABSPATH . WPINC . ‘/default-constants.php’ );
    require_once( ABSPATH . WPINC . ‘/plugin.php’ );

    The first require is the one I got an error about, but I suspect that due to the workaround nature of how I even got here that even were I somehow able to correct it, one of the subsequent requirements would fail. Should I simply rip everything out and start over? My biggest question is that I don’t understand why I’m not being directed to the “famous 5 minute install” when I’ve got the site files via FTP in a local directory with the same name as the database I created in phpMyAdmin.

    Thank you in advance for reading my novel :-/

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Those required files are not part of a default installation. You apparently have altered, corrupt or mixed version files. Please do a manual update, solely using the files from your recently downloaded .zip.

    There’s not much point in doing the 5 minute install if you will be importing an existing DB. You end up overwriting the new DB tables anyway. Doesn’t hurt to do so, but there’s little reason to.

    If the original core files were altered, it’s possible the DB structure has also been altered. It’s possible the current DB structure may not be compatible with your newly installed files. You will need to search and replace all URL references to the old domain with your localhost reference anyway, but there could be other deviations from a standard installation.

Viewing 1 replies (of 1 total)
  • The topic ‘Errors when trying to install live site locally’ is closed to new replies.