https://oscar-multilangue.hrz.fr/

DefaultController :: index

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\Front\DefaultController::index"
_firewall_context
"security.firewall.map.context.main"
_links
Symfony\Component\WebLink\GenericLinkProvider {#10497
  -links: [
    10496 => Symfony\Component\WebLink\Link {#10496
      -href: "https://oscar-multilangue.hrz.fr/api/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_remove_csp_headers
true
_route
"index_page_home"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"5dfbfb"
media_type
"text/html"

Request Headers

Header Value
connection
"close"
host
"oscar-multilangue.hrz.fr"
x-accel-internal
"/internal-nginx-static-location"
x-php-ob-level
"1"
x-real-ip
"87.120.126.223"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"private, must-revalidate"
content-type
"text/html; charset=UTF-8"
date
"Sat, 18 Jan 2025 18:21:40 GMT"
expires
-1
link
"<https://oscar-multilangue.hrz.fr/api/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation""
pragma
"no-cache"
set-cookie
"device_view=full; expires=Tue, 18-Feb-2025 18:21:40 GMT; Max-Age=2678400; path=/; httponly; samesite=lax"
x-debug-exception
"An%20exception%20has%20been%20thrown%20during%20the%20rendering%20of%20a%20template%20%28%22Warning%3A%20Undefined%20array%20key%20%22HTTP_USER_AGENT%22%22%29."
x-debug-exception-file
"%2Fvar%2Fwww%2Fvhosts%2Fhrz.fr%2Foscar-multilangue.hrz.fr%2Ftemplates%2Ffront%2Ftheme1%2Fmodele%2Fparallax.html.twig:12"
x-debug-token
"080335"
x-debug-token-link
"https://oscar-multilangue.hrz.fr/_profiler/b44c93"
x-previous-debug-token
"b44c93"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

Key Value
device_view
Symfony\Component\HttpFoundation\Cookie {#10500
  #name: "device_view"
  #value: "full"
  #domain: ""
  #expire: 1739902900
  #path: "/"
  #secure: false
  #httpOnly: true
  -raw: false
  -sameSite: "lax"
  -secureDefault: true
}

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"a7c3c2bfe6c40fd73886185de4e77627"
APP_THEME
"theme1"
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$"
DATABASE_URL
"mysql://oscarmutli500:bkzsKuP6PGOPvl8u@localhost:3306/oscar_mutli"
GOOGLE_CLIENT_ID
"600552923763-vve6ac9qfasqv17vj8dvnbl184roat6s.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET
"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"
LOCK_DSN
"semaphore"
MAILER_DSN
"smtp://localhost:1025"
OPENAI_API_KEY
"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"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
BASE
"/public"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/hrz.fr"
HTTPS
"on"
HTTP_CONNECTION
"close"
HTTP_HOST
"oscar-multilangue.hrz.fr"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_REAL_IP
"87.120.126.223"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/public/index.php"
QUERY_STRING
""
REDIRECT_BASE
"/public"
REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_REDIRECT_UNIQUE_ID
"Z4vxMZY6xwPeQUocsKRq5QAAAI4"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"Z4vxMZY6xwPeQUocsKRq5QAAAI4"
REDIRECT_URL
"/public/"
REMOTE_ADDR
"87.120.126.223"
REMOTE_PORT
"41424"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1737224497
REQUEST_TIME_FLOAT
1737224497.7823
REQUEST_URI
"/"
SCRIPT_FILENAME
"/var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/public/index.php"
SCRIPT_NAME
"/public/index.php"
SERVER_ADDR
"149.202.68.168"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"oscar-multilangue.hrz.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
"<address>Apache Server at oscar-multilangue.hrz.fr Port 443</address>\n"
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,APP_THEME,DATABASE_URL,CORS_ALLOW_ORIGIN,MAILER_DSN,LOCK_DSN,OPENAI_API_KEY,GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET"
UNIQUE_ID
"Z4vxMZY6xwPeQUocsKRq5QAAAI4"
USER
"hrz.fr_59mq5tk3uf3"
proxy-nokeepalive
"1"

Sub Requests 1

ErrorController (token = b44c93)

Key Value
_controller
"error_controller"
_links
Symfony\Component\WebLink\GenericLinkProvider {#8458
  -links: [
    8445 => Symfony\Component\WebLink\Link {#8445
      -href: "https://oscar-multilangue.hrz.fr/api/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_stopwatch_token
"caecc1"
exception
Twig\Error\RuntimeError {#8153
  -lineno: 12
  -name: "front/theme1/modele/parallax.html.twig"
  -rawMessage: "An exception has been thrown during the rendering of a template ("Warning: Undefined array key "HTTP_USER_AGENT"")."
  -sourcePath: "/var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/templates/front/theme1/modele/parallax.html.twig"
  -sourceCode: """
    <section id="widget-{{widget.id}}" class="sec-parallax espace-p-bottom text-center" style="background-color:{{widget.bgcolor}}">\r\n
        {% set parametre = ParametreSite() %}\r\n
        {% set type_lien = widget.typelien %}\r\n
        {% set lien_interne = widget.lieninterne %}\r\n
        {% set lien_externe = widget.lienexterne %}\r\n
        {% set telephone = widget.telephone %}\r\n
    \r\n
        {% if type_lien != 1 %}\r\n
            <a class="full-link" href="{% if type_lien == 2 %}{{slug_link_interne(lien_interne) }}{% elseif type_lien == 3 %}{{lien_externe }}{% elseif type_lien == 4 %}tel:{{telephone }}{% endif %}" {% if type_lien == 3 %}target="_blank"{% endif %} title="{{widget.buttonlabel}}"></a>\r\n
        {% endif %}\r\n
        {% if not is_mobile() and not is_tablet() %}\r\n
        <img src="{{asset_image(widget.bgimage,'large')}}" data-speed="-1" class="img-parallax" alt="{{widget.subTitle}}">\r\n
        {% endif %}\r\n
        <div class="ctn-parallax">\r\n
            <div class="container-fluid wrapper">\r\n
                <div class="item-ctn-parallax">\r\n
                    {% if parametre.actiftitre == true %}\r\n
                        <div class="titre_site">{{parametre.titre}}</div>\r\n
                    {% endif %}\r\n
                    {% if widget.subTitle is not empty  %}\r\n
                        <div class="sub-title wow fadeInUp" >{{widget.subTitle|raw}}</div>\r\n
                    {% endif %}\r\n
                    {% if widget.description is not empty  %}\r\n
                        <div class="texte-content">{{widget.description|raw}}</div>\r\n
                    {% endif %}\r\n
                    {% if type_lien != 1 and widget.buttonlabel != '' %}\r\n
                        <a class="bouton-bloc btn-back-pulse" href="{% if type_lien == 2 %}{{slug_link_interne(lien_interne) }}{% elseif type_lien == 3 %}{{lien_externe }}{% elseif type_lien == 4 %}tel:{{telephone }}{% endif %}" {% if type_lien == 3 %}target="_blank"{% endif %} title="{{widget.buttonlabel}}">{{widget.buttonlabel}}</a>\r\n
                    {% endif %}\r\n
                </div>\r\n
            </div>\r\n
        </div>\r\n
    </section>
    """
  #message: "An exception has been thrown during the rendering of a template ("Warning: Undefined array key "HTTP_USER_AGENT"")."
  #code: 0
  #file: "/var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/templates/front/theme1/modele/parallax.html.twig"
  #line: 12
  -previous: ErrorException {#8156 …}
  trace: {
    /var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/templates/front/theme1/modele/parallax.html.twig:12 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › {% if not is_mobile() and not is_tablet() %}\r<img src="{{asset_image(widget.bgimage,'large')}}" data-speed="-1" class="img-parallax" alt="{{widget.subTitle}}">\r{% endif %}\r
    }
    /var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/vendor/twig/twig/src/Template.php:367 {
      Twig\Template->display(array $context, array $blocks = []) …
      › {    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
    }
    /var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/vendor/twig/twig/src/Template.php:379 {
      Twig\Template->render(array $context) …
      › try {    $this->display($context);} catch (\Throwable $e) {
    }
    /var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/vendor/twig/twig/src/TemplateWrapper.php:40 {
      Twig\TemplateWrapper->render(array $context = []): string …
      ›     // as it should only be used by internal code    return $this->template->render($context, \func_get_args()[1] ?? []);}
    }
    /var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/vendor/twig/twig/src/Environment.php:280 {
      Twig\Environment->render($name, array $context = []): string …
      › {    return $this->load($name)->render($context);}
    }
    /var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/src/Service/RenderBloc.php:520 {
      App\Service\RenderBloc->renderTemplate($bloc, $schemaOrg) …
      › $template = $this->templating->render('front/'.$this->theme.'/modele/parallax.html.twig',[\r  'widget'=> $widget,      \r]);\r
    }
    /var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/src/Service/RenderBloc.php:175 {
      App\Service\RenderBloc->RenderBloc($post, $schemaOrg, $type = 'post') …
      › \r$template = $this->renderTemplate($bloc,$schemaOrg);\r\r
    }
    /var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/src/Controller/Front/DefaultController.php:117 {
      App\Controller\Front\DefaultController->index(Request $request) …
      › \r$bloc_post = $this->renderBloc->RenderBloc($home_page,$schemaOrg);\r\r
    }
    /var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/vendor/symfony/http-kernel/HttpKernel.php:75 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/public/index.php:20 {$request = Request::createFromGlobals();\r$response = $kernel->handle($request);\r$response->send();\r
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#382 …9}