Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:troubleshooting
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
development:troubleshooting [2019/02/27 13:52] – created demiankatz | development:troubleshooting [2019/03/07 13:45] – demiankatz | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Turn on Development Mode ===== | ===== Turn on Development Mode ===== | ||
- | VuFind' | + | VuFind' |
+ | |||
+ | ===== Clear the Cache ===== | ||
+ | |||
+ | When in doubt, empty the contents of $VUFIND_LOCAL_DIR/ | ||
===== Turn on Debug Mode ===== | ===== Turn on Debug Mode ===== | ||
Line 16: | Line 20: | ||
Logging is not only a useful way to troubleshoot a known problem, but it is also a good way to detect unknown problems -- setting up a log in a production system and monitoring it for unusual activity is strongly recommended. | Logging is not only a useful way to troubleshoot a known problem, but it is also a good way to detect unknown problems -- setting up a log in a production system and monitoring it for unusual activity is strongly recommended. | ||
+ | |||
+ | ===== Use Xdebug ===== | ||
+ | |||
+ | In a situation where you need to closely inspect how code is behaving, you can use PHP's Xdebug extension for full code-level debugging functionality -- step through code, inspect variable values, etc. Several IDEs support Xdebug, and a Google search for " | ||
===== Use Your Browser' | ===== Use Your Browser' |
development/troubleshooting.txt · Last modified: 2024/02/23 11:36 by demiankatz