https://api.abidjan.net/views-counter/poisson-a-la-maniere-d-ariane

FrontController :: countView

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\FrontController::countView"
_nelmio_cors_should_allow_origin
true
_remove_csp_headers
true
_route
"views-counter"
_route_params
[
  "slug" => "poisson-a-la-maniere-d-ariane"
]
_stopwatch_token
"d2ee21"
slug
"poisson-a-la-maniere-d-ariane"

Request Headers

Header Value
accept
"application/json, text/plain, */*"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
authorization
"Bearer null"
connection
"close"
host
"api.abidjan.net"
origin
"https://cuisine.abidjan.net"
priority
"u=1, i"
referer
"https://cuisine.abidjan.net/"
sec-ch-ua
""Microsoft Edge";v="129", "Not=A?Brand";v="8", "Chromium";v="129""
sec-ch-ua-mobile
"?0"
sec-ch-ua-platform
""Windows""
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-site"
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0"
x-accel-internal
"/internal-nginx-static-location"
x-php-ob-level
"1"
x-real-ip
"185.30.133.97"

Request Content

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

Response

Response Headers

Header Value
access-control-allow-origin
"https://cuisine.abidjan.net"
access-control-expose-headers
"link"
cache-control
"private, must-revalidate"
content-type
"application/json"
date
"Tue, 26 Nov 2024 10:49:10 GMT"
expires
"-1"
pragma
"no-cache"
referrer-policy
"no-referrer, strict-origin-when-cross-origin"
vary
"Accept"
x-content-type-options
"nosniff"
x-debug-exception
"Attempted%20to%20load%20class%20%22Detect%22%20from%20the%20global%20namespace.%0ADid%20you%20forget%20a%20%22use%22%20statement%3F"
x-debug-exception-file
"%2Fvar%2Fwww%2Fvhosts%2Fapi.abidjan.net%2Fhttpdocs%2Fsrc%2FController%2FFrontController.php:39"
x-debug-token
"b19eb7"
x-debug-token-link
"https://api.abidjan.net/_profiler/4a4f32"
x-frame-options
"DENY"
x-previous-debug-token
"4a4f32"
x-robots-tag
"noindex"
x-xss-protection
"1; mode=block"

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
ANNONCE_URL
"https://annonces.abidjan.net"
APP_ENV
"dev"
APP_SECRET
"c2fb9405028e6ea9f1a02e10103a9193"
BASE_URL
"https://cuisine.abidjan.net"
BASE_URL_CUISINE
"https://cuisine.abidjan.net"
CORS_ALLOW_ORIGIN
"^https?://.*?$"
DATABASE_URL
"mysql://wlg_site_annonce:wo7oQ44_0@127.0.0.1:3306/wlg_site_annonce"
DATABASE_URL_UNITEC
"mysql://souattara:myk045Z6_@127.0.0.1:3306/migration_wlg_unitec?serverVersion=8&charset=utf8mb4"
JWT_PASSPHRASE
"e4d9a50ab0edf8d129db056a23252fcb"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
LOGO_URL
"https://annonces.abidjan.net/front/logo-abidjan-net_red.png"
MAILER_DSN
"gmail://abidjan.net@weblogy.com:BMailAbnet2023@localhost?encryption=tls&auth_mode=oauth"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
SENDER_EMAIL
"abidjan.net@weblogy.com"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/api.abidjan.net/httpdocs/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/api.abidjan.net/httpdocs/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/api.abidjan.net"
HTTPS
"on"
HTTP_ACCEPT
"application/json, text/plain, */*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
HTTP_AUTHORIZATION
"Bearer null"
HTTP_CONNECTION
"close"
HTTP_HOST
"api.abidjan.net"
HTTP_ORIGIN
"https://cuisine.abidjan.net"
HTTP_PRIORITY
"u=1, i"
HTTP_REFERER
"https://cuisine.abidjan.net/"
HTTP_SEC_CH_UA
""Microsoft Edge";v="129", "Not=A?Brand";v="8", "Chromium";v="129""
HTTP_SEC_CH_UA_MOBILE
"?0"
HTTP_SEC_CH_UA_PLATFORM
""Windows""
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-site"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_REAL_IP
"185.30.133.97"
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
PERL5LIB
"/usr/share/awstats/lib:/usr/share/awstats/plugins"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
"Bearer null"
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PERL5LIB
"/usr/share/awstats/lib:/usr/share/awstats/plugins"
REDIRECT_SCRIPT_URI
"https://api.abidjan.net/views-counter/poisson-a-la-maniere-d-ariane"
REDIRECT_SCRIPT_URL
"/views-counter/poisson-a-la-maniere-d-ariane"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"Z0WnpeO2g6MYdBc-9h7YyAAAANQ"
REDIRECT_URL
"/views-counter/poisson-a-la-maniere-d-ariane"
REMOTE_ADDR
"185.30.133.97"
REMOTE_PORT
"41188"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1732618149
REQUEST_TIME_FLOAT
1732618149.6959
REQUEST_URI
"/views-counter/poisson-a-la-maniere-d-ariane"
SCRIPT_FILENAME
"/var/www/vhosts/api.abidjan.net/httpdocs/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://api.abidjan.net/views-counter/poisson-a-la-maniere-d-ariane"
SCRIPT_URL
"/views-counter/poisson-a-la-maniere-d-ariane"
SERVER_ADDR
"174.36.71.105"
SERVER_ADMIN
"root@localhost"
SERVER_NAME
"api.abidjan.net"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,MESSENGER_TRANSPORT_DSN,DATABASE_URL,DATABASE_URL_UNITEC,MAILER_DSN,SENDER_EMAIL,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,BASE_URL,ANNONCE_URL,BASE_URL_CUISINE,CORS_ALLOW_ORIGIN,LOGO_URL"
UNIQUE_ID
"Z0WnpeO2g6MYdBc-9h7YyAAAANQ"
USER
"apiabnet"
proxy-nokeepalive
"1"

Sub Requests 1

ErrorController (token = 4a4f32)

Key Value
_controller
"error_controller"
_stopwatch_token
"506df3"
exception
Symfony\Component\ErrorHandler\Error\ClassNotFoundError {#885
  #message: """
    Attempted to load class "Detect" from the global namespace.\n
    Did you forget a "use" statement?
    """
  #code: 0
  #file: "/var/www/vhosts/api.abidjan.net/httpdocs/src/Controller/FrontController.php"
  #line: 39
  trace: {
    /var/www/vhosts/api.abidjan.net/httpdocs/src/Controller/FrontController.php:39 {
      App\Controller\FrontController->countView($slug) …
      › 
      › $ip = Detect::ip(); $deviceType = Detect::deviceType(); 
    }
    /var/www/vhosts/api.abidjan.net/httpdocs/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/vhosts/api.abidjan.net/httpdocs/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) {
    }
    /var/www/vhosts/api.abidjan.net/httpdocs/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 {
    }
    /var/www/vhosts/api.abidjan.net/httpdocs/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/vhosts/api.abidjan.net/httpdocs/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/vhosts/api.abidjan.net/httpdocs/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/vhosts/api.abidjan.net/httpdocs/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#165 …9}