Errors when trying to install live site locally
-
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 :-/
- The topic ‘Errors when trying to install live site locally’ is closed to new replies.