Types

Notifications 0
Pour bénéficier de nos notifications vous devez d'abord vous connectez.
Si vous n'avez pas de compte vous pouvez créer un compte client.
Rechercher
Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_WARNING)
Undefined array key "etoile" Whoops\Exception\ErrorException thrown with message "Undefined array key "etoile"" Stacktrace: #2 Whoops\Exception\ErrorException in /htdocs/templates/liste.php:53 #1 Whoops\Run:handleError in /htdocs/templates/liste.php:53 #0 require in /htdocs/public/index.php:17
Stack frames (3)
2
Whoops\Exception\ErrorException
/templates/liste.php53
1
Whoops\Run handleError
/templates/liste.php53
0
require
/public/index.php17
/htdocs/templates/liste.php
<body>
 
    <?php require 'include/header.php'; ?>
 
    <main id="main" data-aos="fade-in">
 
 
 
        <!-- ======= About Section ======= -->
        <section id="popular-courses" class="courses mt-1">
                <div class="container">
                    <h2 class="text-dark">Resultats Disponible</h2>
                </div>
            <div class="container" data-aos="fade-up">
                <div class="row" data-aos="zoom-in" data-aos-delay="100">
                  
            <div class="container" style="margin-top: 60px;" data-aos="fade-up">
            <div class="row">
            <?php
                $number=$DB->row("SELECT * FROM etablissement WHERE ville=:ville AND etoile=:etoile",array('ville'=>$params['ville'],'etoile'=>$_SESSION['etoile']));
                if($number > 0): 
                $select=$DB->query("SELECT * FROM etablissement WHERE ville=:ville AND etoile=:etoile ORDER BY nom ASC",array('ville'=>$params['ville'],'etoile'=>$_SESSION['etoile']));
                foreach($select as $selects):
            ?>
             <div class="card col-lg-3 col-md-3  col-sm-6 col-6">
  <a href="<?= $router->generate('detail',['id'=>$selects->id_etablissement]) ?>">
  <img class="card-img-top" src="<?= $selects->photo_url ?>" alt="Card image cap">
  </a>
  <div class="card-body">
    <h5 class="card-title text-dark text-truncate" title="<?= $selects->nom ?>"><?= $selects->nom ?></h5>
    <p class="card-text text-truncate text-dark"><?= $selects->descriptions ?></p>
    <a href="<?= $router->generate('detail',['id'=>$selects->id_etablissement]) ?>" class="btn btn-success"><i class="bx bx-show"></i> Voir les détails</a>
  </div>
</div>
  <?php endforeach ?>
  <?php endif ?>
</div>
 
                    <?php     if($number == 0):  ?>
 
/htdocs/templates/liste.php
<body>
 
    <?php require 'include/header.php'; ?>
 
    <main id="main" data-aos="fade-in">
 
 
 
        <!-- ======= About Section ======= -->
        <section id="popular-courses" class="courses mt-1">
                <div class="container">
                    <h2 class="text-dark">Resultats Disponible</h2>
                </div>
            <div class="container" data-aos="fade-up">
                <div class="row" data-aos="zoom-in" data-aos-delay="100">
                  
            <div class="container" style="margin-top: 60px;" data-aos="fade-up">
            <div class="row">
            <?php
                $number=$DB->row("SELECT * FROM etablissement WHERE ville=:ville AND etoile=:etoile",array('ville'=>$params['ville'],'etoile'=>$_SESSION['etoile']));
                if($number > 0): 
                $select=$DB->query("SELECT * FROM etablissement WHERE ville=:ville AND etoile=:etoile ORDER BY nom ASC",array('ville'=>$params['ville'],'etoile'=>$_SESSION['etoile']));
                foreach($select as $selects):
            ?>
             <div class="card col-lg-3 col-md-3  col-sm-6 col-6">
  <a href="<?= $router->generate('detail',['id'=>$selects->id_etablissement]) ?>">
  <img class="card-img-top" src="<?= $selects->photo_url ?>" alt="Card image cap">
  </a>
  <div class="card-body">
    <h5 class="card-title text-dark text-truncate" title="<?= $selects->nom ?>"><?= $selects->nom ?></h5>
    <p class="card-text text-truncate text-dark"><?= $selects->descriptions ?></p>
    <a href="<?= $router->generate('detail',['id'=>$selects->id_etablissement]) ?>" class="btn btn-success"><i class="bx bx-show"></i> Voir les détails</a>
  </div>
</div>
  <?php endforeach ?>
  <?php endif ?>
</div>
 
                    <?php     if($number == 0):  ?>
 
/htdocs/public/index.php
<?php 
require dirname(__DIR__).'/vendor/autoload.php';
$whoops= new \Whoops\Run;
$whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
$whoops->register();
$uri = $_SERVER['REQUEST_URI'];
$router = new AltoRouter();
require dirname(__DIR__).'/config/routes.php';
// match des routes
$match = $router->match();
if(is_array($match)){
    if(is_callable($match['target']))
    {
    call_user_func_array($match['target'],$match['params']);
    }else{
        $params=$match['params'];
        require "../templates/{$match['target']}.php";
    }   
}else
// page 404 a affichers
{
    require '../templates/404.php';
}
 
 
 
 

Environment & details:

empty
empty
empty
Key Value
fikker-TwKq-jUtu HMpCJGMNPNtu0qVkKQHSleP9vYHoJUjg
handl_original_ref https://fireengineeringtraining.com/courses/fdic-insights-becoming-a-fire-investigator/page/21
handl_url_base https://fireengineeringtraining.com/courses/fdic-insights-becoming-a-fire-investigator/
organic_source https://fireengineeringtraining.com/courses/fdic-insights-becoming-a-fire-investigator/page/21
HandLtestDomainNameServer HandLtestDomainValueServer
user_agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
handl_ref https://fireengineeringtraining.com/courses/fdic-insights-becoming-a-fire-investigator/page/21
handl_url https://fireengineeringtraining.com/courses/fdic-insights-becoming-a-fire-investigator/
organic_source_str Internal
handl_ip 18.118.162.201
handl_landing_page https://fireengineeringtraining.com/courses/fdic-insights-becoming-a-fire-investigator/page/21
empty
Key Value
lwscache On
lwsapitoken a96b0d59de9d75c3b1ebb962fbcec2ba
SCRIPT_NAME /public/index.php
REQUEST_URI /liste-1
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /public/liste-1
REMOTE_PORT 33228
SCRIPT_FILENAME //var/www/camhebergement.com/htdocs/public/index.php
SERVER_ADMIN postmaster@camhebergement.com
CONTEXT_DOCUMENT_ROOT /var/www/camhebergement.com/htdocs
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /var/www/camhebergement.com/htdocs
REMOTE_ADDR 18.118.162.201
SERVER_PORT 80
SERVER_ADDR 127.0.0.1
SERVER_NAME camhebergement.com
SERVER_SOFTWARE Apache/2.4.62 (Debian)
SERVER_SIGNATURE <address>Apache/2.4.62 (Debian) Server at camhebergement.com Port 80</address>
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HTTP_COOKIE fikker-TwKq-jUtu=HMpCJGMNPNtu0qVkKQHSleP9vYHoJUjg; handl_original_ref=https%3A%2F%2Ffireengineeringtraining.com%2Fcourses%2Ffdic-insights-becoming-a-fire-investigator%2Fpage%2F21; handl_url_base=https%3A%2F%2Ffireengineeringtraining.com%2Fcourses%2Ffdic-insights-becoming-a-fire-investigator%2F; organic_source=https%3A%2F%2Ffireengineeringtraining.com%2Fcourses%2Ffdic-insights-becoming-a-fire-investigator%2Fpage%2F21; HandLtestDomainNameServer=HandLtestDomainValueServer; user_agent=Mozilla%2F5.0%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%3B%20compatible%3B%20ClaudeBot%2F1.0%3B%20%2Bclaudebot%40anthropic.com%29; handl_ref=https%3A%2F%2Ffireengineeringtraining.com%2Fcourses%2Ffdic-insights-becoming-a-fire-investigator%2Fpage%2F21; handl_url=https%3A%2F%2Ffireengineeringtraining.com%2Fcourses%2Ffdic-insights-becoming-a-fire-investigator%2F; organic_source_str=Internal; handl_ip=18.118.162.201; handl_landing_page=https%3A%2F%2Ffireengineeringtraining.com%2Fcourses%2Ffdic-insights-becoming-a-fire-investigator%2Fpage%2F21
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_CONNECTION close
HTTP_RANGE bytes=0-2097151
HTTP_X_REQUEST_ID 58df591f46c93db548a02e262abbb6bb
HTTP_X_FORWARDED_PROTO https
HTTP_X_REAL_IP 18.118.162.201
HTTP_HOST camhebergement.com
MD_SH webdb67
MD_SLAVES camhe2071497.webdb67.lwspanel.com
MD_MASTER camhebergement.com
MD_HOST camhebergement.com
SCRIPT_URI http://camhebergement.com/liste-1
SCRIPT_URL /liste-1
HTTPS on
UNIQUE_ID ZuiMeJsqWhyUBaL84Vj9VgAAABY
REDIRECT_STATUS 200
REDIRECT_MD_SH webdb67
REDIRECT_MD_SLAVES camhe2071497.webdb67.lwspanel.com
REDIRECT_MD_MASTER camhebergement.com
REDIRECT_MD_HOST camhebergement.com
REDIRECT_SCRIPT_URI http://camhebergement.com/liste-1
REDIRECT_SCRIPT_URL /liste-1
REDIRECT_HTTPS on
REDIRECT_UNIQUE_ID ZuiMeJsqWhyUBaL84Vj9VgAAABY
REDIRECT_REDIRECT_STATUS 200
REDIRECT_REDIRECT_MD_SH webdb67
REDIRECT_REDIRECT_MD_SLAVES camhe2071497.webdb67.lwspanel.com
REDIRECT_REDIRECT_MD_MASTER camhebergement.com
REDIRECT_REDIRECT_MD_HOST camhebergement.com
REDIRECT_REDIRECT_SCRIPT_URI http://camhebergement.com/liste-1
REDIRECT_REDIRECT_SCRIPT_URL /liste-1
REDIRECT_REDIRECT_HTTPS on
REDIRECT_REDIRECT_UNIQUE_ID ZuiMeJsqWhyUBaL84Vj9VgAAABY
FCGI_ROLE RESPONDER
PHP_SELF /public/index.php
REQUEST_TIME_FLOAT 1726516344.3603
REQUEST_TIME 1726516344
Key Value
lwscache On
lwsapitoken a96b0d59de9d75c3b1ebb962fbcec2ba
SCRIPT_NAME /public/index.php
REQUEST_URI /liste-1
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /public/liste-1
REMOTE_PORT 33228
SCRIPT_FILENAME //var/www/camhebergement.com/htdocs/public/index.php
SERVER_ADMIN postmaster@camhebergement.com
CONTEXT_DOCUMENT_ROOT /var/www/camhebergement.com/htdocs
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /var/www/camhebergement.com/htdocs
REMOTE_ADDR 18.118.162.201
SERVER_PORT 80
SERVER_ADDR 127.0.0.1
SERVER_NAME camhebergement.com
SERVER_SOFTWARE Apache/2.4.62 (Debian)
SERVER_SIGNATURE <address>Apache/2.4.62 (Debian) Server at camhebergement.com Port 80</address>
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HTTP_COOKIE fikker-TwKq-jUtu=HMpCJGMNPNtu0qVkKQHSleP9vYHoJUjg; handl_original_ref=https%3A%2F%2Ffireengineeringtraining.com%2Fcourses%2Ffdic-insights-becoming-a-fire-investigator%2Fpage%2F21; handl_url_base=https%3A%2F%2Ffireengineeringtraining.com%2Fcourses%2Ffdic-insights-becoming-a-fire-investigator%2F; organic_source=https%3A%2F%2Ffireengineeringtraining.com%2Fcourses%2Ffdic-insights-becoming-a-fire-investigator%2Fpage%2F21; HandLtestDomainNameServer=HandLtestDomainValueServer; user_agent=Mozilla%2F5.0%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%3B%20compatible%3B%20ClaudeBot%2F1.0%3B%20%2Bclaudebot%40anthropic.com%29; handl_ref=https%3A%2F%2Ffireengineeringtraining.com%2Fcourses%2Ffdic-insights-becoming-a-fire-investigator%2Fpage%2F21; handl_url=https%3A%2F%2Ffireengineeringtraining.com%2Fcourses%2Ffdic-insights-becoming-a-fire-investigator%2F; organic_source_str=Internal; handl_ip=18.118.162.201; handl_landing_page=https%3A%2F%2Ffireengineeringtraining.com%2Fcourses%2Ffdic-insights-becoming-a-fire-investigator%2Fpage%2F21
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_CONNECTION close
HTTP_RANGE bytes=0-2097151
HTTP_X_REQUEST_ID 58df591f46c93db548a02e262abbb6bb
HTTP_X_FORWARDED_PROTO https
HTTP_X_REAL_IP 18.118.162.201
HTTP_HOST camhebergement.com
MD_SH webdb67
MD_SLAVES camhe2071497.webdb67.lwspanel.com
MD_MASTER camhebergement.com
MD_HOST camhebergement.com
SCRIPT_URI http://camhebergement.com/liste-1
SCRIPT_URL /liste-1
HTTPS on
UNIQUE_ID ZuiMeJsqWhyUBaL84Vj9VgAAABY
REDIRECT_STATUS 200
REDIRECT_MD_SH webdb67
REDIRECT_MD_SLAVES camhe2071497.webdb67.lwspanel.com
REDIRECT_MD_MASTER camhebergement.com
REDIRECT_MD_HOST camhebergement.com
REDIRECT_SCRIPT_URI http://camhebergement.com/liste-1
REDIRECT_SCRIPT_URL /liste-1
REDIRECT_HTTPS on
REDIRECT_UNIQUE_ID ZuiMeJsqWhyUBaL84Vj9VgAAABY
REDIRECT_REDIRECT_STATUS 200
REDIRECT_REDIRECT_MD_SH webdb67
REDIRECT_REDIRECT_MD_SLAVES camhe2071497.webdb67.lwspanel.com
REDIRECT_REDIRECT_MD_MASTER camhebergement.com
REDIRECT_REDIRECT_MD_HOST camhebergement.com
REDIRECT_REDIRECT_SCRIPT_URI http://camhebergement.com/liste-1
REDIRECT_REDIRECT_SCRIPT_URL /liste-1
REDIRECT_REDIRECT_HTTPS on
REDIRECT_REDIRECT_UNIQUE_ID ZuiMeJsqWhyUBaL84Vj9VgAAABY
FCGI_ROLE RESPONDER
PHP_SELF /public/index.php
REQUEST_TIME_FLOAT 1726516344.3603
REQUEST_TIME 1726516344
0. Whoops\Handler\PrettyPageHandler