D 7.0.6 I don't know what happen with my Search block caption issue.. at first time install every things seem working fine on my site.. after done with design Join, edit and view profile page.. I got this issue.. and i try to check in Language manager that I can see caption language of search block is valid. was Clear Cache to see if it help.. but nothing happen for this reason..
and now wanna remove caption in search block.. how can i do it? which file?
my website is www.gayon.us
thank you for your help ;-)
I got this error by site admin email
Database error in GayOn.us - Connect with your gay friends all around the world! Query: INSERT INTO `sys_localization_keys`(`IDCategory`, `Key`) VALUES('1', '_FieldCaption_Sexual Info_Search ') Mysql error: Duplicate entry '_FieldCaption_Sexual Info_Search ' for key 2 Found error in the file '/home/gayonus/public_html/administration/lang_file.php' at line 117. Called 'query' function with erroneous argument #0. Debug backtrace: Array ( [1] => Array ( [file] => /home/gayonus/public_html/inc/classes/BxDolDb.php [line] => 253 [function] => error [class] => BxDolDb [type] => -> [object] => BxDolDb Object ( [error_checking] => 1 [error_message] => Duplicate entry '_FieldCaption_Sexual Info_Search ' for key 2 [host] => localhost [port] => [socket] => [dbname] => gayonus_main [user] => ***** [password] => ***** [link] => Resource id #30 [current_res] => [current_arr_type] => 1 [oParams] => BxDolParams Object ( [_oDb] => BxDolDb Object *RECURSION* [_oCache] => BxDolCacheFile Object ( [sPath] => /home/gayonus/public_html/cache/ [_error] => ) [_sCacheFile] => sys_options_35b74d04635540dc219e9aef96249afe.php [_aParams] => [truncated] [_error] => ) [oDbCacheObject] => BxDolCacheFile Object ( [sPath] => /home/gayonus/public_html/cache/ [_error] => ) [_error] => ) [args] => Array ( [0] => Database query error [1] => [2] => INSERT INTO `sys_localization_keys`(`IDCategory`, `Key`) VALUES('1', '_FieldCaption_Sexual Info_Search ') ) ) [2] => Array ( [file] => /home/gayonus/public_html/inc/classes/BxDolDb.php [line] => 221 [function] => res [class] => BxDolDb [type] => -> [object] => BxDolDb Object ( [error_checking] => 1 [error_message] => Duplicate entry '_FieldCaption_Sexual Info_Search ' for key 2 [host] => localhost [port] => [socket] => [dbname] => gayonus_main [user] => ***** [password] => ***** [link] => Resource id #30 [current_res] => [current_arr_type] => 1 [oParams] => BxDolParams Object ( [_oDb] => BxDolDb Object *RECURSION* [_oCache] => BxDolCacheFile Object ( [sPath] => /home/gayonus/public_html/cache/ [_error] => ) [_sCacheFile] => sys_options_35b74d04635540dc219e9aef96249afe.php [_aParams] => [truncated] [_error] => ) [oDbCacheObject] => BxDolCacheFile Object ( [sPath] => /home/gayonus/public_html/cache/ [_error] => ) [_error] => ) [args] => Array ( [0] => INSERT INTO `sys_localization_keys`(`IDCategory`, `Key`) VALUES('1', '_FieldCaption_Sexual Info_Search ') ) ) [3] => Array ( [file] => /home/gayonus/public_html/administration/lang_file.php [line] => 117 [function] => query [class] => BxDolDb [type] => -> [object] => BxDolDb Object ( [error_checking] => 1 [error_message] => Duplicate entry '_FieldCaption_Sexual Info_Search ' for key 2 [host] => localhost [port] => [socket] => [dbname] => gayonus_main [user] => ***** [password] => ***** [link] => Resource id #30 [current_res] => [current_arr_type] => 1 [oParams] => BxDolParams Object ( [_oDb] => BxDolDb Object *RECURSION* [_oCache] => BxDolCacheFile Object ( [sPath] => /home/gayonus/public_html/cache/ [_error] => ) [_sCacheFile] => sys_options_35b74d04635540dc219e9aef96249afe.php [_aParams] => [truncated] [_error] => ) [oDbCacheObject] => BxDolCacheFile Object ( [sPath] => /home/gayonus/public_html/cache/ [_error] => ) [_error] => ) [args] => Array ( [0] => INSERT INTO `sys_localization_keys`(`IDCategory`, `Key`) VALUES('1', '_FieldCaption_Sexual Info_Search ') [1] => ) ) ) Settings: array ( 'anon_mode' => '', 'autoApproval_ifJoin' => '', 'autoApproval_ifProfile' => '', 'cmdDay' => '29', 'currency_code' => 'USD', 'currency_sign' => '$', 'time_format_php' => 'H:i', 'short_date_format_php' => 'd.m.Y', 'date_format_php' => 'd.m.Y H:i', 'time_format' => '%H:%i', 'short_date_format' => '%d.%m.%Y', 'date_format' => '%d.%m.%Y %H:%i', 'db_clean_msg' => '365', 'db_clean_profiles' => '0', 'db_clean_views' => '180', 'db_clean_members_visits' => '90', 'db_clean_banners_info' => '60', 'db_clean_vkiss' => '90', 'default_country' => 'US', 'enable_contact_form' => '', 'enable_gd' => 'on', 'enable_match' => 'on', 'view_match_percent' => 'on', 'enable_promotion_membership' => 'on', 'enable_watermark' => '', 'enable_zip_loc' => '', 'expire_notification_days' => '1', 'expire_notify_once' => 'on', 'featured_num' => '16', 'lang_default' => 'en', 'match_percent' => '85', 'max_inbox_message_size' => '1500', 'member_online_time' => '1', 'MetaDescription' => 'GayOn.us - Connect with your gay friends all around the world!', 'MetaKeyWords' => '', 'msgs_per_start' => '20', 'news_enable' => '', 'feeds_enable' => '', 'newusernotify' => 'on', 'promotion_membership_days' => '7', 'search_start_age' => '18', 'search_end_age' => '99', 'sys_calendar_starts_sunday' => '', 'top_members_max_num' => '16', 'track_profile_view' => 'on', 'transparent1' => '0', 'votes' => '', 'Water_Mark' => '', 'zodiac' => 'on', 'php_date_format' => 'F j, Y', 'tags_non_parsable' => 'hi, hey, hello, all, i, i\'m, i\'d, am, for, in, to, a, the, on, it\'s, is, my, of, are, from, i\'m, me, you, and, we, not, will, at, where, there', 'tags_last_parse_time' => '0', 'tags_min_rating' => '2', 'autoApproval_ifNoConfEmail' => '', 'enable_flash_promo' => '', 'custom_promo_code' => '', 'license_code' => 'MODERATOR EDIT', 'license_expiration' => '0', 'sys_html_fields' => 'a:4:{s:6:"system";a:4:{i:0;s:12:"POST.message";i:1;s:15:"REQUEST.message";i:2;s:12:"POST.CmtText";i:3;s:15:"REQUEST.CmtText";}s:6:"groups";a:2:{i:0;s:9:"POST.desc";i:1;s:12:"REQUEST.desc";}s:3:"ads";a:2:{i:0;s:12:"POST.Message";i:1;s:15:"REQUEST.Message";}s:19:"system_profile_html";a:4:{i:0;s:20:"POST.DescriptionMe.0";i:1;s:20:"POST.DescriptionMe.1";i:2;s:23:"REQUEST.DescriptionMe.0";i:3;s:23:"REQUEST.DescriptionMe.1";}}', 'sys_json_fields' => '', 'sys_exceptions_fields' => 'a:2:{s:12:"deanos_tools";a:4:{i:0;s:18:"POST.dbcsDTphpcode";i:1;s:21:"REQUEST.dbcsDTphpcode";i:2;s:19:"POST.dbcsDTsqlquery";i:3;s:22:"REQUEST.dbcsDTsqlquery";}s:22:"system_email_templates";a:144:{i:0;s:22:"POST.t_Activation_Body";i:1;s:25:"REQUEST.t_Activation_Body";i:2;s:25:"POST.t_Activation_Subject";i:3;s:28:"REQUEST.t_Activation_Subject";i:4;s:22:"POST.t_AdminEmail_Body";i:5;s:25:"REQUEST.t_AdminEmail_Body";i:6;s:25:"POST.t_AdminEmail_Subject";i:7;s:28:"REQUEST.t_AdminEmail_Subject";i:8;s:18:"POST.t_BuyNow_Body";i:9;s:21:"REQUEST.t_BuyNow_Body";i:10;s:21:"POST.t_BuyNow_Subject";i:11;s:24:"REQUEST.t_BuyNow_Subject";i:12;s:18:"POST.t_BuyNow_Body";i:13;s:21:"REQUEST.t_BuyNow_Body";i:14;s:21:"POST.t_BuyNow_Subject";i:15;s:24:"REQUEST.t_BuyNow_Subject";i:16;s:19:"POST.t_BuyNowS_Body";i:17;s:22:"REQUEST.t_BuyNowS_Body";i:18;s:22:"POST.t_BuyNowS_Subject";i:19;s:25:"REQUEST.t_BuyNowS_Subject";i:20;s:19:"POST.t_BuyNowS_Body";i:21;s:22:"REQUEST.t_BuyNowS_Body";i:22;s:22:"POST.t_BuyNowS_Subject";i:23;s:25:"REQUEST.t_BuyNowS_Subject";i:24;s:28:"POST.t_bx_photos_report_Body";i:25;s:31:"REQUEST.t_bx_photos_report_Body";i:26;s:31:"POST.t_bx_photos_report_Subject";i:27;s:34:"REQUEST.t_bx_photos_report_Subject";i:28;s:27:"POST.t_bx_photos_share_Body";i:29;s:30:"REQUEST.t_bx_photos_share_Body";i:30;s:30:"POST.t_bx_photos_share_Subject";i:31;s:33:"REQUEST.t_bx_photos_share_Subject";i:32;s:19:"POST.t_Compose_Body";i:33;s:22:"REQUEST.t_Compose_Body";i:34;s:22:"POST.t_Compose_Subject";i:35;s:25:"REQUEST.t_Compose_Subject";i:36;s:24:"POST.t_Confirmation_Body";i:37;s:27:"REQUEST.t_Confirmation_Body";i:38;s:27:"POST.t_Confirmation_Subject";i:39;s:30:"REQUEST.t_Confirmation_Subject";i:40;s:21:"POST.t_CupidMail_Body";i:41;s:24:"REQUEST.t_CupidMail_Body";i:42;s:24:"POST.t_CupidMail_Subject";i:43;s:27:"REQUEST.t_CupidMail_Subject";i:44;s:41:"POST.t_fb_connect_password_generated_Body";i:45;s:44:"REQUEST.t_fb_connect_password_generated_Body";i:46;s:44:"POST.t_fb_connect_password_generated_Subject";i:47;s:47:"REQUEST.t_fb_connect_password_generated_Subject";i:48;s:18:"POST.t_Forgot_Body";i:49;s:21:"REQUEST.t_Forgot_Body";i:50;s:21:"POST.t_Forgot_Subject";i:51;s:24:"REQUEST.t_Forgot_Subject";i:52;s:21:"POST.t_FreeEmail_Body";i:53;s:24:"REQUEST.t_FreeEmail_Body";i:54;s:24:"POST.t_FreeEmail_Subject";i:55;s:27:"REQUEST.t_FreeEmail_Subject";i:56;s:25:"POST.t_FriendRequest_Body";i:57;s:28:"REQUEST.t_FriendRequest_Body";i:58;s:28:"POST.t_FriendRequest_Subject";i:59;s:31:"REQUEST.t_FriendRequest_Subject";i:60;s:33:"POST.t_FriendRequestAccepted_Body";i:61;s:36:"REQUEST.t_FriendRequestAccepted_Body";i:62;s:36:"POST.t_FriendRequestAccepted_Subject";i:63;s:39:"REQUEST.t_FriendRequestAccepted_Subject";i:64;s:25:"POST.t_MemExpiration_Body";i:65;s:28:"REQUEST.t_MemExpiration_Body";i:66;s:28:"POST.t_MemExpiration_Subject";i:67;s:31:"REQUEST.t_MemExpiration_Subject";i:68;s:19:"POST.t_Message_Body";i:69;s:22:"REQUEST.t_Message_Body";i:70;s:22:"POST.t_Message_Subject";i:71;s:25:"REQUEST.t_Message_Subject";i:72;s:23:"POST.t_MessageCopy_Body";i:73;s:26:"REQUEST.t_MessageCopy_Body";i:74;s:26:"POST.t_MessageCopy_Subject";i:75;s:29:"REQUEST.t_MessageCopy_Subject";i:76;s:21:"POST.t_Rejection_Body";i:77;s:24:"REQUEST.t_Rejection_Body";i:78;s:24:"POST.t_Rejection_Subject";i:79;s:27:"REQUEST.t_Rejection_Subject";i:80;s:26:"POST.t_sbsAdsComments_Body";i:81;s:29:"REQUEST.t_sbsAdsComments_Body";i:82;s:29:"POST.t_sbsAdsComments_Subject";i:83;s:32:"REQUEST.t_sbsAdsComments_Subject";i:84;s:23:"POST.t_sbsAdsRates_Body";i:85;s:26:"REQUEST.t_sbsAdsRates_Body";i:86;s:26:"POST.t_sbsAdsRates_Subject";i:87;s:29:"REQUEST.t_sbsAdsRates_Subject";i:88;s:30:"POST.t_sbsProfileComments_Body";i:89;s:33:"REQUEST.t_sbsProfileComments_Body";i:90;s:33:"POST.t_sbsProfileComments_Subject";i:91;s:36:"REQUEST.t_sbsProfileComments_Subject";i:92;s:26:"POST.t_sbsProfileEdit_Body";i:93;s:29:"REQUEST.t_sbsProfileEdit_Body";i:94;s:29:"POST.t_sbsProfileEdit_Subject";i:95;s:32:"REQUEST.t_sbsProfileEdit_Subject";i:96;s:27:"POST.t_sbsProfileRates_Body";i:97;s:30:"REQUEST.t_sbsProfileRates_Body";i:98;s:30:"POST.t_sbsProfileRates_Subject";i:99;s:33:"REQUEST.t_sbsProfileRates_Subject";i:100;s:34:"POST.t_sbs_bx_photos_comments_Body";i:101;s:37:"REQUEST.t_sbs_bx_photos_comments_Body";i:102;s:37:"POST.t_sbs_bx_photos_comments_Subject";i:103;s:40:"REQUEST.t_sbs_bx_photos_comments_Subject";i:104;s:31:"POST.t_sbs_bx_photos_rates_Body";i:105;s:34:"REQUEST.t_sbs_bx_photos_rates_Body";i:106;s:34:"POST.t_sbs_bx_photos_rates_Subject";i:107;s:37:"REQUEST.t_sbs_bx_photos_rates_Subject";i:108;s:22:"POST.t_SpamReport_Body";i:109;s:25:"REQUEST.t_SpamReport_Body";i:110;s:25:"POST.t_SpamReport_Subject";i:111;s:28:"REQUEST.t_SpamReport_Subject";i:112;s:26:"POST.t_SpamReportAuto_Body";i:113;s:29:"REQUEST.t_SpamReportAuto_Body";i:114;s:29:"POST.t_SpamReportAuto_Subject";i:115;s:32:"REQUEST.t_SpamReportAuto_Subject";i:116;s:24:"POST.t_Subscription_Body";i:117;s:27:"REQUEST.t_Subscription_Body";i:118;s:27:"POST.t_Subscription_Subject";i:119;s:30:"REQUEST.t_Subscription_Subject";i:120;s:22:"POST.t_TellFriend_Body";i:121;s:25:"REQUEST.t_TellFriend_Body";i:122;s:25:"POST.t_TellFriend_Subject";i:123;s:28:"REQUEST.t_TellFriend_Subject";i:124;s:29:"POST.t_TellFriendProfile_Body";i:125;s:32:"REQUEST.t_TellFriendProfile_Body";i:126;s:32:"POST.t_TellFriendProfile_Subject";i:127;s:35:"REQUEST.t_TellFriendProfile_Subject";i:128;s:25:"POST.t_UserConfirmed_Body";i:129;s:28:"REQUEST.t_UserConfirmed_Body";i:130;s:28:"POST.t_UserConfirmed_Subject";i:131;s:31:"REQUEST.t_UserConfirmed_Subject";i:132;s:22:"POST.t_UserJoined_Body";i:133;s:25:"REQUEST.t_UserJoined_Body";i:134;s:25:"POST.t_UserJoined_Subject";i:135;s:28:"REQUEST.t_UserJoined_Subject";i:136;s:17:"POST.t_VKiss_Body";i:137;s:20:"REQUEST.t_VKiss_Body";i:138;s:20:"POST.t_VKiss_Subject";i:139;s:23:"REQUEST.t_VKiss_Subject";i:140;s:25:"POST.t_VKiss_visitor_Body";i:141;s:28:"REQUEST.t_VKiss_visitor_Body";i:142;s:28:"POST.t_VKiss_visitor_Subject";i:143;s:31:"REQUEST.t_VKiss_visitor_Subject";}}', 'enable_dolphin_footer' => '', 'enable_modrewrite' => 'on', 'cupid_last_cron' => '0', 'reg_by_inv_only' => '', 'main_div_width' => '998px', 'promoWidth' => '998', 'boonexAffID' => '', 'enable_member_store_ip' => '', 'ipBlacklistMode' => '2', 'ipListGlobalType' => '0', 'site_email' => 'webmaster@gayon.us', 'site_title' => 'GayOn.us - Connect with your gay friends all around the world!', 'site_email_notify' => 'webmaster@gayon.us', 'enable_tiny_in_comments' => '', 'enable_global_couple' => '', 'enable_new_dhtml_popups' => 'on', 'galleryFiles_user' => '2', 'galleryFiles_keyword' => '2', 'enable_cache_system' => 'on', 'nav_menu_elements_on_line_usr' => '12', 'nav_menu_elements_on_line_gst' => '12', 'enable_guest_comments' => '', 'enable_cmts_profile_delete' => 'on', 'permalinks_browse' => 'on', 'promo_relocation_link_visitor' => 'join.php', 'promo_relocation_link_member' => 'member.php', 'leaders_male_types' => '', 'leaders_female_types' => '', 'useLikeOperator' => 'on', 'ext_nav_menu_top_position' => 'bottom', 'ext_nav_menu_enabled' => 'on', 'sys_ps_enabled_group_1' => 'on', 'sys_ps_group_1_title' => 'Default', 'sys_ps_enabled_group_2' => 'on', 'sys_ps_group_2_title' => 'Me Only', 'sys_ps_enabled_group_3' => 'on', 'sys_ps_group_3_title' => 'Public', 'sys_ps_enabled_group_4' => 'on', 'sys_ps_group_4_title' => 'Members', 'sys_ps_enabled_group_5' => 'on', 'sys_ps_group_5_title' => 'Friends', 'sys_ps_enabled_group_6' => '', 'sys_ps_group_6_title' => 'Faves', 'sys_ps_enabled_group_7' => '', 'sys_ps_group_7_title' => 'Contacts', 'sys_make_album_cover_last' => 'on', 'sys_album_auto_app' => 'on', 'sys_album_default_name' => 'Hidden', 'sys_user_info_timeout' => '3', 'template' => 'uni', 'enable_template' => 'on', 'sys_template_cache_enable' => 'on', 'sys_template_cache_engine' => 'FileHtml', 'sys_template_cache_image_enable' => '', 'sys_template_cache_image_max_size' => '5', 'sys_template_cache_css_enable' => 'on', 'sys_template_cache_js_enable' => 'on', 'sys_template_cache_compress_enable' => 'on', 'sys_template_page_width_min' => '774', 'sys_template_page_width_max' => '1600', 'sys_main_logo' => '1304006562.png', 'tags_perpage_browse' => '30', 'tags_show_limit' => '50', 'sys_ftp_login' => 'MODERATOR EDIT', 'sys_ftp_password' => 'MODERATOR EDIT', 'sys_ftp_dir' => '/public_html', 'categ_perpage_browse' => '30', 'categ_show_limit' => '50', 'categ_show_columns' => '5', 'sys_security_impact_threshold_log' => '-1', 'sys_security_impact_threshold_block' => '-1', 'friends_per_page' => '14', 'sys_tmp_version' => '7.0.6', 'sys_security_form_token_enable' => 'on', 'sys_security_form_token_lifetime' => '300', 'sys_db_cache_enable' => 'on', 'sys_db_cache_engine' => 'File', 'sys_cache_memcache_host' => '', 'sys_cache_memcache_port' => '11211', 'sys_pb_cache_enable' => 'on', 'sys_pb_cache_engine' => 'File', 'sys_mm_cache_engine' => 'File', 'sys_dnsbl_enable' => '', 'sys_uridnsbl_enable' => '', 'sys_akismet_enable' => '', 'sys_akismet_api_key' => '', 'sys_antispam_block' => '', 'sys_antispam_report' => 'on', 'bx_avatar_permalinks' => 'on', 'bx_avatar_quality' => '100', 'bx_avatar_site_avatars' => 'on', 'confirmation_email_period' => '2', 'bx_photos_number_albums_home' => '4', 'bx_photos_number_albums_browse' => '8', 'bx_photos_number_browse' => '8', 'bx_photos_number_previous_rated' => '4', 'bx_photos_number_related' => '4', 'bx_photos_number_user' => '4', 'bx_photos_number_top' => '4', 'bx_photos_number_index' => '8', 'bx_photos_number_all' => '12', 'bx_photos_mode_index' => 'last', 'bx_photos_profile_album_name' => '{nickname}\'s photos', 'bx_photos_allowed_exts' => 'jpg png gif', 'category_auto_app_bx_photos' => 'on', 'bx_photos_activation' => 'on', 'bx_simple_messenger_permalinks' => 'on', 'simple_messenger_procces_smiles' => 'on', 'simple_messenger_blink_counter' => '4', 'simple_messenger_allowed_chatbox' => '3', 'simple_messenger_visible_messages' => '25', 'dbcs_DT_sapp' => '10', 'dbcs_DT_stpp' => '10', 'dbcs_DT_alpp' => '10', 'dbcs_DT_logguests' => '0', 'permalinks_module_chat' => 'on', 'simple_messenger_update_time' => '3000', 'bx_profiler_show_debug_panel' => 'admins', 'bx_profiler_long_sql_queries_log' => 'on', 'bx_profiler_long_sql_queries_time' => '2', 'bx_profiler_long_sql_queries_debug' => '', 'bx_profiler_long_module_query_log' => 'on', 'bx_profiler_long_module_query_time' => '3', 'bx_profiler_long_module_query_debug' => '', 'bx_profiler_long_page_log' => 'on', 'bx_profiler_long_page_time' => '5', 'bx_profiler_long_page_debug' => '', 'bx_photos_icon_width' => '32', 'bx_photos_icon_height' => '32', 'bx_photos_thumb_width' => '64', 'bx_photos_thumb_height' => '64', 'bx_photos_file_width' => '600', 'bx_photos_file_height' => '600', 'bx_photos_browse_width' => '140', 'bx_photos_browse_height' => '140', 'bx_photos_flickr_photo_api' => '', 'bx_photos_album_slideshow_on' => 'on', 'bx_photos_album_slideshow_height' => '600', 'bx_photos_rss_feed_on' => 'on', 'bx_photos_uploader_switcher' => 'flash,regular,record,embed', 'bx_photos_permalinks' => 'on', 'permalinks_module_ads' => 'on', 'bx_ads_auto_approving' => 'on', 'bx_ads_enable_paid' => '', 'bx_ads_max_live_days' => '30', ) Called script: /administration/lang_file.php Auto-report system