Array
(
    [0] => Array
        (
            [time] => 0.031586
            [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.031221
            [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.031031
            [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.030765
            [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.030559
            [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.02979
            [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.028818
            [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.028261
            [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.028069
            [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.027578
            [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.026511
            [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.025946
            [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.025753
            [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.02503
            [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.024045
            [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.023485
            [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.023292
            [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.022772
            [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.021772
            [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.020932
            [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.020702
            [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.018492
            [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.01758
            [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.016955
            [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.016765
            [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.01599
            [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.015017
            [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.014395
            [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.01418
            [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.013664
            [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.012775
            [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.012185
            [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.011984
            [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.011439
            [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.010497
            [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.009519
            [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.0093
            [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.008629
            [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.00734
            [msg] => Requète SQL exécuté
FICHIER : /gestionsthrace/gestionsthrace.com/core/class.record.php
LIGNE : 317
REQUÈTE : SHOW TABLES LIKE 'param'
        )

)