Commit 0c485484 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Manual.rst: enhance debug tipps.

parent d354406f
......@@ -6251,11 +6251,13 @@ QFQ specific
Variable empty: {{...}}
^^^^^^^^^^^^^^^^^^^^^^^
Specify the required sanitize class. Remember: for STORE_FORM and STORE_CLIENT the default is `digit`. This means if
Specify the required sanitize class. Remember: for STORE_FORM and STORE_CLIENT the default is sanatize class is `digit`. This means if
the variable content is a string, this violates the sanitize class and the replaced content will be an empty string!
Form: put the problematic variable or SQL statement in the 'title' or note 'field' of a `FormElement`. This should show
the content. For SQL statements insert a character before the SQL Keyword to avoid SQL triggering.
the content. For SQL statements, remove the outer token (e.g. only one curly brace) to avoid SQL triggering: ::
Person { SELECT ... WHERE id={{buggyVar:alnumx}} }
Error read file config.qfq.ini: syntax error on line xx
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
......@@ -6268,10 +6270,10 @@ Logging
General webserver error log
^^^^^^^^^^^^^^^^^^^^^^^^^^^
For apache: /var/log/apache2/error_log
For apache: `/var/log/apache2/error_log`
Especially if you got a blank page (no rendering at all), this is typically an uncaught PHP error. Check the error message
and report the bug.
and report the bug (http://qfq.io > Contact).
Call to undefined function qfq\\mb_internal_encoding()
''''''''''''''''''''''''''''''''''''''''''''''''''''''
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment