Query failed: 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 c.parent_id = 0 ORDER BY c.comment_date DESC' at line 3 SQL: SELECT c.id,c.name,c.content,c.comment_date,c.embed,c.replies as replies FROM comment c WHERE c.published=1 AND c.article_id = and c.parent_id = 0 ORDER BY c.comment_date DESC
Array
(
    [0] => Array
        (
            [file] => /var/www/www.realitatea.net/htdocs/libs/classes/_front.php
            [line] => 1454
            [function] => query
            [class] => MySQL
            [object] => MySQL Object
                (
                    [dbConn] => Resource id #9
                    [connectError] => 
                    [errorMsg] => Query failed: 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 c.parent_id = 0 ORDER BY c.comment_date DESC' at line 3 SQL: SELECT c.id,c.name,c.content,c.comment_date,c.embed,c.replies as replies
								          FROM comment c
								          WHERE c.published=1 AND c.article_id =  and c.parent_id = 0 ORDER BY c.comment_date DESC 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT c.id,c.name,c.content,c.comment_date,c.embed,c.replies as replies
								          FROM comment c
								          WHERE c.published=1 AND c.article_id =  and c.parent_id = 0 ORDER BY c.comment_date DESC 
                )

        )

    [1] => Array
        (
            [file] => /var/www/www.realitatea.net/htdocs/emisiune.php
            [line] => 48
            [function] => _getCommentsByArticle
            [class] => _front
            [object] => _front Object
                (
                    [db] => MySQL Object
                        (
                            [dbConn] => Resource id #9
                            [connectError] => 
                            [errorMsg] => Query failed: 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 c.parent_id = 0 ORDER BY c.comment_date DESC' at line 3 SQL: SELECT c.id,c.name,c.content,c.comment_date,c.embed,c.replies as replies
								          FROM comment c
								          WHERE c.published=1 AND c.article_id =  and c.parent_id = 0 ORDER BY c.comment_date DESC 
                        )

                    [exclude_ids] => Array
                        (
                            [0] => 274747
                        )

                    [novideos] => 
                    [insert_primary_key] => 
                    [table] => 
                    [id] => 
                    [new] => 
                    [debug] => 1
                    [fields] => Array
                        (
                        )

                    [children] => Array
                        (
                        )

                    [last_action] => 
                    [last_query] => 
                )

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

        )

)