I'm working on the GovCMS template for Platform.sh and running into an odd issue.
When the codebase deploys, when the site is viewed the first time I am finding a dozen or so tables created in the database. It's enough that the redirect-to-installer doesn't trigger, and instead the page shows an unstyled login form. That's... not right. :-)
Because of how Platform.sh works, the DB credentials are already populated on the first page load; the installer normally is still triggered by the lack of DB tables, and is then smart enough to not ask for DB credentials as they're already available.
My best guess is that GovCMS, unlike stock Core, is doing something on its initial page load that causes some but not all DB tables to be created since it already has DB credentials. That then breaks the installer-redirect logic, and we're left with a broken site.
I don't know what that "something" would be, though. Does someone who knows GovCMS internals better than I do have a theory, preferably one that could lead to a fix?
Comments