I wanted to clone my live website to Local for testing purposes but I couldn’t able to do that. I’m pretty new to this kind of things and now I’m lost because of this errors. Can anyone help me with this situation?
I’m having “Configuration Error: Your
wp-config.php file has an empty database table prefix, which is not supported.” line when I try to open admin panel or the website itself via Local. I try to clone my website like this:
I went to cPanel, then phpMyAdmin. I exported the database, selecting Quick and SQL settings. Now, I have a file that named “databasename_wp975.sql”
After that, I went to FTP and opened public_html. Found wp_content and download it fully. Now, I have a file that named “wp-content”
I made a ZIP file with databasename_wp975.sql and wp-content, named it “Archive”.
I opened Local, import the ZIP file via Preferred settings and it fails. Give me the error I wrote above.
I also tried the same thing with custom settings because I saw that someone do that and it worked. Used PHP 7.0.3, Web Server NGINX and MYSQL 5.5 but I got the same outcome. When I check my database via Local, it’s empty.
How can I import my website to Local?