PDOException Object
(
    [message:protected] => SQLSTATE[08006] [7] интервал ожидания закончился
    [string:private] => 
    [code:protected] => 7
    [file:protected] => /var/www/site/app/lib/DB.php
    [line:protected] => 95
    [trace:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/site/app/lib/DB.php
                    [line] => 95
                    [function] => __construct
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => pgsql:dbname=site;host=pgdb2;port=5432
                            [1] => site
                            [2] => ghju765
                        )

                )

            [1] => Array
                (
                    [file] => /var/www/site/app/lib/DB.php
                    [line] => 132
                    [function] => connect
                    [class] => DB
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [2] => Array
                (
                    [file] => /var/www/site/app/lib/DB.php
                    [line] => 213
                    [function] => q
                    [class] => DB
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT * FROM
             (SELECT * FROM page WHERE strpos(:url_path,url_path) = 1
              AND page_func_id <> 'page'
              UNION
              SELECT * FROM page WHERE strpos(:url_path,url_path) = 1
              AND page_func_id = 'page') AS FF
              ORDER BY length(url_path) DESC LIMIT 1
                            [1] => Array
                                (
                                    [url_path] => /
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /var/www/site/app/lib/DB.php
                    [line] => 68
                    [function] => fetch
                    [class] => DB
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT * FROM
             (SELECT * FROM page WHERE strpos(:url_path,url_path) = 1
              AND page_func_id <> 'page'
              UNION
              SELECT * FROM page WHERE strpos(:url_path,url_path) = 1
              AND page_func_id = 'page') AS FF
              ORDER BY length(url_path) DESC LIMIT 1
                            [1] => Array
                                (
                                    [url_path] => /
                                )

                            [2] => one
                            [3] => 0
                        )

                )

            [4] => Array
                (
                    [file] => /var/www/site/app/lib/Model.php
                    [line] => 41
                    [function] => queryFetch
                    [class] => DB
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT * FROM
             (SELECT * FROM page WHERE strpos(:url_path,url_path) = 1
              AND page_func_id <> 'page'
              UNION
              SELECT * FROM page WHERE strpos(:url_path,url_path) = 1
              AND page_func_id = 'page') AS FF
              ORDER BY length(url_path) DESC LIMIT 1
                            [1] => Array
                                (
                                    [url_path] => /
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /var/www/site/app/lib/ComponentTW.php
                    [line] => 35
                    [function] => getPageData
                    [class] => Model
                    [type] => ->
                    [args] => Array
                        (
                            [0] => /
                        )

                )

            [6] => Array
                (
                    [file] => /var/www/site/app/lib/Factory.php
                    [line] => 110
                    [function] => __construct
                    [class] => ComponentTW
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Page
                            [1] => Page
                        )

                )

            [7] => Array
                (
                    [file] => /var/www/site/app/layouts/public/Index.php
                    [line] => 9
                    [function] => startComponent
                    [class] => Factory
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Page
                            [1] => Page
                            [2] => goPageData
                            [3] => Array
                                (
                                    [url_path] => /
                                )

                        )

                )

            [8] => Array
                (
                    [file] => /var/www/site/app/lib/Factory.php
                    [line] => 85
                    [function] => __construct
                    [class] => Index
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [9] => Array
                (
                    [file] => /var/www/site/www/go/go.php
                    [line] => 3
                    [function] => startLayout
                    [class] => Factory
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Index
                        )

                )

        )

    [errorInfo] => 
)