Forwarded to ErrorController (425557)

DefaultControllerGhostF328b52 :: cutImageStrictAction

Request

GET Parameters

Key Value
c
"MS0xNzIyMzQ1NzUx"
q
"/cut-image-strict/1200/450/191e06e12b.jpg"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\Kiwi\Image\DefaultController::cutImageStrictAction"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"cut_image_strict"
_route_params
[
  "w" => "1200"
  "h" => "450"
  "image_name" => "191e06e12b"
  "extension" => "jpg"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"e8d089"
extension
"jpg"
h
"450"
image_name
"191e06e12b"
w
"1200"

Request Headers

Header Value
accept
"image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"en-US,en;q=0.9,cs-CZ;q=0.8,cs;q=0.7"
cookie
"CookieConsent={stamp:%27DqMgFZymrdiPnrnslvOW9IplyfRngPI6Wv8RKR11sV5hLCMf9n0A2A==%27%2Cnecessary:true%2Cpreferences:true%2Cstatistics:true%2Cmarketing:true%2Cmethod:%27explicit%27%2Cver:1%2Cutc:1723527937572%2Cregion:%27cz%27}; PHPSESSID=59ifb5c7r0qie6jqfmbhtfivmq"
host
"www.doktormayer.cz"
priority
"u=2, i"
referer
"https://www.doktormayer.cz/"
sec-ch-ua
""Chromium";v="130", "Google Chrome";v="130", "Not?A_Brand";v="99""
sec-ch-ua-mobile
"?1"
sec-ch-ua-platform
""Android""
sec-fetch-dest
"image"
sec-fetch-mode
"no-cors"
sec-fetch-site
"same-origin"
user-agent
"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36"
x-forwarded-for
"88.100.227.220"
x-forwarded-host
"www.doktormayer.cz"
x-forwarded-port
"443"
x-forwarded-proto
"https"
x-forwarded-server
"b9ac22f98929"
x-php-ob-level
"1"
x-real-ip
"88.100.227.220"

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, 04 Nov 2024 18:04:06 GMT"
vary
"Accept"
x-debug-exception
"Warning%3A%20file_put_contents%28%2Fvar%2Fwww%2Fhtml%2Fpublic%2Fds%2Fcustom%2F191e06e12b_crop-best_1200_450.jpg%29%3A%20Failed%20to%20open%20stream%3A%20Permission%20denied"
x-debug-exception-file
"%2Fvar%2Fwww%2Fhtml%2Fsrc%2FService%2FKiwi%2FImage%2FImage.php:303"
x-debug-token
"e0a259"
x-debug-token-link
"http://www.doktormayer.cz/_profiler/425557"
x-previous-debug-token
"425557"
x-robots-tag
"noindex"

Cookies

Request Cookies

Key Value
CookieConsent
"{stamp:'DqMgFZymrdiPnrnslvOW9IplyfRngPI6Wv8RKR11sV5hLCMf9n0A2A==',necessary:true,preferences:true,statistics:true,marketing:true,method:'explicit',ver:1,utc:1723527937572,region:'cz'}"
PHPSESSID
"59ifb5c7r0qie6jqfmbhtfivmq"

Response Cookies

No response cookies

Session 1

Session Metadata

Key Value
Created
"Mon, 04 Nov 24 18:04:05 +0000"
Last used
"Mon, 04 Nov 24 18:04:06 +0000"
Lifetime
0

Session Attributes

Attribute Value
page_meta_image
null
page_meta_title
null

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Http\Firewall\ContextListener:171
[
  [
    "file" => "/var/www/html/vendor/symfony/security-http/Firewall/ContextListener.php"
    "line" => 171
    "function" => "remove"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelResponse"
    "class" => "Symfony\Component\Security\Http\Firewall\ContextListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 220
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 214
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 265
    "function" => "filterResponse"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 91
    "function" => "handleThrowable"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/http-kernel/Kernel.php"
    "line" => 197
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/public/index.php"
    "line" => 7
    "args" => [
      "/var/www/html/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"55f1b65605baf84467bfb12331d1a302"
DATABASE_URL
"mysql://app_doktormayer:gs_lcrp=EgZjaHJvbWUqD@master.dot.swarm:3306/app_doktormayer?serverVersion=8"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
TEMPLATES_COMPILATION_FOLDER
"templates/_compiled"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
""
CONTENT_TYPE
""
DOCUMENT_ROOT
"/var/www/html/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/"
HOSTNAME
"04e81aea7b30"
HTTP_ACCEPT
"image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.9,cs-CZ;q=0.8,cs;q=0.7"
HTTP_COOKIE
"CookieConsent={stamp:%27DqMgFZymrdiPnrnslvOW9IplyfRngPI6Wv8RKR11sV5hLCMf9n0A2A==%27%2Cnecessary:true%2Cpreferences:true%2Cstatistics:true%2Cmarketing:true%2Cmethod:%27explicit%27%2Cver:1%2Cutc:1723527937572%2Cregion:%27cz%27}; PHPSESSID=59ifb5c7r0qie6jqfmbhtfivmq"
HTTP_HOST
"www.doktormayer.cz"
HTTP_PRIORITY
"u=2, i"
HTTP_REFERER
"https://www.doktormayer.cz/"
HTTP_SEC_CH_UA
""Chromium";v="130", "Google Chrome";v="130", "Not?A_Brand";v="99""
HTTP_SEC_CH_UA_MOBILE
"?1"
HTTP_SEC_CH_UA_PLATFORM
""Android""
HTTP_SEC_FETCH_DEST
"image"
HTTP_SEC_FETCH_MODE
"no-cors"
HTTP_SEC_FETCH_SITE
"same-origin"
HTTP_USER_AGENT
"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36"
HTTP_X_FORWARDED_FOR
"88.100.227.220"
HTTP_X_FORWARDED_HOST
"www.doktormayer.cz"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_SERVER
"b9ac22f98929"
HTTP_X_REAL_IP
"88.100.227.220"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_INI_DIR
"/etc/php83"
PHP_SELF
"/index.php"
QUERY_STRING
"q=/cut-image-strict/1200/450/191e06e12b.jpg&c=MS0xNzIyMzQ1NzUx"
REDIRECT_STATUS
"200"
REMOTE_ADDR
"10.0.4.176"
REMOTE_PORT
"33998"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1730743446
REQUEST_TIME_FLOAT
1730743446.5647
REQUEST_URI
"/cut-image-strict/1200/450/191e06e12b.jpg?c=MS0xNzIyMzQ1NzUx"
SCRIPT_FILENAME
"/var/www/html/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"10.0.4.13"
SERVER_NAME
"_"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.24.0"
SUPERVISOR_ENABLED
"1"
SUPERVISOR_GROUP_NAME
"php-fpm"
SUPERVISOR_PROCESS_NAME
"php-fpm"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,TEMPLATES_COMPILATION_FOLDER"
USER
"nobody"

Sub Requests 1

ErrorController (token = 425557)

Key Value
_controller
"error_controller"
_stopwatch_token
"56e204"
exception
ErrorException {#516
  #message: "Warning: file_put_contents(/var/www/html/public/ds/custom/191e06e12b_crop-best_1200_450.jpg): Failed to open stream: Permission denied"
  #code: 0
  #file: "/var/www/html/src/Service/Kiwi/Image/Image.php"
  #line: 303
  #severity: E_WARNING
  trace: {
    /var/www/html/src/Service/Kiwi/Image/Image.php:303 {
      App\Service\Kiwi\Image\Image->getCutImage($imageid, $w = 0, $h = 0, $method = 'exact') …
      › \rfile_put_contents($file_path,$imagedata);\r\r
    }
    /var/www/html/src/Controller/Kiwi/Image/DefaultController.php:84 {
      App\Controller\Kiwi\Image\DefaultController->cutImageStrictAction($image_name, $extension, $w, $h) …
      › $imageObj->setType($extension);$image = $imageObj->getCutImage($image_name,$w,$h,'crop-best');}
    /var/www/html/vendor/symfony/http-kernel/HttpKernel.php:181 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/html/vendor/symfony/http-kernel/HttpKernel.php:76 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {
    }
    /var/www/html/vendor/symfony/http-kernel/Kernel.php:197 {
      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 {
    }
    /var/www/html/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/html/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/html/public/index.php:7 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/html/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#326 …9}