Erreur : 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 pct.criteres_id=c.criteres_id' at line 1 - SELECT c.criteres_XML,pct.criteres_value from products_criteres_text pct, criteres c where pct.products_id= and pct.criteres_id=c.criteres_id - 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 'and pct.criteres_id=c.criteres_id' at line 1
Array
(
    [0] => Array
        (
            [file] => /var/www/avis-immobilier/cgibin/connect_db.php
            [line] => 47
            [function] => tep_db_error
            [args] => Array
                (
                    [0] => SELECT c.criteres_XML,pct.criteres_value from products_criteres_text pct, criteres c where pct.products_id= and pct.criteres_id=c.criteres_id
                    [1] => 1064
                    [2] => 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 pct.criteres_id=c.criteres_id' at line 1
                )

        )

    [1] => Array
        (
            [file] => /var/www/avis-immobilier/class/class.Bien.php
            [line] => 285
            [function] => tep_db_query
            [args] => Array
                (
                    [0] => SELECT c.criteres_XML,pct.criteres_value from products_criteres_text pct, criteres c where pct.products_id= and pct.criteres_id=c.criteres_id
                    [1] => avis
                )

        )

    [2] => Array
        (
            [file] => /var/www/avis-immobilier/class/class.Bien.php
            [line] => 85
            [function] => setCaracteristiques
            [class] => Bien
            [object] => Bien Object
                (
                    [id] => 
                    [type] => Maison
                    [status] => 
                    [transaction] => 
                    [nom] => 
                    [products_name] => 
                    [manufacturers_id] => 
                    [manufacturers_name] => 
                    [description] => 
                    [localite] => 
                    [customers_id] => 
                    [photos] => 
                    [dpe] => http://dpe.immo-facile.com/catalog/image_dpe.php?products_id=
                    [num_mandat] => 
                    [products_model] => 
                    [prix] => 
                    [prix_net_vendeur] => 0
                    [real_prix_net_vendeur] => 
                    [charge] => 
                    [honoraires] => 
                    [caracteristiques] => Array
                        (
                            [surface] => 
                            [pieces] => 
                            [chambres] => 
                            [surface_terrain] => 
                            [annee] => 
                            [SDB] => 
                            [SDE] => 
                            [WC] => 
                        )

                    [picto] => 
                    [exclu] => 
                    [premium] => 
                    [gps] => 
                    [adresse] => 
                    [loyer_ht] => 0
                    [charges] => 0
                    [parent_id] => 0
                    [quartier] => 
                    [prix_m_carre] => 
                    [products_status_price] => 
                    [reference] => 
                    [cpath] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => 
                )

        )

    [3] => Array
        (
            [file] => /var/www/avis-immobilier/cgibin/popups/popup_deja_present.php
            [line] => 55
            [function] => Bien
            [class] => Bien
            [object] => Bien Object
                (
                    [id] => 
                    [type] => Maison
                    [status] => 
                    [transaction] => 
                    [nom] => 
                    [products_name] => 
                    [manufacturers_id] => 
                    [manufacturers_name] => 
                    [description] => 
                    [localite] => 
                    [customers_id] => 
                    [photos] => 
                    [dpe] => http://dpe.immo-facile.com/catalog/image_dpe.php?products_id=
                    [num_mandat] => 
                    [products_model] => 
                    [prix] => 
                    [prix_net_vendeur] => 0
                    [real_prix_net_vendeur] => 
                    [charge] => 
                    [honoraires] => 
                    [caracteristiques] => Array
                        (
                            [surface] => 
                            [pieces] => 
                            [chambres] => 
                            [surface_terrain] => 
                            [annee] => 
                            [SDB] => 
                            [SDE] => 
                            [WC] => 
                        )

                    [picto] => 
                    [exclu] => 
                    [premium] => 
                    [gps] => 
                    [adresse] => 
                    [loyer_ht] => 0
                    [charges] => 0
                    [parent_id] => 0
                    [quartier] => 
                    [prix_m_carre] => 
                    [products_status_price] => 
                    [reference] => 
                    [cpath] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => 
                )

        )

)
Une erreur bloquante s'est produite. 
Si le problème persiste, merci de nous contacter au EDITEUR_TEL