Array
(
    [0] => Array
        (
            [time] => 0.027746
            [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.027408
            [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.027226
            [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.026972
            [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.026785
            [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.026086
            [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.025134
            [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.024539
            [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.024357
            [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.023862
            [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.023038
            [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.022502
            [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.022318
            [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.021603
            [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.020503
            [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.01995
            [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.019769
            [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.019266
            [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.01844
            [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.017643
            [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.017425
            [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.016797
            [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.015962
            [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.015344
            [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.015161
            [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.014388
            [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.013456
            [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.012799
            [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.012618
            [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.012105
            [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.011281
            [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.010687
            [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.01049
            [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.009966
            [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.009081
            [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.00814
            [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.007937
            [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.007297
            [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.006087
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 317
REQUÈTE : SHOW TABLES LIKE 'param'
        )

)