DEBUG
Zend_Db_Statement_Exception Object
(
    [_chainedException:protected] => PDOException Object
        (
            [message:protected] => SQLSTATE[42000]: Syntax error or access violation: 1064 Something is wrong in your syntax obok '' w linii 1
            [string:private] => 
            [code:protected] => 42000
            [file:protected] => /home/enbapl/public_html/naszursynow/library/Zend/Db/Statement/Pdo.php
            [line:protected] => 231
            [trace:private] => Array
                (
                    [0] => Array
                        (
                            [file] => /home/enbapl/public_html/naszursynow/library/Zend/Db/Statement/Pdo.php
                            [line] => 231
                            [function] => execute
                            [class] => PDOStatement
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                        )

                                )

                        )

                    [1] => Array
                        (
                            [file] => /home/enbapl/public_html/naszursynow/library/Zend/Db/Statement.php
                            [line] => 302
                            [function] => _execute
                            [class] => Zend_Db_Statement_Pdo
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                        )

                                )

                        )

                    [2] => Array
                        (
                            [file] => /home/enbapl/public_html/naszursynow/library/Zend/Db/Adapter/Abstract.php
                            [line] => 471
                            [function] => execute
                            [class] => Zend_Db_Statement
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                        )

                                )

                        )

                    [3] => Array
                        (
                            [file] => /home/enbapl/public_html/naszursynow/library/Zend/Db/Adapter/Pdo/Abstract.php
                            [line] => 238
                            [function] => query
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => SELECT * from users where id = 
                                    [1] => Array
                                        (
                                        )

                                )

                        )

                    [4] => Array
                        (
                            [file] => /home/enbapl/public_html/naszursynow/library/Zend/Db/Adapter/Abstract.php
                            [line] => 732
                            [function] => query
                            [class] => Zend_Db_Adapter_Pdo_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => SELECT * from users where id = 
                                    [1] => Array
                                        (
                                        )

                                )

                        )

                    [5] => Array
                        (
                            [file] => /home/enbapl/public_html/naszursynow/application/models/UsersModel.php
                            [line] => 178
                            [function] => fetchRow
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => SELECT * from users where id = 
                                )

                        )

                    [6] => Array
                        (
                            [file] => /home/enbapl/public_html/naszursynow/application/modules/default/controllers/UsersController.php
                            [line] => 316
                            [function] => getUsersData
                            [class] => UsersModel
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => 
                                )

                        )

                    [7] => Array
                        (
                            [file] => /home/enbapl/public_html/naszursynow/library/Zend/Controller/Action.php
                            [line] => 513
                            [function] => profileAction
                            [class] => UsersController
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [8] => Array
                        (
                            [file] => /home/enbapl/public_html/naszursynow/library/Zend/Controller/Dispatcher/Standard.php
                            [line] => 291
                            [function] => dispatch
                            [class] => Zend_Controller_Action
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => profileAction
                                )

                        )

                    [9] => Array
                        (
                            [file] => /home/enbapl/public_html/naszursynow/library/Zend/Controller/Front.php
                            [line] => 950
                            [function] => dispatch
                            [class] => Zend_Controller_Dispatcher_Standard
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Zend_Controller_Request_Http Object
                                        (
                                            [_paramSources:protected] => Array
                                                (
                                                    [0] => _GET
                                                    [1] => _POST
                                                )

                                            [_requestUri:protected] => /users/profile/id/
                                            [_baseUrl:protected] => 
                                            [_basePath:protected] => 
                                            [_pathInfo:protected] => /users/profile/id/
                                            [_params:protected] => Array
                                                (
                                                    [controller] => users
                                                    [action] => profile
                                                    [module] => default
                                                )

                                            [_rawBody:protected] => 
                                            [_aliases:protected] => Array
                                                (
                                                )

                                            [_dispatched:protected] => 1
                                            [_module:protected] => default
                                            [_moduleKey:protected] => module
                                            [_controller:protected] => users
                                            [_controllerKey:protected] => controller
                                            [_action:protected] => profile
                                            [_actionKey:protected] => action
                                            [notLink] => 
                                        )

                                    [1] => Zend_Controller_Response_Http Object
                                        (
                                            [_body:protected] => Array
                                                (
                                                )

                                            [_exceptions:protected] => Array
                                                (
                                                )

                                            [_headers:protected] => Array
                                                (
                                                )

                                            [_headersRaw:protected] => Array
                                                (
                                                )

                                            [_httpResponseCode:protected] => 200
                                            [_isRedirect:protected] => 
                                            [_renderExceptions:protected] => 
                                            [headersSentThrowsException] => 1
                                        )

                                )

                        )

                    [10] => Array
                        (
                            [file] => /home/enbapl/public_html/naszursynow/library/Zend/Application/Bootstrap/Bootstrap.php
                            [line] => 81
                            [function] => dispatch
                            [class] => Zend_Controller_Front
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [11] => Array
                        (
                            [file] => /home/enbapl/public_html/naszursynow/library/Zend/Application.php
                            [line] => 358
                            [function] => run
                            [class] => Zend_Application_Bootstrap_Bootstrap
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [12] => Array
                        (
                            [file] => /home/enbapl/public_html/naszursynow/public/index.php
                            [line] => 70
                            [function] => run
                            [class] => Zend_Application
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                )

            [errorInfo] => Array
                (
                    [0] => 42000
                    [1] => 1064
                    [2] => Something is wrong in your syntax obok '' w linii 1
                )

        )

    [message:protected] => SQLSTATE[42000]: Syntax error or access violation: 1064 Something is wrong in your syntax obok '' w linii 1
    [string:private] => 
    [code:protected] => 42000
    [file:protected] => /home/enbapl/public_html/naszursynow/library/Zend/Db/Statement/Pdo.php
    [line:protected] => 239
    [trace:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/enbapl/public_html/naszursynow/library/Zend/Db/Statement.php
                    [line] => 302
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home/enbapl/public_html/naszursynow/library/Zend/Db/Adapter/Abstract.php
                    [line] => 471
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /home/enbapl/public_html/naszursynow/library/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 238
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT * from users where id = 
                            [1] => Array
                                (
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /home/enbapl/public_html/naszursynow/library/Zend/Db/Adapter/Abstract.php
                    [line] => 732
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT * from users where id = 
                            [1] => Array
                                (
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /home/enbapl/public_html/naszursynow/application/models/UsersModel.php
                    [line] => 178
                    [function] => fetchRow
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT * from users where id = 
                        )

                )

            [5] => Array
                (
                    [file] => /home/enbapl/public_html/naszursynow/application/modules/default/controllers/UsersController.php
                    [line] => 316
                    [function] => getUsersData
                    [class] => UsersModel
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                        )

                )

            [6] => Array
                (
                    [file] => /home/enbapl/public_html/naszursynow/library/Zend/Controller/Action.php
                    [line] => 513
                    [function] => profileAction
                    [class] => UsersController
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [7] => Array
                (
                    [file] => /home/enbapl/public_html/naszursynow/library/Zend/Controller/Dispatcher/Standard.php
                    [line] => 291
                    [function] => dispatch
                    [class] => Zend_Controller_Action
                    [type] => ->
                    [args] => Array
                        (
                            [0] => profileAction
                        )

                )

            [8] => Array
                (
                    [file] => /home/enbapl/public_html/naszursynow/library/Zend/Controller/Front.php
                    [line] => 950
                    [function] => dispatch
                    [class] => Zend_Controller_Dispatcher_Standard
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Zend_Controller_Request_Http Object
                                (
                                    [_paramSources:protected] => Array
                                        (
                                            [0] => _GET
                                            [1] => _POST
                                        )

                                    [_requestUri:protected] => /users/profile/id/
                                    [_baseUrl:protected] => 
                                    [_basePath:protected] => 
                                    [_pathInfo:protected] => /users/profile/id/
                                    [_params:protected] => Array
                                        (
                                            [controller] => users
                                            [action] => profile
                                            [module] => default
                                        )

                                    [_rawBody:protected] => 
                                    [_aliases:protected] => Array
                                        (
                                        )

                                    [_dispatched:protected] => 1
                                    [_module:protected] => default
                                    [_moduleKey:protected] => module
                                    [_controller:protected] => users
                                    [_controllerKey:protected] => controller
                                    [_action:protected] => profile
                                    [_actionKey:protected] => action
                                    [notLink] => 
                                )

                            [1] => Zend_Controller_Response_Http Object
                                (
                                    [_body:protected] => Array
                                        (
                                        )

                                    [_exceptions:protected] => Array
                                        (
                                        )

                                    [_headers:protected] => Array
                                        (
                                        )

                                    [_headersRaw:protected] => Array
                                        (
                                        )

                                    [_httpResponseCode:protected] => 200
                                    [_isRedirect:protected] => 
                                    [_renderExceptions:protected] => 
                                    [headersSentThrowsException] => 1
                                )

                        )

                )

            [9] => Array
                (
                    [file] => /home/enbapl/public_html/naszursynow/library/Zend/Application/Bootstrap/Bootstrap.php
                    [line] => 81
                    [function] => dispatch
                    [class] => Zend_Controller_Front
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [10] => Array
                (
                    [file] => /home/enbapl/public_html/naszursynow/library/Zend/Application.php
                    [line] => 358
                    [function] => run
                    [class] => Zend_Application_Bootstrap_Bootstrap
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [11] => Array
                (
                    [file] => /home/enbapl/public_html/naszursynow/public/index.php
                    [line] => 70
                    [function] => run
                    [class] => Zend_Application
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

)