https://deamonerp.fr/cpi2/public/changer-locale/fr?p=changer-locale%2Ffr

AdminController :: changerLocale

Request

GET Parameters

Key Value
p
"changer-locale/fr"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\AdminController::changerLocale"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"changerLocale"
_route_params
[
  "locale" => "fr"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"df1822"
locale
"fr"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, deflate"
connection
"close"
from
"gptbot(at)openai.com"
host
"deamonerp.fr"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
x-accel-internal
"/internal-nginx-static-location"
x-openai-host-hash
"945041946"
x-php-ob-level
"1"
x-real-ip
"4.227.36.3"

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
"Thu, 09 Jan 2025 06:00:53 GMT"
expires
-1
pragma
"no-cache"
vary
"Accept"
x-debug-exception
"Notice%3A%20SessionHandler%3A%3Agc%28%29%3A%20ps_files_cleanup_dir%3A%20opendir%28%2Fvar%2Flib%2Fphp%2Fsessions%29%20failed%3A%20Permission%20denied%20%2813%29"
x-debug-exception-file
"%2Fvar%2Fwww%2Fvhosts%2Fdeamonerp.fr%2Fhttpdocs%2Fcpi2%2Fvendor%2Fsymfony%2Fhttp-foundation%2FSession%2FStorage%2FHandler%2FStrictSessionHandler.php:116"
x-debug-token
"00680d"
x-debug-token-link
"https://deamonerp.fr/cpi2/public/_profiler/bf9130"
x-previous-debug-token
"bf9130"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

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_DEV
"dev"
APP_ENV
"dev"
APP_SECRET
"7e5c786ce91b44b1d1df2ea0568252fb"
DATABASE_URL
"mysql://cpi2:Piranha!2023@127.0.0.1:3306/cpi2"
GOOGLE_RECAPTCHA_SECRET
""
GOOGLE_RECAPTCHA_SITE_KEY
""
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/deamonerp.fr/httpdocs"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/deamonerp.fr/httpdocs"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, deflate"
HTTP_CONNECTION
"close"
HTTP_FROM
"gptbot(at)openai.com"
HTTP_HOST
"deamonerp.fr"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_OPENAI_HOST_HASH
"945041946"
HTTP_X_REAL_IP
"4.227.36.3"
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/cpi2/public/index.php"
PP_CUSTOM_PHP_CGI_INDEX
"plesk-php74-fastcgi"
PP_CUSTOM_PHP_INI
"/var/www/vhosts/system/deamonerp.fr/etc/php.ini"
QUERY_STRING
"p=changer-locale/fr"
REDIRECT_HTTPS
"on"
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_QUERY_STRING
"p=changer-locale/fr"
REDIRECT_SCRIPT_URI
"https://deamonerp.fr/cpi2/public/changer-locale/fr"
REDIRECT_SCRIPT_URL
"/cpi2/public/changer-locale/fr"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"Z39mFeR2bcHvGXHlMdT3aAAAABI"
REDIRECT_URL
"/cpi2/public/changer-locale/fr"
REMOTE_ADDR
"4.227.36.3"
REMOTE_PORT
"52624"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1736402453
REQUEST_TIME_FLOAT
1736402453.3158
REQUEST_URI
"/cpi2/public/changer-locale/fr"
SCRIPT_FILENAME
"/var/www/vhosts/deamonerp.fr/httpdocs/cpi2/public/index.php"
SCRIPT_NAME
"/cpi2/public/index.php"
SCRIPT_URI
"https://deamonerp.fr/cpi2/public/changer-locale/fr"
SCRIPT_URL
"/cpi2/public/changer-locale/fr"
SERVER_ADDR
"141.94.247.171"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"deamonerp.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
"<address>Apache Server at deamonerp.fr Port 443</address>\n"
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_DEV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,GOOGLE_RECAPTCHA_SITE_KEY,GOOGLE_RECAPTCHA_SECRET"
UNIQUE_ID
"Z39mFeR2bcHvGXHlMdT3aAAAABI"

Sub Requests 1

ErrorController (token = bf9130)

Key Value
_controller
"error_controller"
_stopwatch_token
"752194"
exception
ErrorException {#387
  #message: "Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13)"
  #code: 0
  #file: "/var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php"
  #line: 116
  #severity: E_NOTICE
  trace: {
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:116 {
      Symfony\Component\HttpFoundation\Session\Storage\Handler\StrictSessionHandler->gc($maxlifetime) …
      › {    return $this->handler->gc($maxlifetime);}
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:91 {
      Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy->gc($maxlifetime) …
      › {    return $this->handler->gc($maxlifetime);}
    }
    Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy->gc() {}
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:185 {
      Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() …
      › // ok to try and start the sessionif (!session_start()) {    throw new \RuntimeException('Failed to start the session.');
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:352 {
      Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag(string $name) …
      › } elseif (!$this->started) {    $this->start();}
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/symfony/http-foundation/Session/Session.php:261 {
      Symfony\Component\HttpFoundation\Session\Session->getBag(string $name) …
      › {    $bag = $this->storage->getBag($name);}
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/symfony/http-foundation/Session/Session.php:283 {
      Symfony\Component\HttpFoundation\Session\Session->getAttributeBag(): AttributeBagInterface …
      › {    return $this->getBag($this->attributeName);}
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/symfony/http-foundation/Session/Session.php:77 {
      Symfony\Component\HttpFoundation\Session\Session->get(string $name, $default = null) …
      › {    return $this->getAttributeBag()->get($name, $default);}
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/src/Controller/AdminController.php:48 {
      App\Controller\AdminController->changerLocale($locale, Request $request) …
      › 
      › $loc = $request->getSession()->get('_locale');$referer = $request->headers->get('referer');
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/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/deamonerp.fr/httpdocs/cpi2/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/deamonerp.fr/httpdocs/cpi2/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/deamonerp.fr/httpdocs/cpi2/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/vhosts/deamonerp.fr/httpdocs/cpi2/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';if($_SERVER['REMOTE_ADDR'] == '90.63.222.84')
      arguments: {
        "/var/www/vhosts/deamonerp.fr/httpdocs/cpi2/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#106 …9}