https://modixom.fr/api/addAnnonce?p=api%2FaddAnnonce

ApiController :: addAnnonce

Request

GET Parameters

Key Value
p
"api/addAnnonce"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\ApiController::addAnnonce"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"addAnnonce"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"d3fc65"

Request Headers

Header Value
accept-encoding
"gzip,deflate"
connection
"close"
host
"modixom.fr"
user-agent
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot)"
x-accel-internal
"/internal-nginx-static-location"
x-php-ob-level
"1"
x-real-ip
"54.197.102.71"

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
"Tue, 19 Nov 2024 15:22:42 GMT"
expires
-1
pragma
"no-cache"
vary
"Accept"
x-debug-exception
"Notice%3A%20Undefined%20index%3A%20token"
x-debug-exception-file
"%2Fvar%2Fwww%2Fvhosts%2Fmodixom.fr%2Fhttpdocs%2Fsrc%2FController%2FApiController.php:1025"
x-debug-token
"6e3099"
x-debug-token-link
"https://modixom.fr/_profiler/c391fd"
x-previous-debug-token
"c391fd"
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
"c775f89585250b4a5cdf52522d442426"
DATABASE_URL
"mysql://modixom:Modixom2023@127.0.0.1:3306/modixom?serverVersion=8&charset=utf8mb4"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
STRIPE_PUBLIC_KEY
"pk_test_51OuD3FGwTslbSP9QI5n5F8ZdZc9cDXxozWyZznriT2Ax0lOWnIflZ2U9n1igN898u2dMjvzWd2AX8EGfM6rDVdUI00NmShvlqP"
STRIPE_SECRET_KEY
"sk_test_51OuD3FGwTslbSP9Q7fBBkAOs8ouF2U2uxofmuPoX7YiBuF7FIol7MGuCFFX59QjQs04mlLcJkNpw9jctLSfv1C8R002fM4y74R"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/modixom.fr/httpdocs/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/modixom.fr/httpdocs/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/modixom.fr"
HTTPS
"on"
HTTP_ACCEPT_ENCODING
"gzip,deflate"
HTTP_CONNECTION
"close"
HTTP_HOST
"modixom.fr"
HTTP_USER_AGENT
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot)"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_REAL_IP
"54.197.102.71"
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"p=api/addAnnonce&p=api/addAnnonce"
REDIRECT_HTTPS
"on"
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_QUERY_STRING
"p=api/addAnnonce&p=api/addAnnonce"
REDIRECT_SCRIPT_URI
"https://modixom.fr/api/addAnnonce"
REDIRECT_SCRIPT_URL
"/api/addAnnonce"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"ZzytQYxlAebrDTbWZN@BogAAAFU"
REDIRECT_URL
"/api/addAnnonce"
REMOTE_ADDR
"54.197.102.71"
REMOTE_PORT
"47628"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1732029761
REQUEST_TIME_FLOAT
1732029761.6574
REQUEST_URI
"/api/addAnnonce?p=api/addAnnonce"
SCRIPT_FILENAME
"/var/www/vhosts/modixom.fr/httpdocs/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://modixom.fr/api/addAnnonce"
SCRIPT_URL
"/api/addAnnonce"
SERVER_ADDR
"141.94.247.171"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"modixom.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
"<address>Apache Server at modixom.fr Port 443</address>\n"
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,STRIPE_SECRET_KEY,STRIPE_PUBLIC_KEY,DATABASE_URL,MESSENGER_TRANSPORT_DSN"
UNIQUE_ID
"ZzytQYxlAebrDTbWZN@BogAAAFU"
USER
"modixom.fr_m5wjed2i108"
proxy-nokeepalive
"1"

Sub Requests 1

ErrorController (token = c391fd)

Key Value
_controller
"error_controller"
_stopwatch_token
"fd752a"
exception
ErrorException {#1004
  #message: "Notice: Undefined index: token"
  #code: 0
  #file: "/var/www/vhosts/modixom.fr/httpdocs/src/Controller/ApiController.php"
  #line: 1025
  #severity: E_NOTICE
  trace: {
    /var/www/vhosts/modixom.fr/httpdocs/src/Controller/ApiController.php:1025 {
      App\Controller\ApiController->addAnnonce(Request $request, UserRepository $userRepository, ImagesRepository $imagesRepository, VillesRepository $villesRepository, CategoriesRepository $categoriesRepository, AnnoncesRepository $annoncesRepository, NotesEnseignesRepository $notesEnseignesRepository): Response …
      › $credit = 1;$token = $_GET['token'];$data = json_decode(file_get_contents('php://input'), true);
    }
    /var/www/vhosts/modixom.fr/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/modixom.fr/httpdocs/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/vhosts/modixom.fr/httpdocs/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/vhosts/modixom.fr/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/modixom.fr/httpdocs/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/vhosts/modixom.fr/httpdocs/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/vhosts/modixom.fr/httpdocs/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#46 …9}