https://api.abidjan.net/views-counter/gnamakoudji

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" => "gnamakoudji"
]
_stopwatch_token
"5654bd"
slug
"gnamakoudji"

Request Headers

Header Value
accept
"application/json, text/plain, */*"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7,es;q=0.6,lt;q=0.5"
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
""Google Chrome";v="131", "Chromium";v="131", "Not_A Brand";v="24""
sec-ch-ua-mobile
"?1"
sec-ch-ua-platform
""Android""
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-site"
user-agent
"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36"
x-accel-internal
"/internal-nginx-static-location"
x-php-ob-level
"1"
x-real-ip
"156.0.213.6"

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, 24 Dec 2024 16:10:36 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
"242cd6"
x-debug-token-link
"https://api.abidjan.net/_profiler/0d39f2"
x-frame-options
"DENY"
x-previous-debug-token
"0d39f2"
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-US;q=0.8,en;q=0.7,es;q=0.6,lt;q=0.5"
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
""Google Chrome";v="131", "Chromium";v="131", "Not_A Brand";v="24""
HTTP_SEC_CH_UA_MOBILE
"?1"
HTTP_SEC_CH_UA_PLATFORM
""Android""
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-site"
HTTP_USER_AGENT
"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_REAL_IP
"156.0.213.6"
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/gnamakoudji"
REDIRECT_SCRIPT_URL
"/views-counter/gnamakoudji"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"Z2rc@8wF1nrOLL6RJhPJbAAAAQQ"
REDIRECT_URL
"/views-counter/gnamakoudji"
REMOTE_ADDR
"156.0.213.6"
REMOTE_PORT
"44350"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1735056635
REQUEST_TIME_FLOAT
1735056635.9695
REQUEST_URI
"/views-counter/gnamakoudji"
SCRIPT_FILENAME
"/var/www/vhosts/api.abidjan.net/httpdocs/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://api.abidjan.net/views-counter/gnamakoudji"
SCRIPT_URL
"/views-counter/gnamakoudji"
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
"Z2rc@8wF1nrOLL6RJhPJbAAAAQQ"
USER
"apiabnet"
proxy-nokeepalive
"1"

Sub Requests 1

ErrorController (token = 0d39f2)

Key Value
_controller
"error_controller"
_stopwatch_token
"33529d"
exception
Symfony\Component\ErrorHandler\Error\ClassNotFoundError {#890
  #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}