Array
(
    [0] => Array
        (
            [time] => 0.028943
            [msg] => Erreur lors de l'execution d'une requête
FICHIER : 
LIGNE : 0
Requète fautive : SELECT DISTINCT lc2.logement_id FROM logement_critere lc2
INNER JOIN logement l ON l.id=lc2.logement_id 
WHERE lc2.critere_id IN (
	SELECT group_concat(lc.critere_id) FROM logement_critere lc 
	INNER JOIN critere c ON c.id = lc.critere_id 
	WHERE lc.logement_id = 87 AND c.parent_id = 0) 
AND lc2.logement_id <> 87 
AND l.active=1 
AND l.indisponible = 0 
AND l.dimension_id= 
ORDER BY RAND() LIMIT 0,4
Erreur retounée : 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 'ORDER BY RAND() LIMIT 0,4' at line 11
        )

    [1] => Array
        (
            [time] => 0.02857
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 737
REQUÈTE : SELECT FOUND_ROWS()
        )

    [2] => Array
        (
            [time] => 0.028382
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 736
REQUÈTE : SELECT SQL_CALC_FOUND_ROWS * FROM param HAVING 1=1  AND `context`='site' AND `name`='template' LIMIT 0,1
        )

    [3] => Array
        (
            [time] => 0.028124
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 737
REQUÈTE : SELECT FOUND_ROWS()
        )

    [4] => Array
        (
            [time] => 0.027932
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 736
REQUÈTE : SELECT SQL_CALC_FOUND_ROWS * FROM page HAVING 1=1  AND `id`='0' LIMIT 0,1
        )

    [5] => Array
        (
            [time] => 0.027219
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 319
REQUÈTE : SHOW FIELDS FROM `page`
        )

    [6] => Array
        (
            [time] => 0.02623
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 317
REQUÈTE : SHOW TABLES LIKE 'page'
        )

    [7] => Array
        (
            [time] => 0.025597
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 737
REQUÈTE : SELECT FOUND_ROWS()
        )

    [8] => Array
        (
            [time] => 0.025397
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 736
REQUÈTE : SELECT SQL_CALC_FOUND_ROWS * FROM langue HAVING 1=1  AND `default`='1' LIMIT 0,1
        )

    [9] => Array
        (
            [time] => 0.024887
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 319
REQUÈTE : SHOW FIELDS FROM `langue`
        )

    [10] => Array
        (
            [time] => 0.023915
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 317
REQUÈTE : SHOW TABLES LIKE 'langue'
        )

    [11] => Array
        (
            [time] => 0.023328
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 737
REQUÈTE : SELECT FOUND_ROWS()
        )

    [12] => Array
        (
            [time] => 0.023137
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 736
REQUÈTE : SELECT SQL_CALC_FOUND_ROWS * FROM page HAVING 1=1  AND `id`='0' LIMIT 0,1
        )

    [13] => Array
        (
            [time] => 0.022407
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 319
REQUÈTE : SHOW FIELDS FROM `page`
        )

    [14] => Array
        (
            [time] => 0.021327
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 317
REQUÈTE : SHOW TABLES LIKE 'page'
        )

    [15] => Array
        (
            [time] => 0.020766
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 737
REQUÈTE : SELECT FOUND_ROWS()
        )

    [16] => Array
        (
            [time] => 0.020577
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 736
REQUÈTE : SELECT SQL_CALC_FOUND_ROWS * FROM langue HAVING 1=1  AND `default`='1' LIMIT 0,1
        )

    [17] => Array
        (
            [time] => 0.020052
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 319
REQUÈTE : SHOW FIELDS FROM `langue`
        )

    [18] => Array
        (
            [time] => 0.019133
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 317
REQUÈTE : SHOW TABLES LIKE 'langue'
        )

    [19] => Array
        (
            [time] => 0.018294
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 737
REQUÈTE : SELECT FOUND_ROWS()
        )

    [20] => Array
        (
            [time] => 0.018058
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 736
REQUÈTE : SELECT SQL_CALC_FOUND_ROWS * FROM attr HAVING 1=1  AND `class`='page' AND `item_id`='87'
        )

    [21] => Array
        (
            [time] => 0.016221
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 319
REQUÈTE : SHOW FIELDS FROM `attr`
        )

    [22] => Array
        (
            [time] => 0.015337
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 317
REQUÈTE : SHOW TABLES LIKE 'attr'
        )

    [23] => Array
        (
            [time] => 0.01471
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 737
REQUÈTE : SELECT FOUND_ROWS()
        )

    [24] => Array
        (
            [time] => 0.014522
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 736
REQUÈTE : SELECT SQL_CALC_FOUND_ROWS * FROM page HAVING 1=1  AND `url_fr`='logement' AND `active`='1' AND `parent_id`='0' LIMIT 0,1
        )

    [25] => Array
        (
            [time] => 0.013667
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 319
REQUÈTE : SHOW FIELDS FROM `page`
        )

    [26] => Array
        (
            [time] => 0.012691
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 317
REQUÈTE : SHOW TABLES LIKE 'page'
        )

    [27] => Array
        (
            [time] => 0.012134
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 737
REQUÈTE : SELECT FOUND_ROWS()
        )

    [28] => Array
        (
            [time] => 0.011941
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 736
REQUÈTE : SELECT SQL_CALC_FOUND_ROWS * FROM langue HAVING 1=1  AND `default`='1' LIMIT 0,1
        )

    [29] => Array
        (
            [time] => 0.011428
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 319
REQUÈTE : SHOW FIELDS FROM `langue`
        )

    [30] => Array
        (
            [time] => 0.010538
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 317
REQUÈTE : SHOW TABLES LIKE 'langue'
        )

    [31] => Array
        (
            [time] => 0.009909
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 737
REQUÈTE : SELECT FOUND_ROWS()
        )

    [32] => Array
        (
            [time] => 0.009664
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 736
REQUÈTE : SELECT SQL_CALC_FOUND_ROWS * FROM langue HAVING 1=1  AND `default`='1' LIMIT 0,1
        )

    [33] => Array
        (
            [time] => 0.009112
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 319
REQUÈTE : SHOW FIELDS FROM `langue`
        )

    [34] => Array
        (
            [time] => 0.00821
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 317
REQUÈTE : SHOW TABLES LIKE 'langue'
        )

    [35] => Array
        (
            [time] => 0.007305
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 737
REQUÈTE : SELECT FOUND_ROWS()
        )

    [36] => Array
        (
            [time] => 0.007094
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 736
REQUÈTE : SELECT SQL_CALC_FOUND_ROWS * FROM param HAVING 1=1  AND `context`='site' AND `name`='cache' LIMIT 0,1
        )

    [37] => Array
        (
            [time] => 0.006479
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 319
REQUÈTE : SHOW FIELDS FROM `param`
        )

    [38] => Array
        (
            [time] => 0.005132
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 317
REQUÈTE : SHOW TABLES LIKE 'param'
        )

)