err videoerr similar search
Array
(
    [0] => Array
        (
            [error] => undefined db error
            [type] => undefined error
            [inner] => DB_Error Object
                (
                    [error_message_prefix] => 
                    [mode] => 1
                    [level] => 1024
                    [code] => -1
                    [message] => DB Error: unknown error
                    [userinfo] => 
	update	t_threads
	set		views = views + 1
	where	thread_id = 1100001903 [nativecode=2013 ** Lost connection to MySQL server during query]
                    [backtrace] => Array
                        (
                            [0] => Array
                                (
                                    [file] => /home/dobrinov/public_html/DB.php
                                    [line] => 966
                                    [function] => PEAR_Error
                                    [class] => PEAR_Error
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => DB Error: unknown error
                                            [1] => -1
                                            [2] => 1
                                            [3] => 1024
                                            [4] => 
	update	t_threads
	set		views = views + 1
	where	thread_id = 1100001903 [nativecode=2013 ** Lost connection to MySQL server during query]
                                        )

                                )

                            [1] => Array
                                (
                                    [file] => /home/dobrinov/public_html/PEAR.php
                                    [line] => 531
                                    [function] => DB_Error
                                    [class] => DB_Error
                                    [object] => DB_Error Object
 *RECURSION*
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => -1
                                            [1] => 1
                                            [2] => 1024
                                            [3] => 
	update	t_threads
	set		views = views + 1
	where	thread_id = 1100001903 [nativecode=2013 ** Lost connection to MySQL server during query]
                                        )

                                )

                            [2] => Array
                                (
                                    [file] => /home/dobrinov/public_html/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 #31
                                            [dsn] => Array
                                                (
                                                    [phptype] => mysql
                                                    [dbsyntax] => mysql
                                                    [username] => dobrinov_1001
                                                    [password] => 123456
                                                    [protocol] => tcp
                                                    [hostspec] => localhost
                                                    [port] => 
                                                    [socket] => 
                                                    [database] => dobrinov_1001
                                                )

                                            [autocommit] => 1
                                            [transaction_opcount] => 0
                                            [_db] => dobrinov_1001
                                            [fetchmode] => 2
                                            [fetchmode_object_class] => stdClass
                                            [was_connected] => 
                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                    [0] => 1903
                                                )

                                            [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] => -1
                                            [2] => 
                                            [3] => 
                                            [4] => 
	update	t_threads
	set		views = views + 1
	where	thread_id = 1100001903 [nativecode=2013 ** Lost connection to MySQL server during query]
                                            [5] => DB_Error
                                            [6] => 1
                                        )

                                )

                            [3] => Array
                                (
                                    [file] => /home/dobrinov/public_html/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 #31
                                            [dsn] => Array
                                                (
                                                    [phptype] => mysql
                                                    [dbsyntax] => mysql
                                                    [username] => dobrinov_1001
                                                    [password] => 123456
                                                    [protocol] => tcp
                                                    [hostspec] => localhost
                                                    [port] => 
                                                    [socket] => 
                                                    [database] => dobrinov_1001
                                                )

                                            [autocommit] => 1
                                            [transaction_opcount] => 0
                                            [_db] => dobrinov_1001
                                            [fetchmode] => 2
                                            [fetchmode_object_class] => stdClass
                                            [was_connected] => 
                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                    [0] => 1903
                                                )

                                            [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
                                            [1] => 
                                            [2] => 
                                            [3] => 
                                            [4] => 2013 ** Lost connection to MySQL server during query
                                        )

                                )

                            [4] => Array
                                (
                                    [file] => /home/dobrinov/public_html/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 #31
                                            [dsn] => Array
                                                (
                                                    [phptype] => mysql
                                                    [dbsyntax] => mysql
                                                    [username] => dobrinov_1001
                                                    [password] => 123456
                                                    [protocol] => tcp
                                                    [hostspec] => localhost
                                                    [port] => 
                                                    [socket] => 
                                                    [database] => dobrinov_1001
                                                )

                                            [autocommit] => 1
                                            [transaction_opcount] => 0
                                            [_db] => dobrinov_1001
                                            [fetchmode] => 2
                                            [fetchmode_object_class] => stdClass
                                            [was_connected] => 
                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                    [0] => 1903
                                                )

                                            [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] => /home/dobrinov/public_html/DB/common.php
                                    [line] => 1012
                                    [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 #31
                                            [dsn] => Array
                                                (
                                                    [phptype] => mysql
                                                    [dbsyntax] => mysql
                                                    [username] => dobrinov_1001
                                                    [password] => 123456
                                                    [protocol] => tcp
                                                    [hostspec] => localhost
                                                    [port] => 
                                                    [socket] => 
                                                    [database] => dobrinov_1001
                                                )

                                            [autocommit] => 1
                                            [transaction_opcount] => 0
                                            [_db] => dobrinov_1001
                                            [fetchmode] => 2
                                            [fetchmode_object_class] => stdClass
                                            [was_connected] => 
                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                    [0] => 1903
                                                )

                                            [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] => 
	update	t_threads
	set		views = views + 1
	where	thread_id = 1100001903
                                        )

                                )

                            [6] => Array
                                (
                                    [file] => /home/dobrinov/public_html/DB/common.php
                                    [line] => 1211
                                    [function] => execute
                                    [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 #31
                                            [dsn] => Array
                                                (
                                                    [phptype] => mysql
                                                    [dbsyntax] => mysql
                                                    [username] => dobrinov_1001
                                                    [password] => 123456
                                                    [protocol] => tcp
                                                    [hostspec] => localhost
                                                    [port] => 
                                                    [socket] => 
                                                    [database] => dobrinov_1001
                                                )

                                            [autocommit] => 1
                                            [transaction_opcount] => 0
                                            [_db] => dobrinov_1001
                                            [fetchmode] => 2
                                            [fetchmode_object_class] => stdClass
                                            [was_connected] => 
                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                    [0] => 1903
                                                )

                                            [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] => 7
                                            [1] => Array
                                                (
                                                    [0] => 1
                                                    [1] => 1100001903
                                                )

                                        )

                                )

                            [7] => Array
                                (
                                    [file] => /home/dobrinov/public_html/sql_forum_tmp.php
                                    [line] => 602
                                    [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 #31
                                            [dsn] => Array
                                                (
                                                    [phptype] => mysql
                                                    [dbsyntax] => mysql
                                                    [username] => dobrinov_1001
                                                    [password] => 123456
                                                    [protocol] => tcp
                                                    [hostspec] => localhost
                                                    [port] => 
                                                    [socket] => 
                                                    [database] => dobrinov_1001
                                                )

                                            [autocommit] => 1
                                            [transaction_opcount] => 0
                                            [_db] => dobrinov_1001
                                            [fetchmode] => 2
                                            [fetchmode_object_class] => stdClass
                                            [was_connected] => 
                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                    [0] => 1903
                                                )

                                            [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] => 
	update	t_threads
	set		views = views + ?
	where	thread_id = ?
                                            [1] => Array
                                                (
                                                    [0] => 1
                                                    [1] => 1100001903
                                                )

                                        )

                                )

                            [8] => Array
                                (
                                    [file] => /home/dobrinov/public_html/sql_forum_tmp.php
                                    [line] => 1261
                                    [function] => increase_thread_views_count
                                    [args] => Array
                                        (
                                            [0] => 1100001903
                                            [1] => 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 #31
                                                    [dsn] => Array
                                                        (
                                                            [phptype] => mysql
                                                            [dbsyntax] => mysql
                                                            [username] => dobrinov_1001
                                                            [password] => 123456
                                                            [protocol] => tcp
                                                            [hostspec] => localhost
                                                            [port] => 
                                                            [socket] => 
                                                            [database] => dobrinov_1001
                                                        )

                                                    [autocommit] => 1
                                                    [transaction_opcount] => 0
                                                    [_db] => dobrinov_1001
                                                    [fetchmode] => 2
                                                    [fetchmode_object_class] => stdClass
                                                    [was_connected] => 
                                                    [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                    [options] => Array
                                                        (
                                                            [result_buffering] => 500
                                                            [persistent] => 
                                                            [ssl] => 
                                                            [debug] => 0
                                                            [seqname_format] => %s_seq
                                                            [autofree] => 
                                                            [portability] => 0
                                                            [optimize] => performance
                                                        )

                                                    [last_parameters] => Array
                                                        (
                                                            [0] => 1903
                                                        )

                                                    [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
                                                        (
                                                        )

                                                )

                                            [2] => Array
                                                (
                                                    [0] => Array
 *RECURSION*
                                                    [1] => Array
                                                        (
                                                            [error] => undefined db error
                                                            [type] => undefined error
                                                            [inner] => DB_Error Object
                                                                (
                                                                    [error_message_prefix] => 
                                                                    [mode] => 1
                                                                    [level] => 1024
                                                                    [code] => -14
                                                                    [message] => DB Error: no database selected
                                                                    [userinfo] => 
	select	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = NULL then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = 1100001903
	 order by
			t.date_added, thread_id [nativecode=2006 ** MySQL server has gone away]
                                                                    [backtrace] => Array
                                                                        (
                                                                            [0] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB.php
                                                                                    [line] => 966
                                                                                    [function] => PEAR_Error
                                                                                    [class] => PEAR_Error
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => DB Error: no database selected
                                                                                            [1] => -14
                                                                                            [2] => 1
                                                                                            [3] => 1024
                                                                                            [4] => 
	select	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = NULL then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = 1100001903
	 order by
			t.date_added, thread_id [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [1] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/PEAR.php
                                                                                    [line] => 531
                                                                                    [function] => DB_Error
                                                                                    [class] => DB_Error
                                                                                    [object] => DB_Error Object
 *RECURSION*
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => -14
                                                                                            [1] => 1
                                                                                            [2] => 1024
                                                                                            [3] => 
	select	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = NULL then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = 1100001903
	 order by
			t.date_added, thread_id [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [2] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 
	select	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = NULL then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = 1100001903
	 order by
			t.date_added, thread_id [nativecode=2006 ** MySQL server has gone away]
                                                                                            [5] => DB_Error
                                                                                            [6] => 1
                                                                                        )

                                                                                )

                                                                            [3] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                            [1] => 
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 2006 ** MySQL server has gone away
                                                                                        )

                                                                                )

                                                                            [4] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/mysql.php
                                                                                    [line] => 308
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                        )

                                                                                )

                                                                            [5] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1012
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = NULL then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = 1100001903
	 order by
			t.date_added, thread_id
                                                                                        )

                                                                                )

                                                                            [6] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1660
                                                                                    [function] => execute
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => 8
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 
                                                                                                    [1] => 1100001903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [7] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/sql_forum_tmp.php
                                                                                    [line] => 785
                                                                                    [function] => getAll
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = ? then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = ?
	 order by
			t.date_added, thread_id
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 
                                                                                                    [1] => 1100001903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [8] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/sql_forum_tmp.php
                                                                                    [line] => 1263
                                                                                    [function] => select_thread_contents
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 1100001903
                                                                                            [1] => 
                                                                                            [2] => 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 #31
                                                                                                    [dsn] => Array
                                                                                                        (
                                                                                                            [phptype] => mysql
                                                                                                            [dbsyntax] => mysql
                                                                                                            [username] => dobrinov_1001
                                                                                                            [password] => 123456
                                                                                                            [protocol] => tcp
                                                                                                            [hostspec] => localhost
                                                                                                            [port] => 
                                                                                                            [socket] => 
                                                                                                            [database] => dobrinov_1001
                                                                                                        )

                                                                                                    [autocommit] => 1
                                                                                                    [transaction_opcount] => 0
                                                                                                    [_db] => dobrinov_1001
                                                                                                    [fetchmode] => 2
                                                                                                    [fetchmode_object_class] => stdClass
                                                                                                    [was_connected] => 
                                                                                                    [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                            [0] => 1903
                                                                                                        )

                                                                                                    [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
                                                                                                        (
                                                                                                        )

                                                                                                )

                                                                                            [3] => Array
 *RECURSION*
                                                                                        )

                                                                                )

                                                                            [9] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                    [line] => 204
                                                                                    [function] => threads_api_get_thread
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 1100001903
                                                                                            [1] => 
                                                                                            [2] => 
                                                                                            [3] => 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 #31
                                                                                                    [dsn] => Array
                                                                                                        (
                                                                                                            [phptype] => mysql
                                                                                                            [dbsyntax] => mysql
                                                                                                            [username] => dobrinov_1001
                                                                                                            [password] => 123456
                                                                                                            [protocol] => tcp
                                                                                                            [hostspec] => localhost
                                                                                                            [port] => 
                                                                                                            [socket] => 
                                                                                                            [database] => dobrinov_1001
                                                                                                        )

                                                                                                    [autocommit] => 1
                                                                                                    [transaction_opcount] => 0
                                                                                                    [_db] => dobrinov_1001
                                                                                                    [fetchmode] => 2
                                                                                                    [fetchmode_object_class] => stdClass
                                                                                                    [was_connected] => 
                                                                                                    [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                            [0] => 1903
                                                                                                        )

                                                                                                    [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
                                                                                                        (
                                                                                                        )

                                                                                                )

                                                                                            [4] => Array
 *RECURSION*
                                                                                        )

                                                                                )

                                                                            [10] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/controller.php
                                                                                    [line] => 339
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                            [11] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/index.php
                                                                                    [line] => 129
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/controller.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                        )

                                                                    [callback] => 
                                                                )

                                                        )

                                                    [2] => Array
                                                        (
                                                            [error] => db error
                                                            [type] => undefined error
                                                            [inner] => DB_Error Object
                                                                (
                                                                    [error_message_prefix] => 
                                                                    [mode] => 1
                                                                    [level] => 1024
                                                                    [code] => -14
                                                                    [message] => DB Error: no database selected
                                                                    [userinfo] => select * from t_video_recipes where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                    [backtrace] => Array
                                                                        (
                                                                            [0] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB.php
                                                                                    [line] => 966
                                                                                    [function] => PEAR_Error
                                                                                    [class] => PEAR_Error
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => DB Error: no database selected
                                                                                            [1] => -14
                                                                                            [2] => 1
                                                                                            [3] => 1024
                                                                                            [4] => select * from t_video_recipes where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [1] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/PEAR.php
                                                                                    [line] => 531
                                                                                    [function] => DB_Error
                                                                                    [class] => DB_Error
                                                                                    [object] => DB_Error Object
 *RECURSION*
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => -14
                                                                                            [1] => 1
                                                                                            [2] => 1024
                                                                                            [3] => select * from t_video_recipes where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [2] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => select * from t_video_recipes where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                            [5] => DB_Error
                                                                                            [6] => 1
                                                                                        )

                                                                                )

                                                                            [3] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                            [1] => 
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 2006 ** MySQL server has gone away
                                                                                        )

                                                                                )

                                                                            [4] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/mysql.php
                                                                                    [line] => 308
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                        )

                                                                                )

                                                                            [5] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1012
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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 t_video_recipes where recipe_id = 1903
                                                                                        )

                                                                                )

                                                                            [6] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1660
                                                                                    [function] => execute
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => 9
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [7] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/data_manager.php
                                                                                    [line] => 11
                                                                                    [function] => getAll
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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 t_video_recipes where recipe_id = ?
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [8] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                    [line] => 336
                                                                                    [function] => generic_select
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => select * from t_video_recipes where recipe_id = ?
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [2] => 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 #31
                                                                                                    [dsn] => Array
                                                                                                        (
                                                                                                            [phptype] => mysql
                                                                                                            [dbsyntax] => mysql
                                                                                                            [username] => dobrinov_1001
                                                                                                            [password] => 123456
                                                                                                            [protocol] => tcp
                                                                                                            [hostspec] => localhost
                                                                                                            [port] => 
                                                                                                            [socket] => 
                                                                                                            [database] => dobrinov_1001
                                                                                                        )

                                                                                                    [autocommit] => 1
                                                                                                    [transaction_opcount] => 0
                                                                                                    [_db] => dobrinov_1001
                                                                                                    [fetchmode] => 2
                                                                                                    [fetchmode_object_class] => stdClass
                                                                                                    [was_connected] => 
                                                                                                    [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                            [0] => 1903
                                                                                                        )

                                                                                                    [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
                                                                                                        (
                                                                                                        )

                                                                                                )

                                                                                            [3] => Array
 *RECURSION*
                                                                                        )

                                                                                )

                                                                            [9] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/controller.php
                                                                                    [line] => 339
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                            [10] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/index.php
                                                                                    [line] => 129
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/controller.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                        )

                                                                    [callback] => 
                                                                )

                                                        )

                                                    [3] => Array
                                                        (
                                                            [error] => db error
                                                            [type] => undefined error
                                                            [inner] => DB_Error Object
                                                                (
                                                                    [error_message_prefix] => 
                                                                    [mode] => 1
                                                                    [level] => 1024
                                                                    [code] => -14
                                                                    [message] => DB Error: no database selected
                                                                    [userinfo] => select * from t_recipe_similar_search where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                    [backtrace] => Array
                                                                        (
                                                                            [0] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB.php
                                                                                    [line] => 966
                                                                                    [function] => PEAR_Error
                                                                                    [class] => PEAR_Error
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => DB Error: no database selected
                                                                                            [1] => -14
                                                                                            [2] => 1
                                                                                            [3] => 1024
                                                                                            [4] => select * from t_recipe_similar_search where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [1] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/PEAR.php
                                                                                    [line] => 531
                                                                                    [function] => DB_Error
                                                                                    [class] => DB_Error
                                                                                    [object] => DB_Error Object
 *RECURSION*
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => -14
                                                                                            [1] => 1
                                                                                            [2] => 1024
                                                                                            [3] => select * from t_recipe_similar_search where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [2] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => select * from t_recipe_similar_search where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                            [5] => DB_Error
                                                                                            [6] => 1
                                                                                        )

                                                                                )

                                                                            [3] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                            [1] => 
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 2006 ** MySQL server has gone away
                                                                                        )

                                                                                )

                                                                            [4] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/mysql.php
                                                                                    [line] => 308
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                        )

                                                                                )

                                                                            [5] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1012
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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 t_recipe_similar_search where recipe_id = 1903
                                                                                        )

                                                                                )

                                                                            [6] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1660
                                                                                    [function] => execute
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => 10
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [7] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/data_manager.php
                                                                                    [line] => 11
                                                                                    [function] => getAll
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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 t_recipe_similar_search where recipe_id = ?
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [8] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                    [line] => 359
                                                                                    [function] => generic_select
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => select * from t_recipe_similar_search where recipe_id = ?
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [2] => 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 #31
                                                                                                    [dsn] => Array
                                                                                                        (
                                                                                                            [phptype] => mysql
                                                                                                            [dbsyntax] => mysql
                                                                                                            [username] => dobrinov_1001
                                                                                                            [password] => 123456
                                                                                                            [protocol] => tcp
                                                                                                            [hostspec] => localhost
                                                                                                            [port] => 
                                                                                                            [socket] => 
                                                                                                            [database] => dobrinov_1001
                                                                                                        )

                                                                                                    [autocommit] => 1
                                                                                                    [transaction_opcount] => 0
                                                                                                    [_db] => dobrinov_1001
                                                                                                    [fetchmode] => 2
                                                                                                    [fetchmode_object_class] => stdClass
                                                                                                    [was_connected] => 
                                                                                                    [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                            [0] => 1903
                                                                                                        )

                                                                                                    [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
                                                                                                        (
                                                                                                        )

                                                                                                )

                                                                                            [3] => Array
 *RECURSION*
                                                                                        )

                                                                                )

                                                                            [9] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/controller.php
                                                                                    [line] => 339
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                            [10] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/index.php
                                                                                    [line] => 129
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/controller.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                        )

                                                                    [callback] => 
                                                                )

                                                        )

                                                    [4] => Array
                                                        (
                                                            [error] => db error
                                                            [type] => undefined error
                                                            [inner] => DB_Error Object
                                                                (
                                                                    [error_message_prefix] => 
                                                                    [mode] => 1
                                                                    [level] => 1024
                                                                    [code] => -14
                                                                    [message] => DB Error: no database selected
                                                                    [userinfo] => select * from t_serp_url where url_type = 'r' and ext_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                    [backtrace] => Array
                                                                        (
                                                                            [0] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB.php
                                                                                    [line] => 966
                                                                                    [function] => PEAR_Error
                                                                                    [class] => PEAR_Error
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => DB Error: no database selected
                                                                                            [1] => -14
                                                                                            [2] => 1
                                                                                            [3] => 1024
                                                                                            [4] => select * from t_serp_url where url_type = 'r' and ext_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [1] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/PEAR.php
                                                                                    [line] => 531
                                                                                    [function] => DB_Error
                                                                                    [class] => DB_Error
                                                                                    [object] => DB_Error Object
 *RECURSION*
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => -14
                                                                                            [1] => 1
                                                                                            [2] => 1024
                                                                                            [3] => select * from t_serp_url where url_type = 'r' and ext_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [2] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => select * from t_serp_url where url_type = 'r' and ext_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                            [5] => DB_Error
                                                                                            [6] => 1
                                                                                        )

                                                                                )

                                                                            [3] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                            [1] => 
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 2006 ** MySQL server has gone away
                                                                                        )

                                                                                )

                                                                            [4] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/mysql.php
                                                                                    [line] => 308
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                        )

                                                                                )

                                                                            [5] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1012
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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 t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                        )

                                                                                )

                                                                            [6] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1660
                                                                                    [function] => execute
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => 12
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [7] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/data_manager.php
                                                                                    [line] => 11
                                                                                    [function] => getAll
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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 t_serp_url where url_type = 'r' and ext_id = ?
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [8] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                    [line] => 377
                                                                                    [function] => generic_select
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => select * from t_serp_url where url_type = 'r' and ext_id = ?
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [2] => 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 #31
                                                                                                    [dsn] => Array
                                                                                                        (
                                                                                                            [phptype] => mysql
                                                                                                            [dbsyntax] => mysql
                                                                                                            [username] => dobrinov_1001
                                                                                                            [password] => 123456
                                                                                                            [protocol] => tcp
                                                                                                            [hostspec] => localhost
                                                                                                            [port] => 
                                                                                                            [socket] => 
                                                                                                            [database] => dobrinov_1001
                                                                                                        )

                                                                                                    [autocommit] => 1
                                                                                                    [transaction_opcount] => 0
                                                                                                    [_db] => dobrinov_1001
                                                                                                    [fetchmode] => 2
                                                                                                    [fetchmode_object_class] => stdClass
                                                                                                    [was_connected] => 
                                                                                                    [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                            [0] => 1903
                                                                                                        )

                                                                                                    [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
                                                                                                        (
                                                                                                        )

                                                                                                )

                                                                                            [3] => Array
 *RECURSION*
                                                                                        )

                                                                                )

                                                                            [9] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/controller.php
                                                                                    [line] => 339
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                            [10] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/index.php
                                                                                    [line] => 129
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/controller.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                        )

                                                                    [callback] => 
                                                                )

                                                        )

                                                )

                                        )

                                )

                            [9] => Array
                                (
                                    [file] => /home/dobrinov/public_html/recipe/code_behind.php
                                    [line] => 204
                                    [function] => threads_api_get_thread
                                    [args] => Array
                                        (
                                            [0] => 1100001903
                                            [1] => 
                                            [2] => 
                                            [3] => 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 #31
                                                    [dsn] => Array
                                                        (
                                                            [phptype] => mysql
                                                            [dbsyntax] => mysql
                                                            [username] => dobrinov_1001
                                                            [password] => 123456
                                                            [protocol] => tcp
                                                            [hostspec] => localhost
                                                            [port] => 
                                                            [socket] => 
                                                            [database] => dobrinov_1001
                                                        )

                                                    [autocommit] => 1
                                                    [transaction_opcount] => 0
                                                    [_db] => dobrinov_1001
                                                    [fetchmode] => 2
                                                    [fetchmode_object_class] => stdClass
                                                    [was_connected] => 
                                                    [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                    [options] => Array
                                                        (
                                                            [result_buffering] => 500
                                                            [persistent] => 
                                                            [ssl] => 
                                                            [debug] => 0
                                                            [seqname_format] => %s_seq
                                                            [autofree] => 
                                                            [portability] => 0
                                                            [optimize] => performance
                                                        )

                                                    [last_parameters] => Array
                                                        (
                                                            [0] => 1903
                                                        )

                                                    [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
                                                        (
                                                        )

                                                )

                                            [4] => Array
                                                (
                                                    [0] => Array
 *RECURSION*
                                                    [1] => Array
                                                        (
                                                            [error] => undefined db error
                                                            [type] => undefined error
                                                            [inner] => DB_Error Object
                                                                (
                                                                    [error_message_prefix] => 
                                                                    [mode] => 1
                                                                    [level] => 1024
                                                                    [code] => -14
                                                                    [message] => DB Error: no database selected
                                                                    [userinfo] => 
	select	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = NULL then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = 1100001903
	 order by
			t.date_added, thread_id [nativecode=2006 ** MySQL server has gone away]
                                                                    [backtrace] => Array
                                                                        (
                                                                            [0] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB.php
                                                                                    [line] => 966
                                                                                    [function] => PEAR_Error
                                                                                    [class] => PEAR_Error
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => DB Error: no database selected
                                                                                            [1] => -14
                                                                                            [2] => 1
                                                                                            [3] => 1024
                                                                                            [4] => 
	select	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = NULL then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = 1100001903
	 order by
			t.date_added, thread_id [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [1] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/PEAR.php
                                                                                    [line] => 531
                                                                                    [function] => DB_Error
                                                                                    [class] => DB_Error
                                                                                    [object] => DB_Error Object
 *RECURSION*
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => -14
                                                                                            [1] => 1
                                                                                            [2] => 1024
                                                                                            [3] => 
	select	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = NULL then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = 1100001903
	 order by
			t.date_added, thread_id [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [2] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 
	select	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = NULL then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = 1100001903
	 order by
			t.date_added, thread_id [nativecode=2006 ** MySQL server has gone away]
                                                                                            [5] => DB_Error
                                                                                            [6] => 1
                                                                                        )

                                                                                )

                                                                            [3] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                            [1] => 
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 2006 ** MySQL server has gone away
                                                                                        )

                                                                                )

                                                                            [4] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/mysql.php
                                                                                    [line] => 308
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                        )

                                                                                )

                                                                            [5] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1012
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = NULL then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = 1100001903
	 order by
			t.date_added, thread_id
                                                                                        )

                                                                                )

                                                                            [6] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1660
                                                                                    [function] => execute
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => 8
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 
                                                                                                    [1] => 1100001903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [7] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/sql_forum_tmp.php
                                                                                    [line] => 785
                                                                                    [function] => getAll
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = ? then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = ?
	 order by
			t.date_added, thread_id
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 
                                                                                                    [1] => 1100001903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [8] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/sql_forum_tmp.php
                                                                                    [line] => 1263
                                                                                    [function] => select_thread_contents
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 1100001903
                                                                                            [1] => 
                                                                                            [2] => 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 #31
                                                                                                    [dsn] => Array
                                                                                                        (
                                                                                                            [phptype] => mysql
                                                                                                            [dbsyntax] => mysql
                                                                                                            [username] => dobrinov_1001
                                                                                                            [password] => 123456
                                                                                                            [protocol] => tcp
                                                                                                            [hostspec] => localhost
                                                                                                            [port] => 
                                                                                                            [socket] => 
                                                                                                            [database] => dobrinov_1001
                                                                                                        )

                                                                                                    [autocommit] => 1
                                                                                                    [transaction_opcount] => 0
                                                                                                    [_db] => dobrinov_1001
                                                                                                    [fetchmode] => 2
                                                                                                    [fetchmode_object_class] => stdClass
                                                                                                    [was_connected] => 
                                                                                                    [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                            [0] => 1903
                                                                                                        )

                                                                                                    [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
                                                                                                        (
                                                                                                        )

                                                                                                )

                                                                                            [3] => Array
 *RECURSION*
                                                                                        )

                                                                                )

                                                                            [9] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                    [line] => 204
                                                                                    [function] => threads_api_get_thread
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 1100001903
                                                                                            [1] => 
                                                                                            [2] => 
                                                                                            [3] => 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 #31
                                                                                                    [dsn] => Array
                                                                                                        (
                                                                                                            [phptype] => mysql
                                                                                                            [dbsyntax] => mysql
                                                                                                            [username] => dobrinov_1001
                                                                                                            [password] => 123456
                                                                                                            [protocol] => tcp
                                                                                                            [hostspec] => localhost
                                                                                                            [port] => 
                                                                                                            [socket] => 
                                                                                                            [database] => dobrinov_1001
                                                                                                        )

                                                                                                    [autocommit] => 1
                                                                                                    [transaction_opcount] => 0
                                                                                                    [_db] => dobrinov_1001
                                                                                                    [fetchmode] => 2
                                                                                                    [fetchmode_object_class] => stdClass
                                                                                                    [was_connected] => 
                                                                                                    [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                            [0] => 1903
                                                                                                        )

                                                                                                    [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
                                                                                                        (
                                                                                                        )

                                                                                                )

                                                                                            [4] => Array
 *RECURSION*
                                                                                        )

                                                                                )

                                                                            [10] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/controller.php
                                                                                    [line] => 339
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                            [11] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/index.php
                                                                                    [line] => 129
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/controller.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                        )

                                                                    [callback] => 
                                                                )

                                                        )

                                                    [2] => Array
                                                        (
                                                            [error] => db error
                                                            [type] => undefined error
                                                            [inner] => DB_Error Object
                                                                (
                                                                    [error_message_prefix] => 
                                                                    [mode] => 1
                                                                    [level] => 1024
                                                                    [code] => -14
                                                                    [message] => DB Error: no database selected
                                                                    [userinfo] => select * from t_video_recipes where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                    [backtrace] => Array
                                                                        (
                                                                            [0] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB.php
                                                                                    [line] => 966
                                                                                    [function] => PEAR_Error
                                                                                    [class] => PEAR_Error
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => DB Error: no database selected
                                                                                            [1] => -14
                                                                                            [2] => 1
                                                                                            [3] => 1024
                                                                                            [4] => select * from t_video_recipes where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [1] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/PEAR.php
                                                                                    [line] => 531
                                                                                    [function] => DB_Error
                                                                                    [class] => DB_Error
                                                                                    [object] => DB_Error Object
 *RECURSION*
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => -14
                                                                                            [1] => 1
                                                                                            [2] => 1024
                                                                                            [3] => select * from t_video_recipes where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [2] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => select * from t_video_recipes where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                            [5] => DB_Error
                                                                                            [6] => 1
                                                                                        )

                                                                                )

                                                                            [3] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                            [1] => 
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 2006 ** MySQL server has gone away
                                                                                        )

                                                                                )

                                                                            [4] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/mysql.php
                                                                                    [line] => 308
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                        )

                                                                                )

                                                                            [5] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1012
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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 t_video_recipes where recipe_id = 1903
                                                                                        )

                                                                                )

                                                                            [6] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1660
                                                                                    [function] => execute
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => 9
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [7] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/data_manager.php
                                                                                    [line] => 11
                                                                                    [function] => getAll
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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 t_video_recipes where recipe_id = ?
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [8] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                    [line] => 336
                                                                                    [function] => generic_select
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => select * from t_video_recipes where recipe_id = ?
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [2] => 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 #31
                                                                                                    [dsn] => Array
                                                                                                        (
                                                                                                            [phptype] => mysql
                                                                                                            [dbsyntax] => mysql
                                                                                                            [username] => dobrinov_1001
                                                                                                            [password] => 123456
                                                                                                            [protocol] => tcp
                                                                                                            [hostspec] => localhost
                                                                                                            [port] => 
                                                                                                            [socket] => 
                                                                                                            [database] => dobrinov_1001
                                                                                                        )

                                                                                                    [autocommit] => 1
                                                                                                    [transaction_opcount] => 0
                                                                                                    [_db] => dobrinov_1001
                                                                                                    [fetchmode] => 2
                                                                                                    [fetchmode_object_class] => stdClass
                                                                                                    [was_connected] => 
                                                                                                    [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                            [0] => 1903
                                                                                                        )

                                                                                                    [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
                                                                                                        (
                                                                                                        )

                                                                                                )

                                                                                            [3] => Array
 *RECURSION*
                                                                                        )

                                                                                )

                                                                            [9] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/controller.php
                                                                                    [line] => 339
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                            [10] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/index.php
                                                                                    [line] => 129
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/controller.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                        )

                                                                    [callback] => 
                                                                )

                                                        )

                                                    [3] => Array
                                                        (
                                                            [error] => db error
                                                            [type] => undefined error
                                                            [inner] => DB_Error Object
                                                                (
                                                                    [error_message_prefix] => 
                                                                    [mode] => 1
                                                                    [level] => 1024
                                                                    [code] => -14
                                                                    [message] => DB Error: no database selected
                                                                    [userinfo] => select * from t_recipe_similar_search where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                    [backtrace] => Array
                                                                        (
                                                                            [0] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB.php
                                                                                    [line] => 966
                                                                                    [function] => PEAR_Error
                                                                                    [class] => PEAR_Error
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => DB Error: no database selected
                                                                                            [1] => -14
                                                                                            [2] => 1
                                                                                            [3] => 1024
                                                                                            [4] => select * from t_recipe_similar_search where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [1] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/PEAR.php
                                                                                    [line] => 531
                                                                                    [function] => DB_Error
                                                                                    [class] => DB_Error
                                                                                    [object] => DB_Error Object
 *RECURSION*
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => -14
                                                                                            [1] => 1
                                                                                            [2] => 1024
                                                                                            [3] => select * from t_recipe_similar_search where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [2] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => select * from t_recipe_similar_search where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                            [5] => DB_Error
                                                                                            [6] => 1
                                                                                        )

                                                                                )

                                                                            [3] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                            [1] => 
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 2006 ** MySQL server has gone away
                                                                                        )

                                                                                )

                                                                            [4] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/mysql.php
                                                                                    [line] => 308
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                        )

                                                                                )

                                                                            [5] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1012
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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 t_recipe_similar_search where recipe_id = 1903
                                                                                        )

                                                                                )

                                                                            [6] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1660
                                                                                    [function] => execute
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => 10
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [7] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/data_manager.php
                                                                                    [line] => 11
                                                                                    [function] => getAll
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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 t_recipe_similar_search where recipe_id = ?
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [8] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                    [line] => 359
                                                                                    [function] => generic_select
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => select * from t_recipe_similar_search where recipe_id = ?
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [2] => 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 #31
                                                                                                    [dsn] => Array
                                                                                                        (
                                                                                                            [phptype] => mysql
                                                                                                            [dbsyntax] => mysql
                                                                                                            [username] => dobrinov_1001
                                                                                                            [password] => 123456
                                                                                                            [protocol] => tcp
                                                                                                            [hostspec] => localhost
                                                                                                            [port] => 
                                                                                                            [socket] => 
                                                                                                            [database] => dobrinov_1001
                                                                                                        )

                                                                                                    [autocommit] => 1
                                                                                                    [transaction_opcount] => 0
                                                                                                    [_db] => dobrinov_1001
                                                                                                    [fetchmode] => 2
                                                                                                    [fetchmode_object_class] => stdClass
                                                                                                    [was_connected] => 
                                                                                                    [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                            [0] => 1903
                                                                                                        )

                                                                                                    [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
                                                                                                        (
                                                                                                        )

                                                                                                )

                                                                                            [3] => Array
 *RECURSION*
                                                                                        )

                                                                                )

                                                                            [9] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/controller.php
                                                                                    [line] => 339
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                            [10] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/index.php
                                                                                    [line] => 129
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/controller.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                        )

                                                                    [callback] => 
                                                                )

                                                        )

                                                    [4] => Array
                                                        (
                                                            [error] => db error
                                                            [type] => undefined error
                                                            [inner] => DB_Error Object
                                                                (
                                                                    [error_message_prefix] => 
                                                                    [mode] => 1
                                                                    [level] => 1024
                                                                    [code] => -14
                                                                    [message] => DB Error: no database selected
                                                                    [userinfo] => select * from t_serp_url where url_type = 'r' and ext_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                    [backtrace] => Array
                                                                        (
                                                                            [0] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB.php
                                                                                    [line] => 966
                                                                                    [function] => PEAR_Error
                                                                                    [class] => PEAR_Error
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => DB Error: no database selected
                                                                                            [1] => -14
                                                                                            [2] => 1
                                                                                            [3] => 1024
                                                                                            [4] => select * from t_serp_url where url_type = 'r' and ext_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [1] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/PEAR.php
                                                                                    [line] => 531
                                                                                    [function] => DB_Error
                                                                                    [class] => DB_Error
                                                                                    [object] => DB_Error Object
 *RECURSION*
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => -14
                                                                                            [1] => 1
                                                                                            [2] => 1024
                                                                                            [3] => select * from t_serp_url where url_type = 'r' and ext_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [2] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => select * from t_serp_url where url_type = 'r' and ext_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                            [5] => DB_Error
                                                                                            [6] => 1
                                                                                        )

                                                                                )

                                                                            [3] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                            [1] => 
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 2006 ** MySQL server has gone away
                                                                                        )

                                                                                )

                                                                            [4] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/mysql.php
                                                                                    [line] => 308
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                        )

                                                                                )

                                                                            [5] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1012
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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 t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                        )

                                                                                )

                                                                            [6] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1660
                                                                                    [function] => execute
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => 12
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [7] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/data_manager.php
                                                                                    [line] => 11
                                                                                    [function] => getAll
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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 t_serp_url where url_type = 'r' and ext_id = ?
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [8] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                    [line] => 377
                                                                                    [function] => generic_select
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => select * from t_serp_url where url_type = 'r' and ext_id = ?
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [2] => 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 #31
                                                                                                    [dsn] => Array
                                                                                                        (
                                                                                                            [phptype] => mysql
                                                                                                            [dbsyntax] => mysql
                                                                                                            [username] => dobrinov_1001
                                                                                                            [password] => 123456
                                                                                                            [protocol] => tcp
                                                                                                            [hostspec] => localhost
                                                                                                            [port] => 
                                                                                                            [socket] => 
                                                                                                            [database] => dobrinov_1001
                                                                                                        )

                                                                                                    [autocommit] => 1
                                                                                                    [transaction_opcount] => 0
                                                                                                    [_db] => dobrinov_1001
                                                                                                    [fetchmode] => 2
                                                                                                    [fetchmode_object_class] => stdClass
                                                                                                    [was_connected] => 
                                                                                                    [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                            [0] => 1903
                                                                                                        )

                                                                                                    [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
                                                                                                        (
                                                                                                        )

                                                                                                )

                                                                                            [3] => Array
 *RECURSION*
                                                                                        )

                                                                                )

                                                                            [9] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/controller.php
                                                                                    [line] => 339
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                            [10] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/index.php
                                                                                    [line] => 129
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/controller.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                        )

                                                                    [callback] => 
                                                                )

                                                        )

                                                )

                                        )

                                )

                            [10] => Array
                                (
                                    [file] => /home/dobrinov/public_html/controller.php
                                    [line] => 339
                                    [args] => Array
                                        (
                                            [0] => /home/dobrinov/public_html/recipe/code_behind.php
                                        )

                                    [function] => require_once
                                )

                            [11] => Array
                                (
                                    [file] => /home/dobrinov/public_html/recipe/index.php
                                    [line] => 129
                                    [args] => Array
                                        (
                                            [0] => /home/dobrinov/public_html/controller.php
                                        )

                                    [function] => require_once
                                )

                        )

                    [callback] => 
                )

        )

    [1] => Array
        (
            [error] => undefined db error
            [type] => undefined error
            [inner] => DB_Error Object
                (
                    [error_message_prefix] => 
                    [mode] => 1
                    [level] => 1024
                    [code] => -14
                    [message] => DB Error: no database selected
                    [userinfo] => 
	select	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = NULL then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = 1100001903
	 order by
			t.date_added, thread_id [nativecode=2006 ** MySQL server has gone away]
                    [backtrace] => Array
                        (
                            [0] => Array
                                (
                                    [file] => /home/dobrinov/public_html/DB.php
                                    [line] => 966
                                    [function] => PEAR_Error
                                    [class] => PEAR_Error
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => DB Error: no database selected
                                            [1] => -14
                                            [2] => 1
                                            [3] => 1024
                                            [4] => 
	select	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = NULL then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = 1100001903
	 order by
			t.date_added, thread_id [nativecode=2006 ** MySQL server has gone away]
                                        )

                                )

                            [1] => Array
                                (
                                    [file] => /home/dobrinov/public_html/PEAR.php
                                    [line] => 531
                                    [function] => DB_Error
                                    [class] => DB_Error
                                    [object] => DB_Error Object
 *RECURSION*
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => -14
                                            [1] => 1
                                            [2] => 1024
                                            [3] => 
	select	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = NULL then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = 1100001903
	 order by
			t.date_added, thread_id [nativecode=2006 ** MySQL server has gone away]
                                        )

                                )

                            [2] => Array
                                (
                                    [file] => /home/dobrinov/public_html/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 #31
                                            [dsn] => Array
                                                (
                                                    [phptype] => mysql
                                                    [dbsyntax] => mysql
                                                    [username] => dobrinov_1001
                                                    [password] => 123456
                                                    [protocol] => tcp
                                                    [hostspec] => localhost
                                                    [port] => 
                                                    [socket] => 
                                                    [database] => dobrinov_1001
                                                )

                                            [autocommit] => 1
                                            [transaction_opcount] => 0
                                            [_db] => dobrinov_1001
                                            [fetchmode] => 2
                                            [fetchmode_object_class] => stdClass
                                            [was_connected] => 
                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                    [0] => 1903
                                                )

                                            [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] => -14
                                            [2] => 
                                            [3] => 
                                            [4] => 
	select	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = NULL then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = 1100001903
	 order by
			t.date_added, thread_id [nativecode=2006 ** MySQL server has gone away]
                                            [5] => DB_Error
                                            [6] => 1
                                        )

                                )

                            [3] => Array
                                (
                                    [file] => /home/dobrinov/public_html/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 #31
                                            [dsn] => Array
                                                (
                                                    [phptype] => mysql
                                                    [dbsyntax] => mysql
                                                    [username] => dobrinov_1001
                                                    [password] => 123456
                                                    [protocol] => tcp
                                                    [hostspec] => localhost
                                                    [port] => 
                                                    [socket] => 
                                                    [database] => dobrinov_1001
                                                )

                                            [autocommit] => 1
                                            [transaction_opcount] => 0
                                            [_db] => dobrinov_1001
                                            [fetchmode] => 2
                                            [fetchmode_object_class] => stdClass
                                            [was_connected] => 
                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                    [0] => 1903
                                                )

                                            [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] => -14
                                            [1] => 
                                            [2] => 
                                            [3] => 
                                            [4] => 2006 ** MySQL server has gone away
                                        )

                                )

                            [4] => Array
                                (
                                    [file] => /home/dobrinov/public_html/DB/mysql.php
                                    [line] => 308
                                    [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 #31
                                            [dsn] => Array
                                                (
                                                    [phptype] => mysql
                                                    [dbsyntax] => mysql
                                                    [username] => dobrinov_1001
                                                    [password] => 123456
                                                    [protocol] => tcp
                                                    [hostspec] => localhost
                                                    [port] => 
                                                    [socket] => 
                                                    [database] => dobrinov_1001
                                                )

                                            [autocommit] => 1
                                            [transaction_opcount] => 0
                                            [_db] => dobrinov_1001
                                            [fetchmode] => 2
                                            [fetchmode_object_class] => stdClass
                                            [was_connected] => 
                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                    [0] => 1903
                                                )

                                            [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] => -14
                                        )

                                )

                            [5] => Array
                                (
                                    [file] => /home/dobrinov/public_html/DB/common.php
                                    [line] => 1012
                                    [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 #31
                                            [dsn] => Array
                                                (
                                                    [phptype] => mysql
                                                    [dbsyntax] => mysql
                                                    [username] => dobrinov_1001
                                                    [password] => 123456
                                                    [protocol] => tcp
                                                    [hostspec] => localhost
                                                    [port] => 
                                                    [socket] => 
                                                    [database] => dobrinov_1001
                                                )

                                            [autocommit] => 1
                                            [transaction_opcount] => 0
                                            [_db] => dobrinov_1001
                                            [fetchmode] => 2
                                            [fetchmode_object_class] => stdClass
                                            [was_connected] => 
                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                    [0] => 1903
                                                )

                                            [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	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = NULL then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = 1100001903
	 order by
			t.date_added, thread_id
                                        )

                                )

                            [6] => Array
                                (
                                    [file] => /home/dobrinov/public_html/DB/common.php
                                    [line] => 1660
                                    [function] => execute
                                    [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 #31
                                            [dsn] => Array
                                                (
                                                    [phptype] => mysql
                                                    [dbsyntax] => mysql
                                                    [username] => dobrinov_1001
                                                    [password] => 123456
                                                    [protocol] => tcp
                                                    [hostspec] => localhost
                                                    [port] => 
                                                    [socket] => 
                                                    [database] => dobrinov_1001
                                                )

                                            [autocommit] => 1
                                            [transaction_opcount] => 0
                                            [_db] => dobrinov_1001
                                            [fetchmode] => 2
                                            [fetchmode_object_class] => stdClass
                                            [was_connected] => 
                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                    [0] => 1903
                                                )

                                            [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] => 8
                                            [1] => Array
                                                (
                                                    [0] => 
                                                    [1] => 1100001903
                                                )

                                        )

                                )

                            [7] => Array
                                (
                                    [file] => /home/dobrinov/public_html/sql_forum_tmp.php
                                    [line] => 785
                                    [function] => getAll
                                    [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 #31
                                            [dsn] => Array
                                                (
                                                    [phptype] => mysql
                                                    [dbsyntax] => mysql
                                                    [username] => dobrinov_1001
                                                    [password] => 123456
                                                    [protocol] => tcp
                                                    [hostspec] => localhost
                                                    [port] => 
                                                    [socket] => 
                                                    [database] => dobrinov_1001
                                                )

                                            [autocommit] => 1
                                            [transaction_opcount] => 0
                                            [_db] => dobrinov_1001
                                            [fetchmode] => 2
                                            [fetchmode_object_class] => stdClass
                                            [was_connected] => 
                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                    [0] => 1903
                                                )

                                            [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	t.thread_id, t.date_added, t.date_modified, t.subject, t.content,
			t.creator_user_id, u.username as creator_username,
			t.ar, t.mr, t.cr, t.er, t.sr,	t.aw, t.mw, t.cw, t.ew, t.sw,	t.ac, t.mc, t.cc, t.ec, t.sc,
			case when t.creator_user_id = ? then 1 else 0 end as is_creator
	from	t_threads t
	join	t_users u on t.creator_user_id = u.user_id
	where	t.root_thread_id = ?
	 order by
			t.date_added, thread_id
                                            [1] => Array
                                                (
                                                    [0] => 
                                                    [1] => 1100001903
                                                )

                                        )

                                )

                            [8] => Array
                                (
                                    [file] => /home/dobrinov/public_html/sql_forum_tmp.php
                                    [line] => 1263
                                    [function] => select_thread_contents
                                    [args] => Array
                                        (
                                            [0] => 1100001903
                                            [1] => 
                                            [2] => 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 #31
                                                    [dsn] => Array
                                                        (
                                                            [phptype] => mysql
                                                            [dbsyntax] => mysql
                                                            [username] => dobrinov_1001
                                                            [password] => 123456
                                                            [protocol] => tcp
                                                            [hostspec] => localhost
                                                            [port] => 
                                                            [socket] => 
                                                            [database] => dobrinov_1001
                                                        )

                                                    [autocommit] => 1
                                                    [transaction_opcount] => 0
                                                    [_db] => dobrinov_1001
                                                    [fetchmode] => 2
                                                    [fetchmode_object_class] => stdClass
                                                    [was_connected] => 
                                                    [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                    [options] => Array
                                                        (
                                                            [result_buffering] => 500
                                                            [persistent] => 
                                                            [ssl] => 
                                                            [debug] => 0
                                                            [seqname_format] => %s_seq
                                                            [autofree] => 
                                                            [portability] => 0
                                                            [optimize] => performance
                                                        )

                                                    [last_parameters] => Array
                                                        (
                                                            [0] => 1903
                                                        )

                                                    [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
                                                        (
                                                        )

                                                )

                                            [3] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [error] => undefined db error
                                                            [type] => undefined error
                                                            [inner] => DB_Error Object
                                                                (
                                                                    [error_message_prefix] => 
                                                                    [mode] => 1
                                                                    [level] => 1024
                                                                    [code] => -1
                                                                    [message] => DB Error: unknown error
                                                                    [userinfo] => 
	update	t_threads
	set		views = views + 1
	where	thread_id = 1100001903 [nativecode=2013 ** Lost connection to MySQL server during query]
                                                                    [backtrace] => Array
                                                                        (
                                                                            [0] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB.php
                                                                                    [line] => 966
                                                                                    [function] => PEAR_Error
                                                                                    [class] => PEAR_Error
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => DB Error: unknown error
                                                                                            [1] => -1
                                                                                            [2] => 1
                                                                                            [3] => 1024
                                                                                            [4] => 
	update	t_threads
	set		views = views + 1
	where	thread_id = 1100001903 [nativecode=2013 ** Lost connection to MySQL server during query]
                                                                                        )

                                                                                )

                                                                            [1] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/PEAR.php
                                                                                    [line] => 531
                                                                                    [function] => DB_Error
                                                                                    [class] => DB_Error
                                                                                    [object] => DB_Error Object
 *RECURSION*
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => -1
                                                                                            [1] => 1
                                                                                            [2] => 1024
                                                                                            [3] => 
	update	t_threads
	set		views = views + 1
	where	thread_id = 1100001903 [nativecode=2013 ** Lost connection to MySQL server during query]
                                                                                        )

                                                                                )

                                                                            [2] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -1
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 
	update	t_threads
	set		views = views + 1
	where	thread_id = 1100001903 [nativecode=2013 ** Lost connection to MySQL server during query]
                                                                                            [5] => DB_Error
                                                                                            [6] => 1
                                                                                        )

                                                                                )

                                                                            [3] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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
                                                                                            [1] => 
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 2013 ** Lost connection to MySQL server during query
                                                                                        )

                                                                                )

                                                                            [4] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1012
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => 
	update	t_threads
	set		views = views + 1
	where	thread_id = 1100001903
                                                                                        )

                                                                                )

                                                                            [6] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1211
                                                                                    [function] => execute
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => 7
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1
                                                                                                    [1] => 1100001903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [7] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/sql_forum_tmp.php
                                                                                    [line] => 602
                                                                                    [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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => 
	update	t_threads
	set		views = views + ?
	where	thread_id = ?
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 1
                                                                                                    [1] => 1100001903
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [8] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/sql_forum_tmp.php
                                                                                    [line] => 1261
                                                                                    [function] => increase_thread_views_count
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 1100001903
                                                                                            [1] => 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 #31
                                                                                                    [dsn] => Array
                                                                                                        (
                                                                                                            [phptype] => mysql
                                                                                                            [dbsyntax] => mysql
                                                                                                            [username] => dobrinov_1001
                                                                                                            [password] => 123456
                                                                                                            [protocol] => tcp
                                                                                                            [hostspec] => localhost
                                                                                                            [port] => 
                                                                                                            [socket] => 
                                                                                                            [database] => dobrinov_1001
                                                                                                        )

                                                                                                    [autocommit] => 1
                                                                                                    [transaction_opcount] => 0
                                                                                                    [_db] => dobrinov_1001
                                                                                                    [fetchmode] => 2
                                                                                                    [fetchmode_object_class] => stdClass
                                                                                                    [was_connected] => 
                                                                                                    [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                            [0] => 1903
                                                                                                        )

                                                                                                    [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
                                                                                                        (
                                                                                                        )

                                                                                                )

                                                                                            [2] => Array
 *RECURSION*
                                                                                        )

                                                                                )

                                                                            [9] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                    [line] => 204
                                                                                    [function] => threads_api_get_thread
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 1100001903
                                                                                            [1] => 
                                                                                            [2] => 
                                                                                            [3] => 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 #31
                                                                                                    [dsn] => Array
                                                                                                        (
                                                                                                            [phptype] => mysql
                                                                                                            [dbsyntax] => mysql
                                                                                                            [username] => dobrinov_1001
                                                                                                            [password] => 123456
                                                                                                            [protocol] => tcp
                                                                                                            [hostspec] => localhost
                                                                                                            [port] => 
                                                                                                            [socket] => 
                                                                                                            [database] => dobrinov_1001
                                                                                                        )

                                                                                                    [autocommit] => 1
                                                                                                    [transaction_opcount] => 0
                                                                                                    [_db] => dobrinov_1001
                                                                                                    [fetchmode] => 2
                                                                                                    [fetchmode_object_class] => stdClass
                                                                                                    [was_connected] => 
                                                                                                    [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                            [0] => 1903
                                                                                                        )

                                                                                                    [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
                                                                                                        (
                                                                                                        )

                                                                                                )

                                                                                            [4] => Array
 *RECURSION*
                                                                                        )

                                                                                )

                                                                            [10] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/controller.php
                                                                                    [line] => 339
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/recipe/code_behind.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                            [11] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/recipe/index.php
                                                                                    [line] => 129
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => /home/dobrinov/public_html/controller.php
                                                                                        )

                                                                                    [function] => require_once
                                                                                )

                                                                        )

                                                                    [callback] => 
                                                                )

                                                        )

                                                    [1] => Array
 *RECURSION*
                                                    [2] => Array
                                                        (
                                                            [error] => db error
                                                            [type] => undefined error
                                                            [inner] => DB_Error Object
                                                                (
                                                                    [error_message_prefix] => 
                                                                    [mode] => 1
                                                                    [level] => 1024
                                                                    [code] => -14
                                                                    [message] => DB Error: no database selected
                                                                    [userinfo] => select * from t_video_recipes where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                    [backtrace] => Array
                                                                        (
                                                                            [0] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB.php
                                                                                    [line] => 966
                                                                                    [function] => PEAR_Error
                                                                                    [class] => PEAR_Error
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => DB Error: no database selected
                                                                                            [1] => -14
                                                                                            [2] => 1
                                                                                            [3] => 1024
                                                                                            [4] => select * from t_video_recipes where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [1] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/PEAR.php
                                                                                    [line] => 531
                                                                                    [function] => DB_Error
                                                                                    [class] => DB_Error
                                                                                    [object] => DB_Error Object
 *RECURSION*
                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => -14
                                                                                            [1] => 1
                                                                                            [2] => 1024
                                                                                            [3] => select * from t_video_recipes where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                        )

                                                                                )

                                                                            [2] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001
                                                                                                    [password] => 123456
                                                                                                    [protocol] => tcp
                                                                                                    [hostspec] => localhost
                                                                                                    [port] => 
                                                                                                    [socket] => 
                                                                                                    [database] => dobrinov_1001
                                                                                                )

                                                                                            [autocommit] => 1
                                                                                            [transaction_opcount] => 0
                                                                                            [_db] => dobrinov_1001
                                                                                            [fetchmode] => 2
                                                                                            [fetchmode_object_class] => stdClass
                                                                                            [was_connected] => 
                                                                                            [last_query] => select * from t_serp_url where url_type = 'r' and ext_id = 1903
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                    [0] => 1903
                                                                                                )

                                                                                            [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] => -14
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => select * from t_video_recipes where recipe_id = 1903 [nativecode=2006 ** MySQL server has gone away]
                                                                                            [5] => DB_Error
                                                                                            [6] => 1
                                                                                        )

                                                                                )

                                                                            [3] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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 #31
                                                                                            [dsn] => Array
                                                                                                (
                                                                                                    [phptype] => mysql
                                                                                                    [dbsyntax] => mysql
                                                                                                    [username] => dobrinov_1001