I tried copying a complete backup of my site and it doesn’t work but I am tired and brain dead so I will leave it for another day. I have got other things to catch up on.
Thanks for all your help.
I get an “Error establishing a database connection.” I have created a database and added the user from details in wp-config.php. So the database isn’t updated when I copy a new set of site files. But I am shooting blind. So I will hunt for some mamp support.
Maybe someone that has done it will chime in.
http://www.wpbeginner.com/wp-tutorials/how-to-move-live-wordpress-site-to-local-server/
Excellent how to move live to the local server using a duplicator plugin. The plugin does all the work. Took me only 15 minutes to add the plugin, which I had never done before to complete the move. The plugin also does local server to live site or live site to a second live site. The how to explains also how to do it manually, just a little more work. The plugin also has a pro version, of course, that backups up to the cloud.
Now I have to figure out if can have more than one local site. But that is another day.
I added duplicator to the Lions site but I get a warning about the version of WordPress which 3 something. I went ahead and added it and ran it and it seems to work ok. But when I try to start lions I get the following error. I don’t any about MySQL. I had sure hoped this would work. I am too scared to try updating the live lion’s site to 4.8 that it will break and I don’t currently have FTP access as nobody current knows the user or password details.
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
That error message is on Google but all the solutions are above my pay level. It appears WordPress 4.8 doesn’t use the same MySQL extension used by 3.5. so for the moment, I am hooped. It’s too bad since I really wanted to run it locally for testing upgrading to WordPress 4.8
Well, success. I have two local sites loaded on MAMP. They are working just fine so MAMP is a workable localhost. Not using the pro version. Not needed.
I am still researching my MySQL extension problem. Most of it is greek to me.
Half success. I have found a solution consisted of loading db.php to my WordPress content directory (wp-content/) The site runs but I can’t login. So close.
I wait for db.php writer support.
I found a solution for my last problem of not being able to login.
wp-login.php
$user = wp_signon( ”, $secure_cookie ); origional
$user = wp_signon( array(), $secure_cookie ); fix
I am logged in. I am a happy camper. Now I can play.