Replies: 0
Hello,
I want to clone my live website to local WP environment on my notebook.
I installed XAMPP, created a database. Also I have run the installer.php file.
Everything worked correctly including the connection to the database – no error message was displayed during the installation process.
However, when I want to navigate to my WP-Login URL after the installation:
http://localhost/testsite/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%2Ftestsite%2Fwp-admin%2Fadmin.php%3Fpage%3Dduplicator-tools%26tab%3Ddiagnostics%26in%3Dinstaller.php%26sm%3D0
I get the following error message:
Fatal error: Uncaught Exception: LoadDotEnv: Environment file .env not found or not readable. Create file with your environment settings at C:\xampp\htdocs\testsite/../.env in C:\xampp\htdocs\testsite\LoadDotEnv.php:131 Stack trace: #0 C:\xampp\htdocs\testsite\LoadDotEnv.php(39): LoadDotEnv->fileIsReadable(‘C:\\xampp\\htdocs…’) #1 C:\xampp\htdocs\testsite\wp-config.php(23): LoadDotEnv->__construct(‘C:\\xampp\\htdocs…’) #2 C:\xampp\htdocs\testsite\wp-load.php(37): require_once(‘C:\\xampp\\htdocs…’) #3 C:\xampp\htdocs\testsite\wp-login.php(12): require(‘C:\\xampp\\htdocs…’) #4 {main} thrown in C:\xampp\htdocs\testsite\LoadDotEnv.php on line 131
I really don’t know what I am doing wrong here.
Thanks in advance for your help.
Best regards
Janick