http://git.chio-chio.ru:32768/

MainController :: index

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\MainController::index"
_remove_csp_headers
true
_route
"main"
_route_params
[]

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip"
connection
"close"
content-length
""
content-type
""
host
"git.chio-chio.ru:32768"
user-agent
"Mozilla/5.0 (compatible; InternetMeasurement/1.0; +https://internet-measurement.com/)"
x-php-ob-level
"0"

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 02:52:47 GMT"
x-debug-exception
"Notice%3A%20Undefined%20offset%3A%200"
x-debug-exception-file
"%2Fvar%2Fwww%2Fsrc%2FService%2FSites.php:138"
x-debug-token
"3d4cb0"
x-debug-token-link
"http://git.chio-chio.ru:32768/_profiler/263b3c"
x-previous-debug-token
"263b3c"
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
"c6922290a87c91474d8c14e590ee918a"
DATABASE_URL
"postgresql://postgres:T2I58WQEulWsEvgv@dev-site-cliclishop-ru-db:5432/dbSiteCliCliShop?serverVersion=15&charset=utf8"
JWT_PASSPHRASE
"937f54b511df1e80e7a57ad2fed98af1"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
TLD
"local"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
""
CONTENT_TYPE
""
DOCUMENT_ROOT
"/var/www/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GPG_KEYS
"42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312"
HOME
"/var/www"
HOSTNAME
"a2fd49bb1591"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_CONNECTION
"close"
HTTP_HOST
"git.chio-chio.ru:32768"
HTTP_USER_AGENT
"Mozilla/5.0 (compatible; InternetMeasurement/1.0; +https://internet-measurement.com/)"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHPIZE_DEPS
"autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c"
PHP_ASC_URL
"https://www.php.net/distributions/php-7.4.33.tar.xz.asc"
PHP_CFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_CPPFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_INI_DIR
"/usr/local/etc/php"
PHP_LDFLAGS
"-Wl,-O1 -pie"
PHP_SELF
"/index.php"
PHP_SHA256
"924846abf93bc613815c55dd3f5809377813ac62a9ec4eb3778675b82a27b927"
PHP_URL
"https://www.php.net/distributions/php-7.4.33.tar.xz"
PHP_VERSION
"7.4.33"
PWD
"/var/www"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"185.247.137.10"
REMOTE_PORT
"46963"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1734922367
REQUEST_TIME_FLOAT
1734922367.7242
REQUEST_URI
"/"
SCRIPT_FILENAME
"/var/www/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"172.19.0.18"
SERVER_NAME
"localhost"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.27.0"
SYMFONY_DOTENV_VARS
"APP_ENV,TLD,APP_SECRET,DATABASE_URL,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE"
USER
"www-data"
argc
0
argv
[]

Sub Requests 1

ErrorController (token = 263b3c)

Key Value
_controller
"error_controller"
exception
ErrorException {#690
  #message: "Notice: Undefined offset: 0"
  #code: 0
  #file: "/var/www/src/Service/Sites.php"
  #line: 138
  #severity: E_NOTICE
  trace: {
    /var/www/src/Service/Sites.php:138 {
      App\Service\Sites->showHash($host) …
      › \rreturn $site[0];\r\r
    }
    /var/www/src/Controller/MainController.php:42 {
      App\Controller\MainController->index(Request $request, Sites $sites, Page $page) …
      › $host = $request->getHost();\r$infoSite = $sites->showHash($host);\r$settingsSite = $sites->showSettings($infoSite->getId(), $infoSite->getTheme()->getId());\r
      arguments: {
        $host: "git.chio-chio.ru"
      }
    }
    /var/www/vendor/symfony/http-kernel/HttpKernel.php:157 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#12 …}
        $sites: App\Service\Sites {#449 …}
        $page: App\Service\Page {#523 …}
      }
    }
    /var/www/vendor/symfony/http-kernel/HttpKernel.php:79 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#12 …}
        $type: 1
      }
    }
    /var/www/vendor/symfony/http-kernel/Kernel.php:195 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#12 …}
        $type: 1
        $catch: true
      }
    }
    /var/www/public/index.php:34 {$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#12 …}
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#57 …6}