https://api.abidjan.net/views-counter/delice-de-spaguetti-4-8

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"
_remove_csp_headers
true
_route
"views-counter"
_route_params
[
  "slug" => "delice-de-spaguetti-4-8"
]
_stopwatch_token
"eae6bc"
slug
"delice-de-spaguetti-4-8"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, zstd, deflate"
authorization
""
connection
"close"
host
"api.abidjan.net"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
x-accel-internal
"/internal-nginx-static-location"
x-php-ob-level
"1"
x-real-ip
"3.146.206.246"

Request Content

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

Response

Response Headers

Header Value
cache-control
"private, must-revalidate"
content-type
"text/html; charset=UTF-8"
date
"Sat, 23 Nov 2024 17:44:49 GMT"
expires
"-1"
pragma
"no-cache"
referrer-policy
"no-referrer, strict-origin-when-cross-origin"
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
"efa927"
x-debug-token-link
"https://api.abidjan.net/_profiler/6baf5f"
x-frame-options
"DENY"
x-previous-debug-token
"6baf5f"
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
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_AUTHORIZATION
""
HTTP_CONNECTION
"close"
HTTP_HOST
"api.abidjan.net"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_REAL_IP
"3.146.206.246"
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
""
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/delice-de-spaguetti-4-8"
REDIRECT_SCRIPT_URL
"/views-counter/delice-de-spaguetti-4-8"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"Z0IUkTVBXXYGqEMkJqMH@AAAAJQ"
REDIRECT_URL
"/views-counter/delice-de-spaguetti-4-8"
REMOTE_ADDR
"3.146.206.246"
REMOTE_PORT
"45482"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1732383889
REQUEST_TIME_FLOAT
1732383889.1095
REQUEST_URI
"/views-counter/delice-de-spaguetti-4-8"
SCRIPT_FILENAME
"/var/www/vhosts/api.abidjan.net/httpdocs/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://api.abidjan.net/views-counter/delice-de-spaguetti-4-8"
SCRIPT_URL
"/views-counter/delice-de-spaguetti-4-8"
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
"Z0IUkTVBXXYGqEMkJqMH@AAAAJQ"
USER
"apiabnet"
proxy-nokeepalive
"1"

Sub Requests 1

ErrorController (token = 6baf5f)

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