Appel : +241 74 670 077 Email : contact@e3mg.ga
  • Actualité
  • concours
  • Evénements
  • Connexion
logo
  • Whoops! There was an error.
    PDOException (42000)
    SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-8,8' at line 14
    PDOException thrown with message "SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-8,8' at line 14" Stacktrace: #3 PDOException in /home/e3mg/views/pages/actualite.php:52 #2 PDO:query in /home/e3mg/views/pages/actualite.php:52 #1 require_once in /home/e3mg/configs/route.php:59 #0 {closure} in /home/e3mg/public/index.php:25
    Stack frames (4)
    3
    PDOException
    …/views/pages/actualite.php52
    2
    PDO query
    …/views/pages/actualite.php52
    1
    require_once
    …/configs/route.php59
    0
    {closure}
    …/public/index.php25
    /home/e3mg/views/pages/actualite.php
    article.articleImage
    FROM article
    WHERE brouillon = 1 ORDER BY article.publishDate DESC limit 3
    ";
     
    $sql3 = "SELECT 
    categories.categoriesName,
    COUNT(article.article_id) AS total_articles
    FROM 
    categories
    LEFT JOIN 
    article ON article.category = categories.categories_id
    GROUP BY 
    categories.categories_id, categories.categoriesName
    ORDER BY 
    total_articles DESC;
    ";
    $recents = $db ->query($sql2);
    $categories = $db ->query($sql3);
    $results = $db ->query($sql);
    Database::disconnect(); 
     
    ?>
     
    <section class="page-title-section overlay" data-background="public/images/backgrounds/batiment-e3mg.jpg">
      <div class="container">
        <div class="row">
          <div class="col-md-8">
            <ul class="list-inline custom-breadcrumb">
              <li class="list-inline-item"><a class="h2 text-primary font-secondary" href="@@page-link">Actualités</a></li>
              <li class="list-inline-item text-white h3 font-secondary @@nasted"></li>
            </ul>
            <!-- <p class="text-lighten">Our courses offer a good compromise between the continuous assessment favoured by some universities and the emphasis placed on final exams by others.</p> -->
          </div>
        </div>
      </div>
    </section>
    <!-- /page title -->
     
      <section class="main">
    /home/e3mg/views/pages/actualite.php
    article.articleImage
    FROM article
    WHERE brouillon = 1 ORDER BY article.publishDate DESC limit 3
    ";
     
    $sql3 = "SELECT 
    categories.categoriesName,
    COUNT(article.article_id) AS total_articles
    FROM 
    categories
    LEFT JOIN 
    article ON article.category = categories.categories_id
    GROUP BY 
    categories.categories_id, categories.categoriesName
    ORDER BY 
    total_articles DESC;
    ";
    $recents = $db ->query($sql2);
    $categories = $db ->query($sql3);
    $results = $db ->query($sql);
    Database::disconnect(); 
     
    ?>
     
    <section class="page-title-section overlay" data-background="public/images/backgrounds/batiment-e3mg.jpg">
      <div class="container">
        <div class="row">
          <div class="col-md-8">
            <ul class="list-inline custom-breadcrumb">
              <li class="list-inline-item"><a class="h2 text-primary font-secondary" href="@@page-link">Actualités</a></li>
              <li class="list-inline-item text-white h3 font-secondary @@nasted"></li>
            </ul>
            <!-- <p class="text-lighten">Our courses offer a good compromise between the continuous assessment favoured by some universities and the emphasis placed on final exams by others.</p> -->
          </div>
        </div>
      </div>
    </section>
    <!-- /page title -->
     
      <section class="main">
    /home/e3mg/configs/route.php
    $router->map('GET','/filiere-formation',function(){
        require_once "../views/pages/filiere-formation.php";
    },'filiere-formation');
    
    $router->map('GET','/formation-continue',function(){
        require_once "../views/pages/buld.php";
    },'formation-continue');
    
    $router->map('GET','/lab-genie-procede',function(){
        require_once "../views/pages/buld.php";
    },'lab-genie-procede');
    
    $router->map('GET','/lab-geoscience',function(){
        require_once "../views/pages/buld.php";
    },'lab-geoscience');
    
    
    
    $router->map('GET','/actualite',function(){
        require_once "../views/pages/actualite.php";
    },'actualite');
    $router->map('GET','/index.php?page=[i]',function(){
        require_once "../views/pages/actualite.php";
    },'actualite.actualite');
    
    
    $router->map('GET','/actualite-[i:id]',function($id){
        require_once "../views/pages/articles-single.php";
    },'actualite.single');
    
    $router->map('GET','/ressource',function(){
        require_once "../views/pages/buld.php";
    },'notice');
    $router->map('GET','/technicien-en-mines-et-metallurgie',function(){
        require_once "../views/pages/buld.php";
    },'lmm');
    $router->map('GET','/technicien-maitenaice-des-systemes-et-des-equipements',function(){
        require_once "../views/pages/buld.php";
    },'lmse');
    $router->map('GET','/ingenieur-en-extraction-miniere',function(){
    
    /home/e3mg/public/index.php
     
     
    // Register the Composer autoloader...
    require __DIR__.'/../vendor/autoload.php';
    //Register route
    $whoops = new \Whoops\Run;
    $whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
    $whoops->register();
     
    $router = new AltoRouter();
    require __DIR__.'/../configs/route.php';
     
     
     
    $match = $router->match();
     
    // call closure or throw 404 status
    if(is_array($match)){
        if(is_callable( $match['target'] ) ) {
            call_user_func_array( $match['target'], $match['params'] );
        } else {
            // no route was matched
            // $params = $match['params'];
            // require "../templates/{$match['target']}.php";
            header( $_SERVER["SERVER_PROTOCOL"] . ' 404 Not Found');
        }
    }else{
        include "../views/error/404.view.php";
    }
     

    Environment & details:

    Key Value
    path actualite
    page 0
    empty
    empty
    empty
    empty
    Key Value
    REDIRECT_HTTPS on
    REDIRECT_SSL_TLS_SNI www.e3mg.ga
    REDIRECT_STATUS 200
    HTTPS on
    SSL_TLS_SNI www.e3mg.ga
    SSL_SERVER_S_DN_CN e3mg.ga
    SSL_SERVER_I_DN_C GB
    SSL_SERVER_I_DN_O Sectigo Limited
    SSL_SERVER_I_DN_CN Sectigo Public Server Authentication CA DV R36
    SSL_SERVER_SAN_DNS_0 e3mg.ga
    SSL_SERVER_SAN_DNS_1 www.e3mg.ga
    SSL_VERSION_INTERFACE mod_ssl/2.4.52
    SSL_VERSION_LIBRARY OpenSSL/3.0.2
    SSL_PROTOCOL TLSv1.3
    SSL_SECURE_RENEG true
    SSL_COMPRESS_METHOD NULL
    SSL_CIPHER TLS_AES_256_GCM_SHA384
    SSL_CIPHER_EXPORT false
    SSL_CIPHER_USEKEYSIZE 256
    SSL_CIPHER_ALGKEYSIZE 256
    SSL_CLIENT_VERIFY NONE
    SSL_SERVER_M_VERSION 3
    SSL_SERVER_M_SERIAL 99CC1913A585086E42A1CF779768E7E3
    SSL_SERVER_V_START Jun 16 00:00:00 2025 GMT
    SSL_SERVER_V_END Jun 16 23:59:59 2026 GMT
    SSL_SERVER_S_DN CN=e3mg.ga
    SSL_SERVER_I_DN CN=Sectigo Public Server Authentication CA DV R36,O=Sectigo Limited,C=GB
    SSL_SERVER_A_KEY rsaEncryption
    SSL_SERVER_A_SIG sha384WithRSAEncryption
    SSL_SESSION_ID ce0f90d634526a3efa47edb3eb880810dc78b6cb5d7802e2f0125a9c3b8e76ec
    SSL_SESSION_RESUMED Initial
    HTTP_ACCEPT */*
    HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
    HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
    HTTP_HOST www.e3mg.ga
    PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
    SERVER_SIGNATURE <address>Apache/2.4.52 (Ubuntu) Server at www.e3mg.ga Port 443</address>
    SERVER_SOFTWARE Apache/2.4.52 (Ubuntu)
    SERVER_NAME www.e3mg.ga
    SERVER_ADDR 172.23.1.1
    SERVER_PORT 443
    REMOTE_ADDR 216.73.216.128
    DOCUMENT_ROOT /home/e3mg
    REQUEST_SCHEME https
    CONTEXT_PREFIX
    CONTEXT_DOCUMENT_ROOT /home/e3mg
    SERVER_ADMIN [no address given]
    SCRIPT_FILENAME /home/e3mg/public/index.php
    REMOTE_PORT 62994
    REDIRECT_URL /actualite
    REDIRECT_QUERY_STRING path=actualite&page=0
    GATEWAY_INTERFACE CGI/1.1
    SERVER_PROTOCOL HTTP/1.1
    REQUEST_METHOD GET
    QUERY_STRING path=actualite&page=0
    REQUEST_URI /actualite?page=0
    SCRIPT_NAME /public/index.php
    PHP_SELF /public/index.php
    REQUEST_TIME_FLOAT 1755714923.7017
    REQUEST_TIME 1755714923
    empty
    0. Whoops\Handler\PrettyPageHandler