From d1fd2bde68a28471a630b58b33093a3ef091acfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 17 Jul 2022 21:59:45 +0200 Subject: [PATCH] Show better error message when SQLite database is not existing. --- templates/bundles/TwigBundle/Exception/error500.html.twig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/bundles/TwigBundle/Exception/error500.html.twig b/templates/bundles/TwigBundle/Exception/error500.html.twig index f28933be..8f1e4667 100644 --- a/templates/bundles/TwigBundle/Exception/error500.html.twig +++ b/templates/bundles/TwigBundle/Exception/error500.html.twig @@ -19,9 +19,10 @@
  • Run yarn install and yarn build in Part-DB folder.
  • Run php bin/console cache:clear
  • - {% elseif exception.class == "Doctrine\\DBAL\\Exception\\InvalidFieldNameException" %} - Invalid database schema. Try following things: + {% elseif exception.class == "Doctrine\\DBAL\\Exception\\InvalidFieldNameException" or exception.class == "Doctrine\\DBAL\\Exception\\TableNotFoundException" %} + Invalid or not existing database schema. Try following things: