Error 500 Internal Server Error

GET http://www.doktormayer.cz/orig-image/3f06f80722.jpg?q=%2Forig-image%2F3f06f80722.jpg

Forwarded to ErrorController (e7dbea)

DefaultControllerGhostF328b52 :: origImageAction

Request

GET Parameters

Key Value
q
"/orig-image/3f06f80722.jpg"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\Kiwi\Image\DefaultController::origImageAction"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"orig_image"
_route_params
[
  "image_name" => "3f06f80722"
  "extension" => "jpg"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"2fa045"
extension
"jpg"
image_name
"3f06f80722"

Request Headers

Header Value
accept-encoding
"gzip"
host
"www.doktormayer.cz"
user-agent
"Go-http-client/2.0"
x-forwarded-for
"35.163.180.211"
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
"35.163.180.211"

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
"Fri, 08 Nov 2024 03:18:03 GMT"
vary
"Accept"
x-debug-exception
"Warning%3A%20file_get_contents%28%2Fvar%2Fwww%2Fhtml%2Fpublic%2Fds%2Forig%2F3f06f80722.jpg%29%3A%20Failed%20to%20open%20stream%3A%20No%20such%20file%20or%20directory"
x-debug-exception-file
"%2Fvar%2Fwww%2Fhtml%2Fsrc%2FService%2FKiwi%2FImage%2FImage.php:208"
x-debug-token
"2ee6bd"
x-debug-token-link
"http://www.doktormayer.cz/_profiler/e7dbea"
x-previous-debug-token
"e7dbea"
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
"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
"9d114f1a30cb"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_HOST
"www.doktormayer.cz"
HTTP_USER_AGENT
"Go-http-client/2.0"
HTTP_X_FORWARDED_FOR
"35.163.180.211"
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
"35.163.180.211"
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=/orig-image/3f06f80722.jpg&"
REDIRECT_STATUS
"200"
REMOTE_ADDR
"10.0.4.176"
REMOTE_PORT
"57716"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1731035883
REQUEST_TIME_FLOAT
1731035883.8349
REQUEST_URI
"/orig-image/3f06f80722.jpg"
SCRIPT_FILENAME
"/var/www/html/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"10.0.4.160"
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 = e7dbea)

Key Value
_controller
"error_controller"
_stopwatch_token
"76b1e5"
exception
ErrorException {#555
  #message: "Warning: file_get_contents(/var/www/html/public/ds/orig/3f06f80722.jpg): Failed to open stream: No such file or directory"
  #code: 0
  #file: "/var/www/html/src/Service/Kiwi/Image/Image.php"
  #line: 208
  #severity: E_WARNING
  trace: {
    /var/www/html/src/Service/Kiwi/Image/Image.php:208 {
      App\Service\Kiwi\Image\Image->getOrigImage($imageid, $image_folder = 'orig') …
      › \r$content = file_get_contents($file_path);\r\r
    }
    /var/www/html/src/Controller/Kiwi/Image/DefaultController.php:16 {
      App\Controller\Kiwi\Image\DefaultController->origImageAction($image_name, $extension) …
      › $imageObj->setType($extension);$image = $imageObj->getOrigImage($image_name);}
    /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}