DEV Community

Discussion on: Complete Guide To Hosting Wordpress On Heroku With SSL Certification

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

I tried my way, but it seems to only run in Heroku, not local. I cannot run locally at all.

Which is probably as same as this isse.

DB error on local environment construction #33

Description of your issue

I guessed that the DB setting is set by CUSTOM_DB_URL of the .env file and set it up.

However, when I opened the top page, DB error occurred frequently such as no wp_post.

CUSTOM_DB_URL seemed to be not working effectively. So, do I need to add DB settings to web / wp / wp-config.php?

Also, config / environments / development.php Is it possible to switch the DB settings of each environment by describing the DB definition?

If possible, where do you decide the current declaration of (environment / production / staging / development)?

Steps to Reproduce

github.com/PhilippHeuer/wordpress-...

Other Information

Git Commit/Version: current master