From 0c485484ed278c016fac961151d46e1721acf551 Mon Sep 17 00:00:00 2001 From: Carsten Rose <carsten.rose@math.uzh.ch> Date: Sat, 27 Jan 2018 11:54:59 +0100 Subject: [PATCH] Manual.rst: enhance debug tipps. --- extension/Documentation/Manual.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/extension/Documentation/Manual.rst b/extension/Documentation/Manual.rst index edad7b845..4296dc143 100644 --- a/extension/Documentation/Manual.rst +++ b/extension/Documentation/Manual.rst @@ -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() '''''''''''''''''''''''''''''''''''''''''''''''''''''' -- GitLab