This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:create:debugging [27.09.2017 10:57] – Correction of some typos from Filter questions to end lchnr.web | en:create:debugging [04.09.2023 21:31] (current) – [Solving Questionnaire Problems] admin | ||
---|---|---|---|
Line 10: | Line 10: | ||
* ... whether the expected content has been saved in variables (content errors). | * ... whether the expected content has been saved in variables (content errors). | ||
- | Formal errors are the easiest to find. When a semicolon is missing at the end of a command or a missing bracket (syntax error) the command code won't even be executed. SoSci Survey will then show an error message. Therefore the error console has to be opened. | + | Formal errors are the easiest to find. When a semicolon is missing at the end of a command or a missing bracket (syntax error) the command code won't even be executed. SoSci Survey will then show an error message. Therefore the [[: |
Content errors are harder to find. The code is working, but does not produce the desired outcome. In this case the background display can help to show what is actually happening ([[# | Content errors are harder to find. The code is working, but does not produce the desired outcome. In this case the background display can help to show what is actually happening ([[# | ||
Line 141: | Line 141: | ||
While the PHP code of SoSci Survey is being executed on the server, [[en: | While the PHP code of SoSci Survey is being executed on the server, [[en: | ||
- | To do so, the error log is needed. One can find it -- depending on the browser -- at different places. | + | To do so, the browser console with its error log is needed: [[:en:general:browser-tools]] |
- | ([[http:// | + | |
Use the command '' | Use the command '' | ||
Line 156: | Line 155: | ||
Browsers nowadays additionally offer an " | Browsers nowadays additionally offer an " | ||
+ |