Topic cluster
Development and debugging
Building inspecting testing and diagnosing Zotonic applications and modules.
View topic page6 items
The remaining keywords do not make a useful further split. All matching documentation is listed below.
A model returns an error or no value
Check the requested path and compare its binary segments with the model callback patterns. Confirm that the callback returns the unused path in the required result structure.
A saved change does not appear
Check each stage in order: the edited file, build output, loaded application, active module, selected template, and browser response.
A site does not start
Run bin/zotonic status to distinguish an unavailable node from a stopped or failing site. Inspect the relevant startup log before repeatedly restarting it.
Diagnose a failed browser interaction
Reproduce one action with the browser console and network panel open. Check for a JavaScript error before the request, a failed request, or a successful response that the page does not apply.
Distinguish stale cache data from stale code
First check which file is selected and whether the changed code compiled. Then repeat the request with the relevant cache disabled or flushed.
Troubleshooting
Work from a symptom to a focused check and a verified fix.