Erreur {#2801
#message: """
Erreur SQL: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 'AND `cha_lng_id` = 1\n
ORDER BY `cha_id' at line 2
"""
#code: 0
#file: "/home/htdev/dev/includes/classes/Mysql.class.php"
#line: 97
trace: {
/home/htdev/dev/includes/classes/Mysql.class.php:97 {
›
› if (!$Ressource and $this->Debogue) throw new Erreur ('Erreur SQL:' . mysql_error());
›
}
/home/htdev/dev/includes/classes/Chapitre.class.php:256 {
› WHERE `cha_publi` = 1 AND `cha_ordre` = ' . $ordre . ' AND `cha_lng_id` = ' . (int)$idLang . '
› ORDER BY `cha_id` LIMIT 1');
›
arguments: {
$Requete: """
SELECT * FROM `hck_chapitres`\n
WHERE `cha_publi` = 1 AND `cha_ordre` = AND `cha_lng_id` = 1\n
ORDER BY `cha_id` LIMIT 1
"""
}
}
/home/htdev/dev/src/Manager/LectureManager.php:167 {
› $chapter = new \Chapitre($this->mysql);
› $chapter->getByOrdre($order, $id);
›
arguments: {
$ordre: ""
$idLang: "1"
}
}
/home/htdev/dev/src/Controller/lecture.php:31 {
› if (isset($_GET['chapter'])) {
› $unlockecChapterId = $lectureManager->getChapterByOrder($_GET['chapter']);
› $unlockecChapterOrder = $_GET['chapter'];
arguments: {
$order: ""
}
}
/home/htdev/dev/index.php:188 {
› if (isset($_GET['lecture'])) {
› include_once __DIR__ . '/src/Controller/lecture.php';
› exit;
arguments: {
"/home/htdev/dev/src/Controller/lecture.php"
}
}
}
}