PhilippHeuer / wordpress-heroku

This project is a template for installing and running WordPress 5.x on Heroku.
MIT License
273 stars 316 forks source link

Blank browser page on local machine for brand new WP site #22

Closed charlesdeb closed 6 years ago

charlesdeb commented 6 years ago

Description of your issue

Instead of being show the 'famous 5 minute install' page upon first running a new WP site locally from a clone of this project, I am getting a blank screen in my browser and no error messages.

charles@debueger06-ubuntu:~/HLML$ php wp-cli.phar server --host=127.0.0.1 --port=3000
PHP 7.0.27-1+ubuntu16.04.1+deb.sury.org+1 Development Server started at Sat Jan 27 22:09:36 2018
Listening on http://127.0.0.1:3000
Document root is /home/charles/HLML/web/wp
Press Ctrl-C to quit.
[Sat Jan 27 22:09:44 2018] 127.0.0.1:51588 [200]: /

Steps to Reproduce

  1. Start server using php wp-cli.phar server --host=127.0.0.1 --port=3000
  2. Visit http://localhost:3000 in browser

Other Information

  1. Trying to visit a bogus URL (eg http://localhost:3000/bogus) also results in a blank screen in the browser - and no error message in the console. However, I can see a 404 in my browser network log.
  2. Trying to visit http://localhost:3000/wp-admin results in a redirect to the HTTPS version of the site, a "Secure Connection Failed" error in the browser and in my shell console I see [Sat Jan 27 22:15:32 2018] 127.0.0.1:51694 Invalid request (Unsupported SSL request) So, it looks like something is working here... but obviously not everything.
  3. It took me a while to get the values in my .env file right so that I wasn't just getting database connection errors. I no longer am seeing those errors, so I don't think this is DB related.
  4. Running wp-cli.phar in debug mode didn't reveal any new information.

Suggestions?

charlesdeb commented 6 years ago

I had got some things mixed up in my .env file from a previous install that were giving me grief. Once they were sorted, then all was good.