Array
(
    [0] => Array
        (
            [error] => db error
            [type] => undefined error
            [inner] => DB_Error Object
                (
                    [error_message_prefix] => 
                    [mode] => 1
                    [level] => 1024
                    [code] => -1
                    [message] => DB Error: unknown error
                    [userinfo] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	10
 [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                    [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] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	10
 [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                        )

                                )

                            [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] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	10
 [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                        )

                                )

                            [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 #29
                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                )

                                            [prepare_tokens] => Array
                                                (
                                                )

                                            [prepare_types] => Array
                                                (
                                                )

                                            [prepared_queries] => Array
                                                (
                                                )

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

                                        )

                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
                                            [1] => -1
                                            [2] => 
                                            [3] => 
                                            [4] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	10
 [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                            [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 #29
                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                )

                                            [prepare_tokens] => Array
                                                (
                                                )

                                            [prepare_types] => Array
                                                (
                                                )

                                            [prepared_queries] => Array
                                                (
                                                )

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

                                        )

                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => -1
                                            [1] => 
                                            [2] => 
                                            [3] => 
                                            [4] => 1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)
                                        )

                                )

                            [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 #29
                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                )

                                            [prepare_tokens] => Array
                                                (
                                                )

                                            [prepare_types] => Array
                                                (
                                                )

                                            [prepared_queries] => Array
                                                (
                                                )

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

                                        )

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

                                )

                            [5] => Array
                                (
                                    [file] => /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 #29
                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                )

                                            [prepare_tokens] => Array
                                                (
                                                )

                                            [prepare_types] => Array
                                                (
                                                )

                                            [prepared_queries] => Array
                                                (
                                                )

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

                                        )

                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	10

                                        )

                                )

                            [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 #29
                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                )

                                            [prepare_tokens] => Array
                                                (
                                                )

                                            [prepare_types] => Array
                                                (
                                                )

                                            [prepared_queries] => Array
                                                (
                                                )

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

                                        )

                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 4
                                            [1] => Array
                                                (
                                                    [0] => 10
                                                )

                                        )

                                )

                            [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 #29
                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                )

                                            [prepare_tokens] => Array
                                                (
                                                )

                                            [prepare_types] => Array
                                                (
                                                )

                                            [prepared_queries] => Array
                                                (
                                                )

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

                                        )

                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	?

                                            [1] => Array
                                                (
                                                    [0] => 10
                                                )

                                        )

                                )

                            [8] => Array
                                (
                                    [file] => /home/dobrinov/public_html/data_manager.php
                                    [line] => 2748
                                    [function] => generic_select
                                    [args] => Array
                                        (
                                            [0] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	?

                                            [1] => Array
                                                (
                                                    [0] => 10
                                                )

                                            [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 #29
                                                    [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                    [options] => Array
                                                        (
                                                            [result_buffering] => 500
                                                            [persistent] => 
                                                            [ssl] => 
                                                            [debug] => 0
                                                            [seqname_format] => %s_seq
                                                            [autofree] => 
                                                            [portability] => 0
                                                            [optimize] => performance
                                                        )

                                                    [last_parameters] => Array
                                                        (
                                                        )

                                                    [prepare_tokens] => Array
                                                        (
                                                        )

                                                    [prepare_types] => Array
                                                        (
                                                        )

                                                    [prepared_queries] => Array
                                                        (
                                                        )

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

                                                )

                                            [3] => Array
                                                (
                                                    [0] => Array
 *RECURSION*
                                                    [1] => Array
                                                        (
                                                            [error] => db error
                                                            [type] => undefined error
                                                            [inner] => DB_Error Object
                                                                (
                                                                    [error_message_prefix] => 
                                                                    [mode] => 1
                                                                    [level] => 1024
                                                                    [code] => -1
                                                                    [message] => DB Error: unknown error
                                                                    [userinfo] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                                                    [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] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                                                                        )

                                                                                )

                                                                            [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] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                                                                        )

                                                                                )

                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
                                                                                            [1] => -1
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => -1
                                                                                            [1] => 
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)
                                                                                        )

                                                                                )

                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

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

                                                                                )

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

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

                                                                                            [connection] => Resource id #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                        )

                                                                                )

                                                                            [6] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1663
                                                                                    [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                        )

                                                                                )

                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [1] => Array
                                                                                                (
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [8] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/code_behind.php
                                                                                    [line] => 121
                                                                                    [function] => generic_select
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [1] => Array
                                                                                                (
                                                                                                )

                                                                                            [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 #29
                                                                                                    [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepare_tokens] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepare_types] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepared_queries] => Array
                                                                                                        (
                                                                                                        )

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

                                                                                                )

                                                                                            [3] => Array
 *RECURSION*
                                                                                        )

                                                                                )

                                                                            [9] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/code_behind.php
                                                                                    [line] => 99
                                                                                    [function] => get_gallery
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 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 #29
                                                                                                    [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepare_tokens] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepare_types] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepared_queries] => Array
                                                                                                        (
                                                                                                        )

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

                                                                                                )

                                                                                            [1] => Array
 *RECURSION*
                                                                                        )

                                                                                )

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

                                                                                    [function] => require_once
                                                                                )

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

                                                                                    [function] => require_once
                                                                                )

                                                                        )

                                                                    [callback] => 
                                                                )

                                                        )

                                                )

                                        )

                                )

                            [9] => Array
                                (
                                    [file] => /home/dobrinov/public_html/code_behind.php
                                    [line] => 89
                                    [function] => select_most_popular_recipes_google
                                    [args] => Array
                                        (
                                            [0] => 10
                                            [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 #29
                                                    [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                    [options] => Array
                                                        (
                                                            [result_buffering] => 500
                                                            [persistent] => 
                                                            [ssl] => 
                                                            [debug] => 0
                                                            [seqname_format] => %s_seq
                                                            [autofree] => 
                                                            [portability] => 0
                                                            [optimize] => performance
                                                        )

                                                    [last_parameters] => Array
                                                        (
                                                        )

                                                    [prepare_tokens] => Array
                                                        (
                                                        )

                                                    [prepare_types] => Array
                                                        (
                                                        )

                                                    [prepared_queries] => Array
                                                        (
                                                        )

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

                                                )

                                            [2] => Array
                                                (
                                                    [0] => Array
 *RECURSION*
                                                    [1] => Array
                                                        (
                                                            [error] => db error
                                                            [type] => undefined error
                                                            [inner] => DB_Error Object
                                                                (
                                                                    [error_message_prefix] => 
                                                                    [mode] => 1
                                                                    [level] => 1024
                                                                    [code] => -1
                                                                    [message] => DB Error: unknown error
                                                                    [userinfo] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                                                    [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] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                                                                        )

                                                                                )

                                                                            [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] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                                                                        )

                                                                                )

                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
                                                                                            [1] => -1
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => -1
                                                                                            [1] => 
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)
                                                                                        )

                                                                                )

                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

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

                                                                                )

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

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

                                                                                            [connection] => Resource id #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                        )

                                                                                )

                                                                            [6] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/DB/common.php
                                                                                    [line] => 1663
                                                                                    [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                        )

                                                                                )

                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [1] => Array
                                                                                                (
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [8] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/code_behind.php
                                                                                    [line] => 121
                                                                                    [function] => generic_select
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [1] => Array
                                                                                                (
                                                                                                )

                                                                                            [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 #29
                                                                                                    [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepare_tokens] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepare_types] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepared_queries] => Array
                                                                                                        (
                                                                                                        )

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

                                                                                                )

                                                                                            [3] => Array
 *RECURSION*
                                                                                        )

                                                                                )

                                                                            [9] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/code_behind.php
                                                                                    [line] => 99
                                                                                    [function] => get_gallery
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 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 #29
                                                                                                    [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepare_tokens] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepare_types] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepared_queries] => Array
                                                                                                        (
                                                                                                        )

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

                                                                                                )

                                                                                            [1] => Array
 *RECURSION*
                                                                                        )

                                                                                )

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

                                                                                    [function] => require_once
                                                                                )

                                                                            [11] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/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] => 370
                                    [args] => Array
                                        (
                                            [0] => /home/dobrinov/public_html/code_behind.php
                                        )

                                    [function] => require_once
                                )

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

                                    [function] => require_once
                                )

                        )

                    [callback] => 
                )

        )

    [1] => Array
        (
            [error] => db error
            [type] => undefined error
            [inner] => DB_Error Object
                (
                    [error_message_prefix] => 
                    [mode] => 1
                    [level] => 1024
                    [code] => -1
                    [message] => DB Error: unknown error
                    [userinfo] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                    [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] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                        )

                                )

                            [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] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                        )

                                )

                            [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 #29
                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                )

                                            [prepare_tokens] => Array
                                                (
                                                )

                                            [prepare_types] => Array
                                                (
                                                )

                                            [prepared_queries] => Array
                                                (
                                                )

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

                                        )

                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
                                            [1] => -1
                                            [2] => 
                                            [3] => 
                                            [4] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                            [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 #29
                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                )

                                            [prepare_tokens] => Array
                                                (
                                                )

                                            [prepare_types] => Array
                                                (
                                                )

                                            [prepared_queries] => Array
                                                (
                                                )

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

                                        )

                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => -1
                                            [1] => 
                                            [2] => 
                                            [3] => 
                                            [4] => 1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)
                                        )

                                )

                            [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 #29
                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                )

                                            [prepare_tokens] => Array
                                                (
                                                )

                                            [prepare_types] => Array
                                                (
                                                )

                                            [prepared_queries] => Array
                                                (
                                                )

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

                                        )

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

                                )

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

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

                                            [connection] => Resource id #29
                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                )

                                            [prepare_tokens] => Array
                                                (
                                                )

                                            [prepare_types] => Array
                                                (
                                                )

                                            [prepared_queries] => Array
                                                (
                                                )

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

                                        )

                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                        )

                                )

                            [6] => Array
                                (
                                    [file] => /home/dobrinov/public_html/DB/common.php
                                    [line] => 1663
                                    [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 #29
                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                )

                                            [prepare_tokens] => Array
                                                (
                                                )

                                            [prepare_types] => Array
                                                (
                                                )

                                            [prepared_queries] => Array
                                                (
                                                )

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

                                        )

                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                        )

                                )

                            [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 #29
                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                            [options] => Array
                                                (
                                                    [result_buffering] => 500
                                                    [persistent] => 
                                                    [ssl] => 
                                                    [debug] => 0
                                                    [seqname_format] => %s_seq
                                                    [autofree] => 
                                                    [portability] => 0
                                                    [optimize] => performance
                                                )

                                            [last_parameters] => Array
                                                (
                                                )

                                            [prepare_tokens] => Array
                                                (
                                                )

                                            [prepare_types] => Array
                                                (
                                                )

                                            [prepared_queries] => Array
                                                (
                                                )

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

                                        )

                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                            [1] => Array
                                                (
                                                )

                                        )

                                )

                            [8] => Array
                                (
                                    [file] => /home/dobrinov/public_html/code_behind.php
                                    [line] => 121
                                    [function] => generic_select
                                    [args] => Array
                                        (
                                            [0] => 
	select	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                            [1] => Array
                                                (
                                                )

                                            [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 #29
                                                    [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                    [options] => Array
                                                        (
                                                            [result_buffering] => 500
                                                            [persistent] => 
                                                            [ssl] => 
                                                            [debug] => 0
                                                            [seqname_format] => %s_seq
                                                            [autofree] => 
                                                            [portability] => 0
                                                            [optimize] => performance
                                                        )

                                                    [last_parameters] => Array
                                                        (
                                                        )

                                                    [prepare_tokens] => Array
                                                        (
                                                        )

                                                    [prepare_types] => Array
                                                        (
                                                        )

                                                    [prepared_queries] => Array
                                                        (
                                                        )

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

                                                )

                                            [3] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [error] => db error
                                                            [type] => undefined error
                                                            [inner] => DB_Error Object
                                                                (
                                                                    [error_message_prefix] => 
                                                                    [mode] => 1
                                                                    [level] => 1024
                                                                    [code] => -1
                                                                    [message] => DB Error: unknown error
                                                                    [userinfo] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	10
 [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                                                    [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] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	10
 [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                                                                        )

                                                                                )

                                                                            [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] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	10
 [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                                                                        )

                                                                                )

                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
                                                                                            [1] => -1
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	10
 [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => -1
                                                                                            [1] => 
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)
                                                                                        )

                                                                                )

                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

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

                                                                                )

                                                                            [5] => Array
                                                                                (
                                                                                    [file] => /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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	10

                                                                                        )

                                                                                )

                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 4
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 10
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	?

                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 10
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [8] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/data_manager.php
                                                                                    [line] => 2748
                                                                                    [function] => generic_select
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	?

                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 10
                                                                                                )

                                                                                            [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 #29
                                                                                                    [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepare_tokens] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepare_types] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepared_queries] => Array
                                                                                                        (
                                                                                                        )

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

                                                                                                )

                                                                                            [3] => Array
 *RECURSION*
                                                                                        )

                                                                                )

                                                                            [9] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/code_behind.php
                                                                                    [line] => 89
                                                                                    [function] => select_most_popular_recipes_google
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 10
                                                                                            [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 #29
                                                                                                    [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepare_tokens] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepare_types] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepared_queries] => Array
                                                                                                        (
                                                                                                        )

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

                                                                                                )

                                                                                            [2] => Array
 *RECURSION*
                                                                                        )

                                                                                )

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

                                                                                    [function] => require_once
                                                                                )

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

                                                                                    [function] => require_once
                                                                                )

                                                                        )

                                                                    [callback] => 
                                                                )

                                                        )

                                                    [1] => Array
 *RECURSION*
                                                )

                                        )

                                )

                            [9] => Array
                                (
                                    [file] => /home/dobrinov/public_html/code_behind.php
                                    [line] => 99
                                    [function] => get_gallery
                                    [args] => Array
                                        (
                                            [0] => 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 #29
                                                    [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                    [options] => Array
                                                        (
                                                            [result_buffering] => 500
                                                            [persistent] => 
                                                            [ssl] => 
                                                            [debug] => 0
                                                            [seqname_format] => %s_seq
                                                            [autofree] => 
                                                            [portability] => 0
                                                            [optimize] => performance
                                                        )

                                                    [last_parameters] => Array
                                                        (
                                                        )

                                                    [prepare_tokens] => Array
                                                        (
                                                        )

                                                    [prepare_types] => Array
                                                        (
                                                        )

                                                    [prepared_queries] => Array
                                                        (
                                                        )

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

                                                )

                                            [1] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [error] => db error
                                                            [type] => undefined error
                                                            [inner] => DB_Error Object
                                                                (
                                                                    [error_message_prefix] => 
                                                                    [mode] => 1
                                                                    [level] => 1024
                                                                    [code] => -1
                                                                    [message] => DB Error: unknown error
                                                                    [userinfo] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	10
 [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                                                    [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] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	10
 [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                                                                        )

                                                                                )

                                                                            [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] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	10
 [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                                                                        )

                                                                                )

                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
                                                                                            [1] => -1
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	10
 [nativecode=1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)]
                                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => -1
                                                                                            [1] => 
                                                                                            [2] => 
                                                                                            [3] => 
                                                                                            [4] => 1016 ** Can't open file: './dobrinov_1001/t_recipe_photos.frm' (errno: 24)
                                                                                        )

                                                                                )

                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

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

                                                                                )

                                                                            [5] => Array
                                                                                (
                                                                                    [file] => /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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	10

                                                                                        )

                                                                                )

                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 4
                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 10
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [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 #29
                                                                                            [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [result_buffering] => 500
                                                                                                    [persistent] => 
                                                                                                    [ssl] => 
                                                                                                    [debug] => 0
                                                                                                    [seqname_format] => %s_seq
                                                                                                    [autofree] => 
                                                                                                    [portability] => 0
                                                                                                    [optimize] => performance
                                                                                                )

                                                                                            [last_parameters] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_tokens] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepare_types] => Array
                                                                                                (
                                                                                                )

                                                                                            [prepared_queries] => Array
                                                                                                (
                                                                                                )

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

                                                                                        )

                                                                                    [type] => ->
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	?

                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 10
                                                                                                )

                                                                                        )

                                                                                )

                                                                            [8] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/data_manager.php
                                                                                    [line] => 2748
                                                                                    [function] => generic_select
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 
	select 	r.recipe_id, r.title, f.filename, imp as rating
	from	ui_top_recipes_front_page rc
	join	t_recipes r on rc.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id and rp.size = 'size_2'
	join	t_files f on rp.file_id = f.file_id
	where current=1
	order by
		average_pos
	limit	?

                                                                                            [1] => Array
                                                                                                (
                                                                                                    [0] => 10
                                                                                                )

                                                                                            [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 #29
                                                                                                    [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepare_tokens] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepare_types] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepared_queries] => Array
                                                                                                        (
                                                                                                        )

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

                                                                                                )

                                                                                            [3] => Array
 *RECURSION*
                                                                                        )

                                                                                )

                                                                            [9] => Array
                                                                                (
                                                                                    [file] => /home/dobrinov/public_html/code_behind.php
                                                                                    [line] => 89
                                                                                    [function] => select_most_popular_recipes_google
                                                                                    [args] => Array
                                                                                        (
                                                                                            [0] => 10
                                                                                            [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 #29
                                                                                                    [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	r.recipe_id, r.title, f.filename, f.w, f.h, r.recipe_id_titled, m.grp
	from	m_recipes_volumes_grouped m
	join	t_recipes r on m.recipe_id = r.recipe_id
	join	t_recipe_photos rp on r.recipe_id = rp.recipe_id
	join	t_files f on rp.file_id = f.file_id
	where	size = 'size_5' and w is not null and h is not null
	order by grp, recipe_id desc
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [result_buffering] => 500
                                                                                                            [persistent] => 
                                                                                                            [ssl] => 
                                                                                                            [debug] => 0
                                                                                                            [seqname_format] => %s_seq
                                                                                                            [autofree] => 
                                                                                                            [portability] => 0
                                                                                                            [optimize] => performance
                                                                                                        )

                                                                                                    [last_parameters] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepare_tokens] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepare_types] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [prepared_queries] => Array
                                                                                                        (
                                                                                                        )

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

                                                                                                )

                                                                                            [2] => Array
 *RECURSION*
                                                                                        )

                                                                                )

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

                                                                                    [function] => require_once
                                                                                )

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

                                                                                    [function] => require_once
                                                                                )

                                                                        )

                                                                    [callback] => 
                                                                )

                                                        )

                                                    [1] => Array
 *RECURSION*
                                                )

                                        )

                                )

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

                                    [function] => require_once
                                )

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

                                    [function] => require_once
                                )

                        )

                    [callback] => 
                )

        )

)
1001 рецепти - сайт за готвене и кулинария

Търсачка на рецепти

Бързо търсене

1. Искам да сготвя: Избери / Премахни
 
 
 
3. Да е готово за: Избери / Премахни
 

Разширено търсене

Очаквайте скоро

Здравословно търсене

Очаквайте скоро
Следвайте ни в Twitter
Подкрепете ни във Facebook
© 2007-2026 1001 Рецепти ООД. Всички права запазени.