DB Error: syntax errorDB_Error Object
(
    [error_message_prefix] => 
    [mode] => 16
    [level] => 1024
    [code] => -2
    [message] => DB Error: syntax error
    [userinfo] => SELECT * FROM v3_klient WHERE  ORDER BY nazwa [nativecode=1064 ** Something is wrong in your syntax obok 'ORDER BY nazwa' w linii 1]
    [backtrace] => Array
        (
            [0] => Array
                (
                    [file] => /usr/share/php/DB.php
                    [line] => 966
                    [function] => PEAR_Error
                    [class] => PEAR_Error
                    [type] => ->
                    [args] => Array
                        (
                            [0] => DB Error: syntax error
                            [1] => -2
                            [2] => 16
                            [3] => errhndl
                            [4] => SELECT * FROM v3_klient WHERE  ORDER BY nazwa [nativecode=1064 ** Something is wrong in your syntax obok 'ORDER BY nazwa' w linii 1]
                        )

                )

            [1] => Array
                (
                    [file] => /usr/share/php/PEAR.php
                    [line] => 531
                    [function] => DB_Error
                    [class] => DB_Error
                    [object] => DB_Error Object
 *RECURSION*
                    [type] => ->
                    [args] => Array
                        (
                            [0] => -2
                            [1] => 16
                            [2] => errhndl
                            [3] => SELECT * FROM v3_klient WHERE  ORDER BY nazwa [nativecode=1064 ** Something is wrong in your syntax obok 'ORDER BY nazwa' w linii 1]
                        )

                )

            [2] => Array
                (
                    [file] => /usr/share/php/DB/common.php
                    [line] => 1908
                    [function] => raiseError
                    [class] => PEAR
                    [object] => DB_mysql Object
                        (
                            [phptype] => mysql
                            [dbsyntax] => mysql
                            [features] => Array
                                (
                                    [limit] => alter
                                    [new_link] => 4.2.0
                                    [numrows] => 1
                                    [pconnect] => 1
                                    [prepare] => 
                                    [ssl] => 
                                    [transactions] => 1
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1044] => -26
                                    [1046] => -14
                                    [1048] => -3
                                    [1049] => -27
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1061] => -5
                                    [1062] => -5
                                    [1064] => -2
                                    [1091] => -4
                                    [1100] => -21
                                    [1136] => -22
                                    [1142] => -26
                                    [1146] => -18
                                    [1216] => -3
                                    [1217] => -3
                                    [1356] => -13
                                    [1451] => -3
                                    [1452] => -3
                                )

                            [connection] => Resource id #12
                            [dsn] => Array
                                (
                                    [phptype] => mysql
                                    [dbsyntax] => mysql
                                    [username] => pomorzezachodnie
                                    [password] => vt4fl41
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => pomorzezachodnie
                                )

                            [autocommit] => 1
                            [transaction_opcount] => 0
                            [_db] => pomorzezachodnie
                            [fetchmode] => 2
                            [fetchmode_object_class] => stdClass
                            [was_connected] => 
                            [last_query] => SELECT * FROM v3_klient WHERE  ORDER BY nazwa
                            [options] => Array
                                (
                                    [result_buffering] => 500
                                    [persistent] => 
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [last_parameters] => Array
                                (
                                )

                            [prepare_tokens] => Array
                                (
                                )

                            [prepare_types] => Array
                                (
                                )

                            [prepared_queries] => Array
                                (
                                )

                            [_last_query_manip] => 
                            [_next_query_manip] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                        )

                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                            [1] => -2
                            [2] => 
                            [3] => 
                            [4] => SELECT * FROM v3_klient WHERE  ORDER BY nazwa [nativecode=1064 ** Something is wrong in your syntax obok 'ORDER BY nazwa' w linii 1]
                            [5] => DB_Error
                            [6] => 1
                        )

                )

            [3] => Array
                (
                    [file] => /usr/share/php/DB/mysql.php
                    [line] => 898
                    [function] => raiseError
                    [class] => DB_common
                    [object] => DB_mysql Object
                        (
                            [phptype] => mysql
                            [dbsyntax] => mysql
                            [features] => Array
                                (
                                    [limit] => alter
                                    [new_link] => 4.2.0
                                    [numrows] => 1
                                    [pconnect] => 1
                                    [prepare] => 
                                    [ssl] => 
                                    [transactions] => 1
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1044] => -26
                                    [1046] => -14
                                    [1048] => -3
                                    [1049] => -27
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1061] => -5
                                    [1062] => -5
                                    [1064] => -2
                                    [1091] => -4
                                    [1100] => -21
                                    [1136] => -22
                                    [1142] => -26
                                    [1146] => -18
                                    [1216] => -3
                                    [1217] => -3
                                    [1356] => -13
                                    [1451] => -3
                                    [1452] => -3
                                )

                            [connection] => Resource id #12
                            [dsn] => Array
                                (
                                    [phptype] => mysql
                                    [dbsyntax] => mysql
                                    [username] => pomorzezachodnie
                                    [password] => vt4fl41
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => pomorzezachodnie
                                )

                            [autocommit] => 1
                            [transaction_opcount] => 0
                            [_db] => pomorzezachodnie
                            [fetchmode] => 2
                            [fetchmode_object_class] => stdClass
                            [was_connected] => 
                            [last_query] => SELECT * FROM v3_klient WHERE  ORDER BY nazwa
                            [options] => Array
                                (
                                    [result_buffering] => 500
                                    [persistent] => 
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [last_parameters] => Array
                                (
                                )

                            [prepare_tokens] => Array
                                (
                                )

                            [prepare_types] => Array
                                (
                                )

                            [prepared_queries] => Array
                                (
                                )

                            [_last_query_manip] => 
                            [_next_query_manip] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                        )

                    [type] => ->
                    [args] => Array
                        (
                            [0] => -2
                            [1] => 
                            [2] => 
                            [3] => 
                            [4] => 1064 ** Something is wrong in your syntax obok 'ORDER BY nazwa' w linii 1
                        )

                )

            [4] => Array
                (
                    [file] => /usr/share/php/DB/mysql.php
                    [line] => 327
                    [function] => mysqlRaiseError
                    [class] => DB_mysql
                    [object] => DB_mysql Object
                        (
                            [phptype] => mysql
                            [dbsyntax] => mysql
                            [features] => Array
                                (
                                    [limit] => alter
                                    [new_link] => 4.2.0
                                    [numrows] => 1
                                    [pconnect] => 1
                                    [prepare] => 
                                    [ssl] => 
                                    [transactions] => 1
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1044] => -26
                                    [1046] => -14
                                    [1048] => -3
                                    [1049] => -27
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1061] => -5
                                    [1062] => -5
                                    [1064] => -2
                                    [1091] => -4
                                    [1100] => -21
                                    [1136] => -22
                                    [1142] => -26
                                    [1146] => -18
                                    [1216] => -3
                                    [1217] => -3
                                    [1356] => -13
                                    [1451] => -3
                                    [1452] => -3
                                )

                            [connection] => Resource id #12
                            [dsn] => Array
                                (
                                    [phptype] => mysql
                                    [dbsyntax] => mysql
                                    [username] => pomorzezachodnie
                                    [password] => vt4fl41
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => pomorzezachodnie
                                )

                            [autocommit] => 1
                            [transaction_opcount] => 0
                            [_db] => pomorzezachodnie
                            [fetchmode] => 2
                            [fetchmode_object_class] => stdClass
                            [was_connected] => 
                            [last_query] => SELECT * FROM v3_klient WHERE  ORDER BY nazwa
                            [options] => Array
                                (
                                    [result_buffering] => 500
                                    [persistent] => 
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [last_parameters] => Array
                                (
                                )

                            [prepare_tokens] => Array
                                (
                                )

                            [prepare_types] => Array
                                (
                                )

                            [prepared_queries] => Array
                                (
                                )

                            [_last_query_manip] => 
                            [_next_query_manip] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                        )

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

                )

            [5] => Array
                (
                    [file] => /usr/share/php/DB/common.php
                    [line] => 1216
                    [function] => simpleQuery
                    [class] => DB_mysql
                    [object] => DB_mysql Object
                        (
                            [phptype] => mysql
                            [dbsyntax] => mysql
                            [features] => Array
                                (
                                    [limit] => alter
                                    [new_link] => 4.2.0
                                    [numrows] => 1
                                    [pconnect] => 1
                                    [prepare] => 
                                    [ssl] => 
                                    [transactions] => 1
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1044] => -26
                                    [1046] => -14
                                    [1048] => -3
                                    [1049] => -27
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1061] => -5
                                    [1062] => -5
                                    [1064] => -2
                                    [1091] => -4
                                    [1100] => -21
                                    [1136] => -22
                                    [1142] => -26
                                    [1146] => -18
                                    [1216] => -3
                                    [1217] => -3
                                    [1356] => -13
                                    [1451] => -3
                                    [1452] => -3
                                )

                            [connection] => Resource id #12
                            [dsn] => Array
                                (
                                    [phptype] => mysql
                                    [dbsyntax] => mysql
                                    [username] => pomorzezachodnie
                                    [password] => vt4fl41
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => pomorzezachodnie
                                )

                            [autocommit] => 1
                            [transaction_opcount] => 0
                            [_db] => pomorzezachodnie
                            [fetchmode] => 2
                            [fetchmode_object_class] => stdClass
                            [was_connected] => 
                            [last_query] => SELECT * FROM v3_klient WHERE  ORDER BY nazwa
                            [options] => Array
                                (
                                    [result_buffering] => 500
                                    [persistent] => 
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [last_parameters] => Array
                                (
                                )

                            [prepare_tokens] => Array
                                (
                                )

                            [prepare_types] => Array
                                (
                                )

                            [prepared_queries] => Array
                                (
                                )

                            [_last_query_manip] => 
                            [_next_query_manip] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                        )

                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT * FROM v3_klient WHERE  ORDER BY nazwa
                        )

                )

            [6] => Array
                (
                    [file] => /home/html/pomorzezachodnie.pl/modules/mod.php
                    [line] => 57
                    [function] => query
                    [class] => DB_common
                    [object] => DB_mysql Object
                        (
                            [phptype] => mysql
                            [dbsyntax] => mysql
                            [features] => Array
                                (
                                    [limit] => alter
                                    [new_link] => 4.2.0
                                    [numrows] => 1
                                    [pconnect] => 1
                                    [prepare] => 
                                    [ssl] => 
                                    [transactions] => 1
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1044] => -26
                                    [1046] => -14
                                    [1048] => -3
                                    [1049] => -27
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1061] => -5
                                    [1062] => -5
                                    [1064] => -2
                                    [1091] => -4
                                    [1100] => -21
                                    [1136] => -22
                                    [1142] => -26
                                    [1146] => -18
                                    [1216] => -3
                                    [1217] => -3
                                    [1356] => -13
                                    [1451] => -3
                                    [1452] => -3
                                )

                            [connection] => Resource id #12
                            [dsn] => Array
                                (
                                    [phptype] => mysql
                                    [dbsyntax] => mysql
                                    [username] => pomorzezachodnie
                                    [password] => vt4fl41
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => pomorzezachodnie
                                )

                            [autocommit] => 1
                            [transaction_opcount] => 0
                            [_db] => pomorzezachodnie
                            [fetchmode] => 2
                            [fetchmode_object_class] => stdClass
                            [was_connected] => 
                            [last_query] => SELECT * FROM v3_klient WHERE  ORDER BY nazwa
                            [options] => Array
                                (
                                    [result_buffering] => 500
                                    [persistent] => 
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [last_parameters] => Array
                                (
                                )

                            [prepare_tokens] => Array
                                (
                                )

                            [prepare_types] => Array
                                (
                                )

                            [prepared_queries] => Array
                                (
                                )

                            [_last_query_manip] => 
                            [_next_query_manip] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                        )

                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT * FROM v3_klient WHERE  ORDER BY nazwa
                        )

                )

            [7] => Array
                (
                    [file] => /home/html/pomorzezachodnie.pl/index.php
                    [line] => 99
                    [args] => Array
                        (
                            [0] => /home/html/pomorzezachodnie.pl/modules/mod.php
                        )

                    [function] => require_once
                )

        )

    [callback] => errhndl
)