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 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/hoqkclc/e3mg.ga/views/pages/actualite.php:52 #2 PDO:query in /home/hoqkclc/e3mg.ga/views/pages/actualite.php:52 #1 require_once in /home/hoqkclc/e3mg.ga/configs/route.php:63 #0 {closure} in /home/hoqkclc/e3mg.ga/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.php63
    0
    {closure}
    …/public/index.php25
    /home/hoqkclc/e3mg.ga/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="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/hoqkclc/e3mg.ga/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="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/hoqkclc/e3mg.ga/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/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/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/hoqkclc/e3mg.ga/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
    page 0
    empty
    empty
    empty
    empty
    Key Value
    USER hoqkclc
    SCRIPT_NAME /index.php
    REQUEST_URI /actualite?page=0
    QUERY_STRING page=0
    REQUEST_METHOD GET
    SERVER_PROTOCOL HTTP/1.1
    GATEWAY_INTERFACE CGI/1.1
    REDIRECT_QUERY_STRING page=0
    REDIRECT_URL /actualite
    REMOTE_PORT 27608
    SCRIPT_FILENAME /home/hoqkclc/e3mg.ga/public/index.php
    SERVER_ADMIN postmaster@e3mg.ga
    DOCUMENT_ROOT /home/hoqkclc/e3mg.ga/public
    REMOTE_ADDR 216.73.216.97
    SERVER_PORT 80
    SERVER_ADDR 10.100.20.14
    SERVER_NAME e3mg.ga
    SERVER_SOFTWARE Apache
    SERVER_SIGNATURE
    HTTP_REMOTE_IP 216.73.216.97
    HTTP_X_IPLB_UNIQUE_ID D849D861:82CE_058717A4:0050_6947FCBE_3446B:6C40
    HTTP_FORWARDED for=216.73.216.97; proto=http; host=e3mg.ga
    HTTP_X_REMOTE_PROTO http
    HTTP_X_REMOTE_IP 216.73.216.97
    HTTP_X_REMOTE_PORT 33486
    HTTP_X_FORWARDED_PORT 80
    HTTP_CACHE_CONTROL max-age=0
    HTTP_VIA 1.1 squid-proxy-5b5d847c96-rvsrh (squid/6.13)
    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_X_OVHREQUEST_ID 87325fe8b9fdd60221c1e96c489b50c1
    HTTP_X_FORWARDED_PROTO http
    HTTP_X_FORWARDED_FOR 216.73.216.97
    HTTP_X_PREDICTOR 1
    HTTP_HOST e3mg.ga
    ENVIRONMENT production
    CFG_CLUSTER cluster100
    SCRIPT_URI http://e3mg.ga/actualite
    SCRIPT_URL /actualite
    GEOIP_LONGITUDE -119.070099
    GEOIP_LATITUDE 34.355598
    GEOIP_AREA_CODE 805
    GEOIP_DMA_CODE 803
    GEOIP_CITY Santa Paula
    GEOIP_REGION CA
    GEOIP_COUNTRY_NAME United States
    GEOIP_COUNTRY_CODE US
    UNIQUE_ID aUf8vlesSVR7yYPYvJtgJwAAAGM
    REDIRECT_STATUS 200
    FCGI_ROLE RESPONDER
    PHP_SELF /index.php
    REQUEST_TIME_FLOAT 1766325438.2313
    REQUEST_TIME 1766325438
    argv Array ( [0] => page=0 )
    argc 1
    Key Value
    USER hoqkclc
    SCRIPT_NAME /index.php
    REQUEST_URI /actualite?page=0
    QUERY_STRING page=0
    REQUEST_METHOD GET
    SERVER_PROTOCOL HTTP/1.1
    GATEWAY_INTERFACE CGI/1.1
    REDIRECT_QUERY_STRING page=0
    REDIRECT_URL /actualite
    REMOTE_PORT 27608
    SCRIPT_FILENAME /home/hoqkclc/e3mg.ga/public/index.php
    SERVER_ADMIN postmaster@e3mg.ga
    DOCUMENT_ROOT /home/hoqkclc/e3mg.ga/public
    REMOTE_ADDR 216.73.216.97
    SERVER_PORT 80
    SERVER_ADDR 10.100.20.14
    SERVER_NAME e3mg.ga
    SERVER_SOFTWARE Apache
    SERVER_SIGNATURE
    HTTP_REMOTE_IP 216.73.216.97
    HTTP_X_IPLB_UNIQUE_ID D849D861:82CE_058717A4:0050_6947FCBE_3446B:6C40
    HTTP_FORWARDED for=216.73.216.97; proto=http; host=e3mg.ga
    HTTP_X_REMOTE_PROTO http
    HTTP_X_REMOTE_IP 216.73.216.97
    HTTP_X_REMOTE_PORT 33486
    HTTP_X_FORWARDED_PORT 80
    HTTP_CACHE_CONTROL max-age=0
    HTTP_VIA 1.1 squid-proxy-5b5d847c96-rvsrh (squid/6.13)
    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_X_OVHREQUEST_ID 87325fe8b9fdd60221c1e96c489b50c1
    HTTP_X_FORWARDED_PROTO http
    HTTP_X_FORWARDED_FOR 216.73.216.97
    HTTP_X_PREDICTOR 1
    HTTP_HOST e3mg.ga
    ENVIRONMENT production
    CFG_CLUSTER cluster100
    SCRIPT_URI http://e3mg.ga/actualite
    SCRIPT_URL /actualite
    GEOIP_LONGITUDE -119.070099
    GEOIP_LATITUDE 34.355598
    GEOIP_AREA_CODE 805
    GEOIP_DMA_CODE 803
    GEOIP_CITY Santa Paula
    GEOIP_REGION CA
    GEOIP_COUNTRY_NAME United States
    GEOIP_COUNTRY_CODE US
    UNIQUE_ID aUf8vlesSVR7yYPYvJtgJwAAAGM
    REDIRECT_STATUS 200
    FCGI_ROLE RESPONDER
    PHP_SELF /index.php
    REQUEST_TIME_FLOAT 1766325438.2313
    REQUEST_TIME 1766325438
    argv Array ( [0] => page=0 )
    argc 1
    0. Whoops\Handler\PrettyPageHandler