PWP Landscape Architecture

Share 
Twitter share
PDOException Object
(
    [message:protected] => SQLSTATE[42000]: Syntax error or access violation: 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 (t.active=true))
				LIMIT 0,1' at line 5
    [string:Exception:private] => 
    [code:protected] => 42000
    [file:protected] => /nfs/c09/h06/mnt/131170/domains/pwpla.com/html/classes/databaseinterface.class.php
    [line:protected] => 61
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /nfs/c09/h06/mnt/131170/domains/pwpla.com/html/classes/databaseinterface.class.php
                    [line] => 61
                    [function] => query
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT t.*, u.name AS username, u.firstname AS author_firstname, u.lastname AS author_lastname, u.email AS author_email, a.name AS alias
				FROM published_nodes AS t
				LEFT JOIN users AS u ON u.id = t.author
				LEFT JOIN alias AS a ON a.object_id = t.id
				WHERE ((t.id=) AND (t.active=true))
				LIMIT 0,1
                        )

                )

            [1] => Array
                (
                    [file] => /nfs/c09/h06/mnt/131170/domains/pwpla.com/html/classes/databaseinterface.class.php
                    [line] => 153
                    [function] => query
                    [class] => DatabaseInterface
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT t.*, u.name AS username, u.firstname AS author_firstname, u.lastname AS author_lastname, u.email AS author_email, a.name AS alias
				FROM published_nodes AS t
				LEFT JOIN users AS u ON u.id = t.author
				LEFT JOIN alias AS a ON a.object_id = t.id
				WHERE ((t.id=) AND (t.active=true))
				LIMIT 0,1
                            [1] => 1
                        )

                )

            [2] => Array
                (
                    [file] => /nfs/c09/h06/mnt/131170/domains/pwpla.com/html/sites/pwp/pwp_router.php
                    [line] => 19
                    [function] => fetch
                    [class] => DatabaseInterface
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                            [1] => nodes
                        )

                )

            [3] => Array
                (
                    [file] => /nfs/c09/h06/mnt/131170/domains/pwpla.com/html/sites/pwp/pwp_router.php
                    [line] => 21
                    [function] => getTemplate
                    [args] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [url] => http://www.pwpla.com/
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /nfs/c09/h06/mnt/131170/domains/pwpla.com/html/sites/pwp/pwp_router.php
                    [line] => 41
                    [function] => getTemplate
                    [args] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [id] => 1505
                                    [active] => 1
                                    [type] => project_group
                                    [author] => 1095
                                    [order] => 0
                                    [created] => 1309495347
                                    [lastmod] => 1403108160
                                    [parent] => 0
                                    [name] => Public Projects
                                    [username] => debotton
                                    [author_firstname] => Christian
                                    [author_lastname] => de Botton
                                    [author_email] => debotton@brooklynfoundry.com
                                    [url] => http://www.pwpla.com/projects
                                    [on_panel] => 1
                                    [on_tree] => 0
                                    [simple_mobile] => 1
                                    [webkit_mobile] => 1
                                    [tablet_mobile] => 1
                                    [force_mobile_landing_page] => 0
                                    [expandable] => 1
                                    [augmentable] => 1
                                    [deletable] => 1
                                    [indexable] => 0
                                    [enable_previews] => 1
                                    [private] => 0
                                    [ref_id] => 0
                                    [resize_image] => 0
                                    [resize_thumb] => 0
                                    [host_table] => projects
                                    [reserved_fields] => 4
                                    [image_width] => 0
                                    [image_height] => 0
                                    [fields] => Array
                                        (
                                            [name] => Name
                                        )

                                    [childtypes] => Array
                                        (
                                            [0] => 1100
                                        )

                                    [modules] => Array
                                        (
                                            [0] => clean_url
                                        )

                                    [type_id] => 1099
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /nfs/c09/h06/mnt/131170/domains/pwpla.com/html/sites/pwp/pwp_shell.php
                    [line] => 18
                    [args] => Array
                        (
                            [0] => /nfs/c09/h06/mnt/131170/domains/pwpla.com/html/sites/pwp/pwp_router.php
                        )

                    [function] => require_once
                )

            [6] => Array
                (
                    [file] => /nfs/c09/h06/mnt/131170/domains/pwpla.com/html/routing/agent_detection.php
                    [line] => 92
                    [args] => Array
                        (
                            [0] => /nfs/c09/h06/mnt/131170/domains/pwpla.com/html/sites/pwp/pwp_shell.php
                        )

                    [function] => require_once
                )

            [7] => Array
                (
                    [file] => /nfs/c09/h06/mnt/131170/domains/pwpla.com/html/routing/bootstrap.php
                    [line] => 94
                    [args] => Array
                        (
                            [0] => /nfs/c09/h06/mnt/131170/domains/pwpla.com/html/routing/agent_detection.php
                        )

                    [function] => require_once
                )

            [8] => Array
                (
                    [file] => /nfs/c09/h06/mnt/131170/domains/pwpla.com/html/routing/index.php
                    [line] => 19
                    [args] => Array
                        (
                            [0] => /nfs/c09/h06/mnt/131170/domains/pwpla.com/html/routing/bootstrap.php
                        )

                    [function] => require_once
                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => 42000
            [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 (t.active=true))
				LIMIT 0,1' at line 5
        )

)