From 62498233357a7af704e673b010036cdc951d893c Mon Sep 17 00:00:00 2001 From: samogot Date: Fri, 3 Feb 2017 16:36:57 +0200 Subject: [PATCH 1/2] Minor parse-error extension parse errors produced by Yii PHP Framework --- lib/core/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core/settings.py b/lib/core/settings.py index 17e56ecf8..ada0493ea 100755 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -303,6 +303,7 @@ ERROR_PARSING_REGEXES = ( r"(?m)^(fatal|error|warning|exception):?\s*(?P[^\n]+?)$", r"(?P[^\n>]*SQL Syntax[^\n<]+)", r"
  • Error Type:
    (?P.+?)
  • ", + r"(?PCDbCommand.*SQL.+?)", r"error '[0-9a-f]{8}'((<[^>]+>)|\s)+(?P[^<>]+)", r"\[[^\n\]]+(ODBC|JDBC)[^\n\]]+\](\[[^\]]+\])?(?P[^\n]+(in query expression|\(SQL| at /[^ ]+pdo)[^\n<]+)" ) From 1c1f259df4d5bca9e215037b8558a2ba5b360f2d Mon Sep 17 00:00:00 2001 From: samogot Date: Fri, 3 Feb 2017 16:50:16 +0200 Subject: [PATCH 2/2] Update settings.py fix - looking for any tag --- lib/core/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index ada0493ea..412a961d6 100755 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -303,7 +303,7 @@ ERROR_PARSING_REGEXES = ( r"(?m)^(fatal|error|warning|exception):?\s*(?P[^\n]+?)$", r"(?P[^\n>]*SQL Syntax[^\n<]+)", r"
  • Error Type:
    (?P.+?)
  • ", - r"(?PCDbCommand.*SQL.+?)", + r"(?PCDbCommand.*SQL.+?)<", r"error '[0-9a-f]{8}'((<[^>]+>)|\s)+(?P[^<>]+)", r"\[[^\n\]]+(ODBC|JDBC)[^\n\]]+\](\[[^\]]+\])?(?P[^\n]+(in query expression|\(SQL| at /[^ ]+pdo)[^\n<]+)" )