http://immolier.com/post/4/like

PostController :: show

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\PostController::show"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"post_like"
_route_params
[
  "id" => "4"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"a4f259"
id
"4"

Request Headers

Header Value
accept
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
accept-encoding
"gzip"
accept-language
"zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7"
cache-control
"no-cache"
forwarded
"for=43.153.76.247; proto=http; host=immolier.com"
host
"immolier.com"
pragma
"no-cache"
remote-ip
"43.153.76.247"
remote-port
"36662"
upgrade-insecure-requests
"1"
user-agent
"Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1"
x-forwarded-for
"43.153.76.247"
x-forwarded-port
"80"
x-forwarded-proto
"http"
x-iplb-unique-id
"2B994CF7:8F36_91EF25A2:0050_67691777_1E3E1:709E"
x-ovhrequest-id
"3143a2e52f989e8bab0c7dce59a110b6"
x-php-ob-level
"1"
x-predictor
"1"
x-remote-ip
"43.153.76.247"
x-remote-port
"36662"
x-remote-proto
"http"

Request Content

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

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Mon, 23 Dec 2024 07:55:36 GMT"
x-debug-exception
"Warning%3A%20Undefined%20variable%20%24code"
x-debug-exception-file
"%2Fhome%2Fimmoliv%2Fwww%2Fsrc%2FController%2FPostController.php:113"
x-debug-token
"3e0f3a"
x-debug-token-link
"http://immolier.com/_profiler/239018"
x-previous-debug-token
"239018"
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_ENV
"dev"
APP_SECRET
"902c83c7d439f32fa453d16f366b9039"
DATABASE_URL
"mysql://immolivimmofr160:16ImmofKamou@immolivimmofr160.mysql.db/immolivimmofr160?serverVersion=5.6"
GOOGLE_CLIENT_ID
"807075116142-pb3sf3o6ngt6iinuhu2klrr433dti6ur.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET
"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"
MAILER_DSN
"smtp://contact@immolier.com:16ImmofKamou@ssl0.ovh.net:587"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CFG_CLUSTER
"cluster030"
DOCUMENT_ROOT
"/home/immoliv/www/public"
ENVIRONMENT
"production"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GEOIP_AREA_CODE
"0"
GEOIP_COUNTRY_CODE
"CN"
GEOIP_COUNTRY_NAME
"China"
GEOIP_DMA_CODE
"0"
GEOIP_LATITUDE
"34.773201"
GEOIP_LONGITUDE
"113.722000"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_ACCEPT_LANGUAGE
"zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7"
HTTP_CACHE_CONTROL
"no-cache"
HTTP_FORWARDED
"for=43.153.76.247; proto=http; host=immolier.com"
HTTP_HOST
"immolier.com"
HTTP_PRAGMA
"no-cache"
HTTP_REMOTE_IP
"43.153.76.247"
HTTP_REMOTE_PORT
"36662"
HTTP_UPGRADE_INSECURE_REQUESTS
"1"
HTTP_USER_AGENT
"Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1"
HTTP_X_FORWARDED_FOR
"43.153.76.247"
HTTP_X_FORWARDED_PORT
"80"
HTTP_X_FORWARDED_PROTO
"http"
HTTP_X_IPLB_UNIQUE_ID
"2B994CF7:8F36_91EF25A2:0050_67691777_1E3E1:709E"
HTTP_X_OVHREQUEST_ID
"3143a2e52f989e8bab0c7dce59a110b6"
HTTP_X_PREDICTOR
"1"
HTTP_X_REMOTE_IP
"43.153.76.247"
HTTP_X_REMOTE_PORT
"36662"
HTTP_X_REMOTE_PROTO
"http"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REDIRECT_URL
"/post/4/like"
REMOTE_ADDR
"43.153.76.247"
REMOTE_PORT
"17350"
REQUEST_METHOD
"GET"
REQUEST_TIME
1734940535
REQUEST_TIME_FLOAT
1734940535.2531
REQUEST_URI
"/post/4/like"
SCRIPT_FILENAME
"/home/immoliv/www/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"http://immolier.com/post/4/like"
SCRIPT_URL
"/post/4/like"
SERVER_ADDR
"10.30.20.112"
SERVER_ADMIN
"postmaster@immolier.com"
SERVER_NAME
"immolier.com"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"MESSENGER_TRANSPORT_DSN,APP_ENV,APP_SECRET,DATABASE_URL,MAILER_DSN,GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET"
UNIQUE_ID
"Z2kXd8N1trqJNiBImM@s@AAAAOI"
USER
"immoliv"
argc
0
argv
[]

Sub Requests 1

ErrorController (token = 239018)

Key Value
_controller
"error_controller"
_stopwatch_token
"12113e"
exception
ErrorException {#670
  #message: "Warning: Undefined variable $code"
  #code: 0
  #file: "/home/immoliv/www/src/Controller/PostController.php"
  #line: 113
  #severity: E_WARNING
  trace: {
    /home/immoliv/www/src/Controller/PostController.php:113 {
      App\Controller\PostController->show(Request $request, ManagerRegistry $doctrine, AnnoncesRepository $annoncesRepository, $id): Response …
      › return new JsonResponse([    'code' => $code,    'message' => $message,
    }
    /home/immoliv/www/vendor/symfony/http-kernel/HttpKernel.php:153 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#14 …}
        $doctrine: Doctrine\Bundle\DoctrineBundle\Registry {#295 …}
        $annoncesRepository: App\Repository\AnnoncesRepository {#589 …}
        $id: "4"
      }
    }
    /home/immoliv/www/vendor/symfony/http-kernel/HttpKernel.php:75 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#14 …}
        $type: 1
      }
    }
    /home/immoliv/www/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#14 …}
        $type: 1
        $catch: true
      }
    }
    /home/immoliv/www/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#14 …}
      }
    }
    /home/immoliv/www/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /home/immoliv/www/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/home/immoliv/www/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#136 …8}