Appel : +241 74 670 077 Email : contact@e3mg.ga
  • Actualités
  • 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 MariaDB 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 MariaDB server version for the right syntax to use near '-8,8' at line 14" Stacktrace: #3 PDOException in /home/u116700991/domains/test.e3mg.ga/public_html/views/pages/actualite.php:52 #2 PDO:query in /home/u116700991/domains/test.e3mg.ga/public_html/views/pages/actualite.php:52 #1 require_once in /home/u116700991/domains/test.e3mg.ga/public_html/configs/route.php:63 #0 {closure} in /home/u116700991/domains/test.e3mg.ga/public_html/public/index.php:45
    Stack frames (4)
    3
    PDOException
    …/views/pages/actualite.php52
    2
    PDO query
    …/views/pages/actualite.php52
    1
    require_once
    …/configs/route.php63
    0
    {closure}
    …/public/index.php45
    /home/u116700991/domains/test.e3mg.ga/public_html/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();
     
    $formatter = new \IntlDateFormatter(
                'fr_FR', 
                \IntlDateFormatter::LONG, 
                \IntlDateFormatter::NONE,
                'Europe/Paris',
                \IntlDateFormatter::GREGORIAN
            );
    ?>
     
    <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-banniere font-secondary ">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> -->
    /home/u116700991/domains/test.e3mg.ga/public_html/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();
     
    $formatter = new \IntlDateFormatter(
                'fr_FR', 
                \IntlDateFormatter::LONG, 
                \IntlDateFormatter::NONE,
                'Europe/Paris',
                \IntlDateFormatter::GREGORIAN
            );
    ?>
     
    <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-banniere font-secondary ">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> -->
    /home/u116700991/domains/test.e3mg.ga/public_html/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/formation-continue.php";
    },'formation-continue');
    
    $router->map('GET','/lab-genie-procede',function(){
        require_once "../views/pages/lab-genie-procede.php";
    },'lab-genie-procede');
    
    $router->map('GET','/lab-geoscience',function(){
        require_once "../views/pages/lab-geoscience.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/filieres/licence-mines-metallurgie.php";
    },'lmm');
    $router->map('GET','/technicien-maitenaice-des-systemes-et-des-equipements',function(){
        require_once "../views/pages/filieres/licence-maintenance.php";
    },'lmse');
    $router->map('GET','/ingenieur-en-extraction-miniere',function(){
    
    /home/u116700991/domains/test.e3mg.ga/public_html/public/index.php
    } else {
        // En production, log les erreurs sans les afficher
        ini_set('display_errors', 0);
        ini_set('log_errors', 1);
        error_reporting(E_ALL);
        
    }
     
     
    $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
    page 0
    empty
    empty
    empty
    Key Value
    csrf_token ebad866ebdf19472f1aa5175925fe643f0ef66907a78598a6d92f55da491b4c6
    Key Value
    LSPHP_ProcessGroup on
    PATH /usr/local/bin:/bin:/usr/bin
    HTTP_ACCEPT */*
    HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
    HTTP_HOST test.e3mg.ga
    HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
    DOCUMENT_ROOT /home/u116700991/domains/test.e3mg.ga/public_html
    REMOTE_ADDR 216.73.216.20
    REMOTE_PORT 22543
    SERVER_ADDR 195.35.49.170
    SERVER_NAME test.e3mg.ga
    SERVER_ADMIN
    SERVER_PORT 443
    REQUEST_SCHEME https
    REQUEST_URI /actualite?page=0
    REDIRECT_URL /public/actualite
    REDIRECT_QUERY_STRING page=0
    REDIRECT_REQUEST_METHOD GET
    HTTPS on
    CRAWLER_USLEEP 1000
    CRAWLER_LOAD_LIMIT_ENFORCE 25
    H_PLATFORM Hostinger
    H_TYPE shared
    H_CANARY false
    H_STAGING false
    REDIRECT_STATUS 200
    ratelimited_meta_externalagent 1
    UNIQUE_ID DAwV4in7kD7godpa@JPXrDOd
    X_SPDY HTTP2
    SSL_PROTOCOL TLSv1.3
    SSL_CIPHER TLS_AES_256_GCM_SHA384
    SSL_CIPHER_USEKEYSIZE 256
    SSL_CIPHER_ALGKEYSIZE 256
    SCRIPT_FILENAME /home/u116700991/domains/test.e3mg.ga/public_html/public/index.php
    QUERY_STRING page=0
    SCRIPT_URI https://test.e3mg.ga/actualite
    SCRIPT_URL /actualite
    SCRIPT_NAME /public/index.php
    SERVER_PROTOCOL HTTP/1.1
    SERVER_SOFTWARE LiteSpeed
    REQUEST_METHOD GET
    X-LSCACHE on,crawler,esi,combine
    PHP_SELF /public/index.php
    REQUEST_TIME_FLOAT 1769482807.49
    REQUEST_TIME 1769482807
    APP_ENV development
    APP_DEBUG false
    APP_URL
    DB_HOST localhost
    DB_NAME u116700991_e3mg_site
    DB_USER u116700991_e3mg_site
    DB_PASS /*fWo3Zs
    MAIL_HOST smtp.example.com
    MAIL_PORT 587
    MAIL_USERNAME
    MAIL_PASSWORD
    MAIL_FROM_ADDRESS contact@e3mg.ga
    MAIL_FROM_NAME E3MG
    Key Value
    APP_ENV development
    APP_DEBUG false
    APP_URL
    DB_HOST localhost
    DB_NAME u116700991_e3mg_site
    DB_USER u116700991_e3mg_site
    DB_PASS /*fWo3Zs
    MAIL_HOST smtp.example.com
    MAIL_PORT 587
    MAIL_USERNAME
    MAIL_PASSWORD
    MAIL_FROM_ADDRESS contact@e3mg.ga
    MAIL_FROM_NAME E3MG
    0. Whoops\Handler\PrettyPageHandler