Skip to content
GitLab
Explore
Sign in
This is an archived project. Repository and other project resources are read-only.
Changes
Page history
Update Drupal Debug Hints
authored
May 30, 2023
by
Kai Amann
Show whitespace changes
Inline
Side-by-side
Drupal-Debug-Hints.md
View page @
fee70d83
Because drupal frequently misbehaves, here is a list of useful snippets.
Because drupal frequently misbehaves, here is a list of useful snippets.
This isn't intended for end-users of the distillery, but just listed here so we don't have to keep searching for it.
This isn't intended for end-users of the distillery, but just listed here so we don't have to keep searching for it.
# Export, Import and Edit/Delete Module Configs
The whole Drupal config can be exported with:
```
drush cex -y
```
This will export all config files to
`/web/sites/default/files/config_SOME_HASH/sync/`
.
Here you can edit/delete the configs that are causing problems.
After you're done you can import the config again with:
```
drush cim -y
```
# Enable Stack Traces
# Enable Stack Traces
The DSOD usually only says
`The website encountered an unexpected error. `
The DSOD usually only says
`The website encountered an unexpected error. `
...
...