https://extranet.ffcb.fr/my-space/orders/993/download-invoice

MySpaceController :: downloadInvoice

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\Frontend\MySpaceController::downloadInvoice"
_firewall_context
"security.firewall.map.context.customer"
_remove_csp_headers
true
_route
"customer_download_invoice"
_route_params
[
  "id" => "993"
]
_security_firewall_run
"_security_customer"
_stopwatch_token
"af35d9"
id
"993"
order
App\Entity\Order {#1056
  -status: 4
  -id: 993
  -number: "C20241000001050"
  -firm: Proxies\__CG__\App\Entity\Entreprise {#1227 …}
  -orderDate: DateTime @1730311509 {#1048
    date: 2024-10-30 19:05:09.0 Europe/Paris (+01:00)
  }
  -type: 2
  -orderLines: Doctrine\ORM\PersistentCollection {#1198 …}
  -totalAmount: 4170.708
  -billingAddress: [
    "address" => "CHEMIN DE LARIES"
    "addressCompl" => null
    "zipCode" => "12120"
    "city" => "CASSAGNES BEGONHES"
  ]
  -deliveryAddress: [
    "address" => "CHEMIN DE LARIES"
    "addressCompl" => null
    "zipCode" => "12120"
    "city" => "CASSAGNES BEGONHES"
  ]
  -shippingNumber: null
  -invoice: null
  -invoiceNumber: null
  -invoiceDate: null
  -cotisation: App\Entity\Cotisation {#1160 …}
  -paymentType: Proxies\__CG__\App\Entity\PaymentType {#1178 …}
  -bankRequest: []
  -bankResponses: Doctrine\ORM\PersistentCollection {#1162 …}
  -user: null
  #createdAt: DateTime @1730311509 {#1045
    date: 2024-10-30 19:05:09.0 Europe/Paris (+01:00)
  }
  #updatedAt: DateTime @1730311509 {#1047
    date: 2024-10-30 19:05:09.0 Europe/Paris (+01:00)
  }
}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, deflate"
from
"gptbot(at)openai.com"
host
"extranet.ffcb.fr"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
x-openai-host-hash
"162073775"
x-php-ob-level
"1"

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
"Thu, 31 Oct 2024 09:24:08 GMT"
x-debug-exception
"The%20file%20%22%2Fvar%2Fwww%2Fhtml%2Fsymfony%2Fpublic%2Fexports%2Ffacture__31102024_1024.pdf%22%20does%20not%20exist"
x-debug-exception-file
"%2Fvar%2Fwww%2Fhtml%2Fsymfony%2Fvendor%2Fsymfony%2Fhttp-foundation%2FFile%2FFile.php:36"
x-debug-token
"066f3e"
x-debug-token-link
"https://extranet.ffcb.fr/_profiler/165ccf"
x-previous-debug-token
"165ccf"
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
"b3c1769cb7a14f37ad7ff8e4ef0248cb"
BNP_BLOWFISH_PASSWORD
"6y(Y]Bk8D4=pgM9)"
BNP_HMAC_PASSWORD
"4Ze*o_B5Sd2[=6JrTq7)w]P83Hb!j(R9"
BNP_MERCHANT_ID
"BNP_FFCB_ECOM"
DATABASE_URL
"mysql://ffcbovrintranet:Krhb8lVYbg6AQj@127.0.0.1:3306/ffcbovrintranet?serverVersion=10.5.16-MariaDB"
MAILER_DSN
"smtp://extranet@ffcb.fr:MailsdepuisleserveurOVH2023@smtp.office365.com:587"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/html/symfony/public/"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/html/symfony/public/"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/home/ffcb-run"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, deflate"
HTTP_FROM
"gptbot(at)openai.com"
HTTP_HOST
"extranet.ffcb.fr"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
HTTP_X_OPENAI_HOST_HASH
"162073775"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"extranet.ffcb.fr"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"ZyNMt6nSrgeNw_SxLqkVTwAAAFc"
REDIRECT_URL
"/my-space/orders/993/download-invoice"
REMOTE_ADDR
"20.171.206.208"
REMOTE_PORT
"55331"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1730366647
REQUEST_TIME_FLOAT
1730366647.2839
REQUEST_URI
"/my-space/orders/993/download-invoice"
SCRIPT_FILENAME
"/var/www/html/symfony/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"79.137.33.239"
SERVER_ADMIN
"equipe_systeme@atoutlibre.fr"
SERVER_NAME
"extranet.ffcb.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.53 (Rocky Linux) OpenSSL/3.0.1"
SSL_TLS_SNI
"extranet.ffcb.fr"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,MAILER_DSN,BNP_MERCHANT_ID,BNP_BLOWFISH_PASSWORD,BNP_HMAC_PASSWORD"
UNIQUE_ID
"ZyNMt6nSrgeNw_SxLqkVTwAAAFc"
USER
"ffcb-run"
proxy-nokeepalive
"1"

Sub Requests 1

ErrorController (token = 165ccf)

Key Value
_controller
"error_controller"
_stopwatch_token
"464b88"
exception
Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException {#2130
  #message: "The file "/var/www/html/symfony/public/exports/facture__31102024_1024.pdf" does not exist"
  #code: 0
  #file: "/var/www/html/symfony/vendor/symfony/http-foundation/File/File.php"
  #line: 36
  trace: {
    /var/www/html/symfony/vendor/symfony/http-foundation/File/File.php:36 {
      Symfony\Component\HttpFoundation\File\File->__construct(string $path, bool $checkPath = true) …
      › if ($checkPath && !is_file($path)) {    throw new FileNotFoundException($path);}
    }
    /var/www/html/symfony/vendor/symfony/http-foundation/BinaryFileResponse.php:94 {
      Symfony\Component\HttpFoundation\BinaryFileResponse->setFile($file, string $contentDisposition = null, bool $autoEtag = false, bool $autoLastModified = true) …
      › } else {    $file = new File((string) $file);}
    }
    /var/www/html/symfony/vendor/symfony/http-foundation/BinaryFileResponse.php:52 {
      Symfony\Component\HttpFoundation\BinaryFileResponse->__construct($file, int $status = 200, array $headers = [], bool $public = true, string $contentDisposition = null, bool $autoEtag = false, bool $autoLastModified = true) …
      › 
      › $this->setFile($file, $contentDisposition, $autoEtag, $autoLastModified);}
    /var/www/html/symfony/vendor/symfony/framework-bundle/Controller/AbstractController.php:198 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->file($file, string $fileName = null, string $disposition = ResponseHeaderBag::DISPOSITION_ATTACHMENT): BinaryFileResponse …
      › {    $response = new BinaryFileResponse($file);    $response->setContentDisposition($disposition, null === $fileName ? $response->getFile()->getFilename() : $fileName);
    }
    /var/www/html/symfony/src/Controller/Frontend/MySpaceController.php:251 {
      App\Controller\Frontend\MySpaceController->downloadInvoice(Order $order, OrderPdfExport $orderPdfExport): Response …
      › 
      ›     return $this->file($pdfPath, basename($pdfPath));}
    }
    /var/www/html/symfony/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);}
    /var/www/html/symfony/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/html/symfony/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/html/symfony/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/symfony/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/html/symfony/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/html/symfony/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#492 …8}