Hallo,
die Website ist online, Front- und Backend funktionieren, aber
ich habe in unregelmäßigen Abständen (aber nicht jeden Tag) eine Fehlermeldung
in der Kurzfassung:
Code:
Your installation is not secure. Please set the document root to the /web subfolder.
In der Langfassung
Code:
[2021-11-16 03:26:22] request.INFO: Matched route "tl_page.80.root". {"route":"tl_page.80.root","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","pageModel":"[object] (Contao\\PageModel: {})","_route":"tl_page.80.root"},"request_uri":"https://www.meineseite.de/index%2Ephp/","method":"GET"} []
[2021-11-16 03:26:22] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2021-11-16 03:26:22] request.CRITICAL: Uncaught PHP Exception Contao\CoreBundle\Exception\InternalServerErrorHttpException: "Your installation is not secure. Please set the document root to the /web subfolder." at /var/www/clients/client3/web352/web/web/v1/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 94 {"exception":"[object] (Contao\\CoreBundle\\Exception\\InternalServerErrorHttpException(code: 0): Your installation is not secure. Please set the document root to the /web subfolder. at /var/www/clients/client3/web352/web/web/v1/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:94, Contao\\CoreBundle\\Exception\\InsecureInstallationException(code: 0): Your installation is not secure. Please set the document root to the /web subfolder. at /var/www/clients/client3/web352/web/web/v1/vendor/contao/core-bundle/src/EventListener/InsecureInstallationListener.php:42)"} []
[2021-11-16 03:26:22] request.CRITICAL: Exception thrown when handling an exception (Contao\CoreBundle\Exception\InsecureInstallationException: Your installation is not secure. Please set the document root to the /web subfolder. at /var/www/clients/client3/web352/web/web/v1/vendor/contao/core-bundle/src/EventListener/InsecureInstallationListener.php line 42) {"exception":"[object] (Contao\\CoreBundle\\Exception\\InsecureInstallationException(code: 0): Your installation is not secure. Please set the document root to the /web subfolder. at /var/www/clients/client3/web352/web/web/v1/vendor/contao/core-bundle/src/EventListener/InsecureInstallationListener.php:42)"} []
[2021-11-16 03:26:22] request.CRITICAL: Uncaught PHP Exception Contao\CoreBundle\Exception\InternalServerErrorHttpException: "Your installation is not secure. Please set the document root to the /web subfolder." at /var/www/clients/client3/web352/web/web/v1/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 94 {"exception":"[object] (Contao\\CoreBundle\\Exception\\InternalServerErrorHttpException(code: 0): Your installation is not secure. Please set the document root to the /web subfolder. at /var/www/clients/client3/web352/web/web/v1/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:94, Contao\\CoreBundle\\Exception\\InsecureInstallationException(code: 0): Your installation is not secure. Please set the document root to the /web subfolder. at /var/www/clients/client3/web352/web/web/v1/vendor/contao/core-bundle/src/EventListener/InsecureInstallationListener.php:42, Contao\\CoreBundle\\Exception\\InternalServerErrorHttpException(code: 0): Your installation is not secure. Please set the document root to the /web subfolder. at /var/www/clients/client3/web352/web/web/v1/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:94, Contao\\CoreBundle\\Exception\\InsecureInstallationException(code: 0): Your installation is not secure. Please set the document root to the /web subfolder. at /var/www/clients/client3/web352/web/web/v1/vendor/contao/core-bundle/src/EventListener/InsecureInstallationListener.php:42)"} []
Da es eine nginx Server ist, ist die Struktur mit doppeltem "web"
Code:
/var/www/clients/client3/web352/web/web/c1/web
PHP open_basedir gesetzt auf
Code:
/var/www/clients/client3/web352/web/web/v1:/var/www/clients/client3/web352/web/web/v1/web:.....
Woran kann das liegen? Was erzeugt die Fehlermeldung?
Viele Grüße, Meike
Lesezeichen