Can't set Priorities

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 3 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19688
    peik_cm
    peik_cm
    Participant

    Hey,

    We have an issue with setting priorities. The site is a multisite WordPress site v. 4.7.11.

    The priorities page opens, but the buttons don’t work, as shown in the attachment.

    Here’s the HTML for the site:

    <div id="wpbody-content" aria-label="Main content" tabindex="0">
    		<div id="screen-meta" class="metabox-prefs">
    
    			<div id="contextual-help-wrap" class="hidden no-sidebar" tabindex="-1" aria-label="Contextual Help Tab">
    				<div id="contextual-help-back"></div>
    				<div id="contextual-help-columns">
    					<div class="contextual-help-tabs">
    						<ul>
    												</ul>
    					&lt;/div&gt;
    
    					
    					&lt;div class="contextual-help-tabs-wrap"&gt;
    											&lt;/div&gt;
    				&lt;/div&gt;
    			&lt;/div&gt;
    				&lt;/div&gt;
    		&lt;link rel="stylesheet" href="https://intranet.lehto.fi/wp-content/plugins/ajax-search-pro/backend/settings/assets/options_search.css?v=4976"&gt;
    &lt;link rel="stylesheet" href="https://intranet.lehto.fi/wp-content/plugins/ajax-search-pro/backend/settings/assets/priorities.css?v=4976"&gt;
    &lt;div id="wpdreams" class="wpdreams wrap"&gt;
    
    	        &lt;p class="infoMsgBox"&gt;
                Version <strong>4.14.2</strong> is available.            Download the new version from Codecanyon.            <a target="_blank" href="https://documentation.ajaxsearchpro.com/update_notes.html">
                    How to update?            </a>
            &lt;/p&gt;
    	
        
        &lt;div class="wpdreams-box" style="position: relative; float:left;"&gt;
            &lt;ul id="tabs" class="tabs"&gt;
                <li><a>Priority Groups</a></li>
                <li><a>Individual Priorities</a></li>
            </ul>
    
            &lt;div class="tabscontent"&gt;
                &lt;div tabid="1"&gt;
                    &lt;fieldset&gt;
                        &lt;legend&gt;Priority Groups&lt;/legend&gt;
    
                        
    &lt;p id="pg_no_pg"&gt;There are no priority groups yet. Click the <strong>Add New</strong> button to create one!&lt;/p&gt;
    &lt;div id="pg_container"&gt;
        &lt;div class="pg_rule_group" data-groupid="-1"&gt;
            <img src="https://intranet.lehto.fi/wp-content/plugins/ajax-search-pro/backend/settings/assets/icons/settings.png" />
            <img src="https://intranet.lehto.fi/wp-content/plugins/ajax-search-pro/backend/settings/assets/icons/delete.png" />
            &lt;span class="pg_name"&gt;Rule Group #1&lt;/span&gt;
            &lt;span class="pg_info"&gt;&lt;/span&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;p id="pg_information"&gt;
        If you don't know what priority groups are, check the <a href="https://wp-dreams.com/go/?to=asp-doc-result-priority" target="_blank">Priority</a> and the
        <a href="https://wp-dreams.com/go/?to=asp-doc-result-priority-group" target="_blank">Priority groups</a> documentations first.&lt;/p&gt;
    &lt;p class="noticeMsg"&gt;
        PLEASE NOTE: Always create <strong>as few rules as possible</strong>, as they may affect the search performance negatively.&lt;/p&gt;
    &lt;form method="POST"&gt;
        &lt;p style="text-align: right"&gt;
            &lt;input type="button" id="pg_remove_all" value="Remove all" style="float: left;" class="submit wd_button_opaque"&gt;
            &lt;input type="button" id="pg_add_new" value="Add new!" class="submit wd_button_green"&gt;
            &lt;input type="button" id="pg_save" value="Save Groups" class="submit wd_button wd_button_blue"&gt;
        &lt;/p&gt;
        &lt;input name="priority_groups" id="priority_groups" type="hidden" value="W10="&gt;
    &lt;/form&gt;
    
    &lt;!-- SAMPLE ITEM STARTS HERE --&gt;
    &lt;div class="asp_pg_item asp_pg_item_sample hiddend" id="asp_pg_editor"&gt;
        &lt;form name="pg_item_form"&gt;
            &lt;div class="pg_rule_info"&gt;
                &lt;div class="pg_line"&gt;
                    &lt;label for="ruleset_name"&gt;
                        Ruleset name                &lt;/label&gt;
                    &lt;input name="ruleset_name" id="ruleset_name" value="Ruleset"&gt;
                &lt;/div&gt;
                &lt;div class="pg_line"&gt;
                    &lt;label for="pg_priority"&gt;
                        Set results priority matching the rules to                &lt;/label&gt;
                    &lt;input type="number" name="pg_priority" id="pg_priority" value="100" min="1" max="5000"&gt;
                &lt;/div&gt;
                &lt;div class="pg_line"&gt;
                    &lt;label for="pg_instance"&gt;
                        Apply to                &lt;/label&gt;
                    &lt;select name="pg_instance" id="pg_instance"&gt;
                        &lt;option value="0"&gt;Every search instance&lt;/option&gt;
                                                &lt;option value="1"&gt;Päähaku&lt;/option&gt;
                                                &lt;option value="2"&gt;Päähaku 2&lt;/option&gt;
                                        &lt;/select&gt;
                &lt;/div&gt;
                &lt;div class="pg_line"&gt;
                    &lt;label for="pg_phrase_logic"&gt;Apply on&lt;/label&gt;
                    &lt;select name="pg_phrase_logic" id="pg_phrase_logic"&gt;
                        &lt;option value="disabled"&gt;any search phrase&lt;/option&gt;
                        &lt;option value="any"&gt;phrase matching anywhere&lt;/option&gt;
                        &lt;option value="exact"&gt;phrase matching exactly&lt;/option&gt;
                        &lt;option value="start"&gt;phrase starting with&lt;/option&gt;
                        &lt;option value="end"&gt;phrase ending with&lt;/option&gt;
                    &lt;/select&gt;
                    &lt;label for="pg_phrase"&gt;&lt;/label&gt;
                    &lt;input type="text" name="pg_phrase" id="pg_phrase" value="" placeholder="Enter search phrase.."&gt;
                &lt;/div&gt;
                &lt;div class="pg_line"&gt;
                    &lt;label for="pg_rule_logic"&gt;Apply if&lt;/label&gt;
                    &lt;select name="pg_rule_logic" id="pg_rule_logic"&gt;
                        &lt;option value="and"&gt;all rules match&lt;/option&gt;
                        &lt;option value="or"&gt;any of the rules match&lt;/option&gt;
                    &lt;/select&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class="pg_rules"&gt;
                &lt;label for="pg_add_rule"&gt;
                    &lt;input type="button" name="pg_add_rule" id="pg_add_rule" value="New rule" class="wd_button wd_button_blue"&gt;
                &lt;/label&gt;
                &lt;div class="pg_rules_container" id="pg_rules_container"&gt;
                    &lt;p class="pg_rule" data-id="1"&gt;
                        <img src="https://intranet.lehto.fi/wp-content/plugins/ajax-search-pro/backend/settings/assets/icons/settings.png" />
                        <img src="https://intranet.lehto.fi/wp-content/plugins/ajax-search-pro/backend/settings/assets/icons/delete.png" />
                        &lt;span&gt;Rule #1&lt;/span&gt;&lt;/p&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class="pg_rule_editor hiddend" id="pg_rule_editor" data-rule-id="1"&gt;
                &lt;span class="re_label"&gt;Rule #1&lt;/span&gt;
                &lt;div class="re_line"&gt;
                    &lt;label for="rule_name"&gt;
                        Rule name                &lt;/label&gt;
                    &lt;input type="text" name="rule_name" value="Rule name"&gt;
                &lt;/div&gt;
                &lt;div class="re_line"&gt;
                    &lt;label for="rule_field"&gt;
                        Rule type                &lt;/label&gt;
                    &lt;select name="rule_field"&gt;
                        &lt;option value="tax"&gt;Taxonomy term&lt;/option&gt;
                        &lt;option value="cf"&gt;Custom field&lt;/option&gt;
                        &lt;!-- &lt;option value="title"&gt;Post title&lt;/option&gt; --&gt;
                    &lt;/select&gt;
                &lt;/div&gt;
                &lt;div class="pg_rule_tax re_line hiddend"&gt;
                    &lt;label for="term_operator"&gt;Operator&lt;/label&gt;
                    &lt;select name="term_operator"&gt;
                        &lt;option value="in"&gt;IN&lt;/option&gt;
                        &lt;option value="not in"&gt;NOT IN&lt;/option&gt;
                    &lt;/select&gt;
                &lt;/div&gt;
                &lt;div class="pg_rule_tax re_line hiddend"&gt;
                    &lt;div style="display:none" id="_tax_search_field"&gt;&lt;/div&gt;
                                &lt;div class="wd_taxterm_search" id="wd_taxterm_search-1"&gt;
                                        &lt;label class="wd_taxterm_label"&gt;Select taxonomy terms&lt;/label&gt;
                                    &lt;select class="wd_taxterm_tax" id="tax_ajax_selector_1"&gt;
                        &lt;option value="category" taxonomy="category"&gt;post - category (Categories)&lt;/option&gt;&lt;option value="post_tag" taxonomy="post_tag"&gt;post - post_tag (Tags)&lt;/option&gt;&lt;option value="nav_menu" taxonomy="nav_menu"&gt;nav_menu_item - nav_menu (Navigation Menus)&lt;/option&gt;&lt;option value="link_category" taxonomy="link_category"&gt;link - link_category (Link Categories)&lt;/option&gt;&lt;option value="post_format" taxonomy="post_format"&gt;post - post_format (Format)&lt;/option&gt;&lt;option value="topic-tag" taxonomy="topic-tag"&gt;topic - topic-tag (Topic Tags)&lt;/option&gt;&lt;option value="wpmf-category" taxonomy="wpmf-category"&gt;attachment - wpmf-category (WPMF Categories)&lt;/option&gt;&lt;option value="blogi" taxonomy="blogi"&gt;post - blogi (Blogit)&lt;/option&gt;&lt;option value="sivukategoriat" taxonomy="sivukategoriat"&gt;page - sivukategoriat (Sivukategoriat)&lt;/option&gt;&lt;option value="yritys" taxonomy="yritys"&gt;tilaus - yritys (Yritykset)&lt;/option&gt;&lt;option value="toimipaikka" taxonomy="toimipaikka"&gt;tilaus - toimipaikka (Toimipaikat)&lt;/option&gt;                &lt;/select&gt;
                                    &lt;input type="search" name="pg_search_taxterms" class="wd_taxterm_search" value="" placeholder="Search terms.."&gt;
                    &lt;input type="hidden" value="eyJjYWxsYmFjayI6IiIsInBsYWNlaG9sZGVyIjoiU2VhcmNoIHRlcm1zLi4iLCJidWlsdF9pbiI6dHJ1ZSwic2VhcmNoX3ZhbHVlcyI6MCwibGltaXQiOjEwLCJkZWxpbWl0ZXIiOiIhISFUVFJFUyEhISIsImNvbnRyb2xzX3Bvc2l0aW9uIjoicmlnaHQiLCJjbGFzcyI6IiIsInVzZXJtZXRhIjowfQ==" class="wd_args"&gt;
                                &lt;span class="loading-small hiddend"&gt;&lt;/span&gt;
                &lt;div class="wd_ts_close hiddend"&gt;
                    &lt;svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve"&gt;
                            &lt;polygon id="x-mark-icon" points="438.393,374.595 319.757,255.977 438.378,137.348 374.595,73.607 255.995,192.225 137.375,73.622 73.607,137.352 192.246,255.983 73.622,374.625 137.352,438.393 256.002,319.734 374.652,438.378 "&gt;&lt;/polygon&gt;
                        &lt;/svg&gt;
                &lt;/div&gt;
                                &lt;div class="wd_taxterm_search_res"&gt;&lt;/div&gt;
                &lt;/div&gt;
                                &lt;ul id="pg_selected_tax_terms"&gt;
                        &lt;!-- &lt;li data-taxonomy='taxonomy' data-id=1&gt;Term name</li> --&gt;
                    </ul>
                &lt;/div&gt;
                &lt;div class="pg_rule_cf re_line hiddend"&gt;
                    &lt;div style="display:none" id="_cf_search_field"&gt;&lt;/div&gt;
                    &lt;label for="pg_search_cf"&gt;Choose custom field&lt;/label&gt;
                                &lt;div class="wd_cf_search" id="wd_cf_search-2"&gt;
                                     &lt;input type="search" name="pg_search_cf" class="wd_cf_search" value="" placeholder="Search custom fields.."&gt;
                    &lt;input type="hidden" value="eyJjYWxsYmFjayI6IiIsInBsYWNlaG9sZGVyIjoiU2VhcmNoIGN1c3RvbSBmaWVsZHMuLiIsInNlYXJjaF92YWx1ZXMiOjAsImxpbWl0IjoxMCwiZGVsaW1pdGVyIjoiISEhQ0ZSRVMhISEiLCJjb250cm9sc19wb3NpdGlvbiI6InJpZ2h0IiwiY2xhc3MiOiIiLCJ1c2VybWV0YSI6MH0=" class="wd_args"&gt;
                                &lt;span class="loading-small hiddend"&gt;&lt;/span&gt;
                &lt;div class="wd_ts_close hiddend"&gt;
                    &lt;svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve"&gt;
                            &lt;polygon id="x-mark-icon" points="438.393,374.595 319.757,255.977 438.378,137.348 374.595,73.607 255.995,192.225 137.375,73.622 73.607,137.352 192.246,255.983 73.622,374.625 137.352,438.393 256.002,319.734 374.652,438.378 "&gt;&lt;/polygon&gt;
                        &lt;/svg&gt;
                &lt;/div&gt;
                                &lt;div class="wd_cf_search_res"&gt;&lt;/div&gt;
                &lt;/div&gt;
                            &lt;/div&gt;
                &lt;div class="pg_rule_cf re_line hiddend"&gt;
                    &lt;label for="cf_operator"&gt;
                        Operator:                &lt;/label&gt;
                    &lt;select name="cf_operator"&gt;
                        &lt;optgroup label="String operators"&gt;
                            &lt;option value="like"&gt;CONTAINS&lt;/option&gt;
                            &lt;option value="not like"&gt;DOES NOT CONTAIN&lt;/option&gt;
                            &lt;option value="elike"&gt;IS EXACTLY&lt;/option&gt;
                        &lt;/optgroup&gt;
                        &lt;optgroup label="Numeric operators"&gt;
                            &lt;option value="="&gt;=&lt;/option&gt;
                            &lt;option value="&lt;&gt;"&gt;&lt;&gt;&lt;/option&gt;
                            &lt;option value="&lt;"&gt;&lt;&lt;/option&gt;
                            &lt;option value="&lt;="&gt;&lt;=&lt;/option&gt;
                            &lt;option value="&gt;"&gt;&gt;&lt;/option&gt;
                            &lt;option value="&gt;="&gt;&gt;=&lt;/option&gt;
                            &lt;option value="between"&gt;Between&lt;/option&gt;
                        &lt;/optgroup&gt;
                    &lt;/select&gt;
                &lt;/div&gt;
                &lt;div class="pg_rule_cf re_line hiddend"&gt;
                    &lt;label for="cf_val1"&gt;
                        Value(s)                &lt;/label&gt;
                    &lt;input type="text" name="cf_val1" value="" placeholder="Enter value here.."&gt;
                    &lt;input style="display: none;" type="text" name="cf_val2" value="" placeholder="Enter value 2 here.."&gt;
                &lt;/div&gt;
                &lt;div class="pg_rule_title re_line hiddend"&gt;
                    &lt;label for="title_operator"&gt;
                        Operator                &lt;/label&gt;
                    &lt;select name="title_operator"&gt;
                        &lt;option value="like"&gt;CONTAINS&lt;/option&gt;
                        &lt;option value="not like"&gt;DOES NOT CONTAIN&lt;/option&gt;
                        &lt;option value="elike"&gt;IS EXACTLY&lt;/option&gt;
                    &lt;/select&gt;
                &lt;/div&gt;
                &lt;div class="pg_rule_title re_line hiddend"&gt;
                    &lt;label for="title_value"&gt;
                        Text                &lt;/label&gt;
                    &lt;input type="text" name="title_value" value="" placeholder="Keyword.."&gt;
                &lt;/div&gt;
                &lt;div class="pg_rule_buttons"&gt;
                    &lt;input type="button" id="pg_editor_save_rule" value="Save rule" class="wd_button wd_button_blue"&gt;
                    &lt;input type="button" id="pg_editor_delete_rule" value="Delete rule" class="wd_button"&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/form&gt;
    &lt;/div&gt;
    &lt;!-- SAMPLE ITEM ENDS HERE --&gt;
                    &lt;/fieldset&gt;
                &lt;/div&gt;
                &lt;div tabid="2"&gt;
                    &lt;fieldset&gt;
                        &lt;legend&gt;Individual Priorities&lt;/legend&gt;
    
                        &lt;label for="p_asp_post_type"&gt;Post type&lt;/label&gt;
    &lt;select name="p_asp_post_type"&gt;
                &lt;option value="all"&gt;all&lt;/option&gt;
                &lt;option value="post"&gt;post&lt;/option&gt;
                &lt;option value="page"&gt;page&lt;/option&gt;
                &lt;option value="attachment"&gt;attachment&lt;/option&gt;
                &lt;option value="wp-types-group"&gt;wp-types-group&lt;/option&gt;
                &lt;option value="wp-types-user-group"&gt;wp-types-user-group&lt;/option&gt;
                &lt;option value="wp-types-term-group"&gt;wp-types-term-group&lt;/option&gt;
                &lt;option value="forum"&gt;forum&lt;/option&gt;
                &lt;option value="topic"&gt;topic&lt;/option&gt;
                &lt;option value="reply"&gt;reply&lt;/option&gt;
                &lt;option value="acf-field-group"&gt;acf-field-group&lt;/option&gt;
                &lt;option value="acf-field"&gt;acf-field&lt;/option&gt;
                &lt;option value="amn_exact-metrics"&gt;amn_exact-metrics&lt;/option&gt;
                &lt;option value="wpephpcompat_jobs"&gt;wpephpcompat_jobs&lt;/option&gt;
                &lt;option value="pilottiprojekti"&gt;pilottiprojekti&lt;/option&gt;
                &lt;option value="lehto_infotv_post"&gt;lehto_infotv_post&lt;/option&gt;
                &lt;option value="tilaus"&gt;tilaus&lt;/option&gt;
                &lt;option value="uutiset"&gt;uutiset&lt;/option&gt;
                &lt;option value="tiedotteet"&gt;tiedotteet&lt;/option&gt;
                &lt;option value="nimitys"&gt;nimitys&lt;/option&gt;
                &lt;option value="yhteystieto"&gt;yhteystieto&lt;/option&gt;
                &lt;option value="tyopaikat"&gt;tyopaikat&lt;/option&gt;
                &lt;option value="projekti"&gt;projekti&lt;/option&gt;
                &lt;option value="paateema"&gt;paateema&lt;/option&gt;
        &lt;/select&gt;
    &lt;label for="p_asp_blog"&gt;Blog&lt;/label&gt;
    &lt;select name="p_asp_blog"&gt;
        &lt;option value="0" selected=""&gt;Current&lt;/option&gt;
                &lt;/select&gt;&lt;/fieldset&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;

    Do you have any knowledge of issues like this and where we should start to look for answers? At the console, there is a notice with a deprecated M70 SSL.

    Thanks for your kind support,

    Peik

    Attachments:
    You must be logged in to view attached files.
    #19690
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Peik,

    If the page does not work/respond, then it is very likely related to a javascript problem. Usually 3rd party scripts run into an error, then it stops the further page script execution.
    I usually recommend turning off all other plugins and switching the theme back to default, to see if the issue persists. If so, then it might be a something else. In that case however, I will have to see it directly in order to be able to tell where the error is.

    It is also possible, that one of the plugin files is missing or is not accessible. I suggest trying to delete and re-install the plugin via the plugin manager, to make sure that all files are present. Configuration and search instances will be kept in the database, you don’t have to worry about that.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.