Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set multisite constants false while checking wp core is-installed #766

Merged
merged 1 commit into from
Feb 19, 2017

Conversation

fullyint
Copy link
Contributor

Creates php file that defines multisite constants false, then uses the
file in --require param of task that checks wp core is-installed.

Prevents WordPress database error Table 'tablename' doesn't exist
that occurs when WordPress loads with...

  • constants set true for MULTISITE and SUBDOMAIN_INSTALL
  • no DB tables

This is the final product of the work in #754.
Fixes #554.
Closes #754.
Closes #765.

Creates php file that defines multisite constants false, then uses the
file in `--require` param of task that checks `wp core is-installed`.
Prevents `WordPress database error Table 'tablename' doesn't exist`
that occurs when WordPress loads with...
  - constants set true for MULTISITE and SUBDOMAIN_INSTALL
  - no DB tables
@swalkinshaw
Copy link
Member

Awesome 🚀

@fullyint fullyint merged commit 7e9a934 into master Feb 19, 2017
@fullyint fullyint deleted the set-multisite-constants-false branch February 19, 2017 22:22
@samburgers
Copy link

I am having trouble deploying a multisite install. Ansible runs provision and deploy without error, but get a Error establishing a database connection on the server once complete. Local provision/install is fine.

Are the steps in the docs here still valid, considering the above commit?

https://roots.io/trellis/docs/multisite/

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants