• I am setting up a developing env for a project. So it already had a live and a staging site. I want to also add a local enviromnent for developing so that I can check the changes I made locally on the staging first and the push to the live site. But now I just crashed the staging site. My process was to push the repo from the live site to gitlab and from gitlab to my local machine. I made a change for testing, pushing from local to gitlab and then pulled the changes from the staging site. but now the staging site is not accessable anymore. And it makes a lot of sense since it was overwriting the wp-config.php file with the entries of the live site i.e. database information. But actually I dont see a cannot connect to the database. Just a blank site. So this does not seems to be the right direction to go. Any help on how I can make this work?

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    If you’re getting blank pages in response, this means there was likely a fatal PHP error, but the site is configured to not display errors (good for security). You can still learn what error occurred through the server’s error log. Correct the error and try again. Repeat as necessary until the staging site works as intended.

Viewing 1 replies (of 1 total)
  • The topic ‘Deploying From Local to Staging Failed’ is closed to new replies.