<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:"Arial",sans-serif;
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi Norbert,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US">which version of symfony are you using? The error of the session failing to start seems to occur in the class “vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php”
 (line 193), I suspect during the call to the start() function, which eventually calls the php function “session_start()”.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US">You can check the source code on your system yourself for the real cause, though.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US">It is possible, that the error is caused by missing write permissions on the directory or sub-directories of app/cache/ or var/cache/, depending
 on your Symfony version.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US">You can also try to call the app_dev.php instead of app.php, maybe the logs for dev environment give you another indication of what is causing
 the error.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:#1F497D">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:#1F497D">Connor<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b>Von:</b> Mapbender_users <mapbender_users-bounces@lists.osgeo.org>
<b>Im Auftrag von </b>Norbert Farago via Mapbender_users<br>
<b>Gesendet:</b> Donnerstag, 16. Mai 2024 10:23<br>
<b>An:</b> mapbender_users@lists.osgeo.org<br>
<b>Cc:</b> Norbert Farago <norbert.farago@gmail.com><br>
<b>Betreff:</b> [Mapbender-users] Fwd: Installation issues + Uncaught PHP Exception Twig\Error\RuntimeError (code 0)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">Dear Mapbender Team,<o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div id="m_4174554536754428925m_9028056402996255937m_-9052805145626760952gmail-:j3">
<div id="m_4174554536754428925m_9028056402996255937m_-9052805145626760952gmail-:iz">
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">last week I asked for a little help on the mail list, but unfortunately, I didn't get a response until now. Since then, together with the administrators, we solved the .htaccess and Apache problems, but the ones with code 0 remained. I
 copied here the error lines from prod.log, I am sure it will provide some extra hint for you (definitely it did not for me).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">[2024-05-15 23:12:52] request.INFO: Matched route "mapbender_start". {"route":"mapbender_start","route_parameters":{"_route":"mapbender_start","_controller":"Mapbender\\CoreBundle\\Controller\\WelcomeController::listAction"},"request_uri":"<a href="https://(...)/">https://(...)/</a>","method":"GET"}
 []<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[2024-05-15 23:12:52] security.INFO: Populated the TokenStorage with an anonymous Token. [] []<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[2024-05-15 23:12:54] request.CRITICAL: Uncaught PHP Exception Twig\Error\RuntimeError: "An exception has been thrown during the rendering of a template ("Failed to start the session.")." at /afs/(...)/mapbender/mapbender/src/Mapbender/ManagerBundle/Resources/views/manager.html.twig
 line 19 {"exception":"[object] (Twig\\Error\\RuntimeError(code: 0): An exception has been thrown during the rendering of a template (\"Failed to start the session.\"). at /afs/(...)/mapbender/mapbender/src/Mapbender/ManagerBundle/Resources/views/manager.html.twig:19,
 RuntimeException(code: 0): Failed to start the session. at /afs/(...)/mapbender/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:193)"} []<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[2024-05-15 23:12:55] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /favicon.ico" (from "<a href="https://(...)">https://(...)</a>")" at /afs/(...)/mapbender/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php
 line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /favicon.ico\" (from \"<a href="https://(....)">https://(....)</a>") at /afs/(...)/mapbender/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136,
 Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/favicon.ico/\". at /afs/(...)/mapbender/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:70)"} []<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thank you in advance!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Best<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">Norbert Faragó<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>