Viewing 8 replies - 1 through 8 (of 8 total)
  • I would start with:

    <script type="text/javascript" src="https://djsilkworm.com/wp-content/plugins/scripts-gzip/gzip.php?js=wp-content%2Fplugins%2Faudio-player%2Fassets%2Faudio-player.js%3Fver%3D2.0.4.1%2Cwp-content%2Fplugins%2Fwp-cumulus%2Fswfobject.js%2Cwp-content%2Fplugins%2Fwp-polls%2Fpolls-js.js%3Fver%3D2.50%2Cwp-content%2Fthemes%2Fmystique%2Fjs%2Fjquery.mystique.js%3Fver%3D2.4.2%2Cwp-content%2Fplugins%2Fsexybookmarks%2Fjs%2Fsexy-bookmarks-public.js%3Fver%3D3.2.6"></script>

    This is generated by /scripts-gzip/ plugin. I can name few things wrong with this “picture” and starting by the wrong place where the plugin is inserting scripts. Deactivate this plugin and try again.

    There’s also something else as well. If for instance I don’t type any search and simply hit on go button where “Search” text is already in the field, this page comes up https://djsilkworm.com/?s=Search where you have the same problem.

    Now on “ocarina” example do you see the printed message in top left corner as well?

    // search search-no-results col-2-right fixed browser-chrome”>

    Another thing, try looking at the view source on regular pages and go back to problem pages, you will see that the plugin “destroys” every possible link around.

    Thread Starter Caleb Withers

    (@hoget10)

    I’ve disabled the plugin, the problem’s still there :/

    let me check now ??

    Now your JS files look in order, however whatever detects the browsers in theme doesn’t load properly.

    For example take a look at this class in your body, javascripts is being loaded in.

    <body class="   <script type="text/javascript">

    it should be i.e.

    <body class="search search-results col-2-right fixed browser-ie">

    https://wordpress.pastebin.com/Tnjuee1Q

    It’s either one of other plugins in conflict, or gzip needs to be deleted completely and/or this is theme bug. From my end I can show you where to look for the issue.

    Thread Starter Caleb Withers

    (@hoget10)

    I’ve disabled all the plugins I think could possibly cause it, any ideas apart from disabling all the plugins to check or trying a different theme?

    Was there an update to theme? if yes try that first. Honestly I am not sure what else you can try to this. The last suggestion is switching back to default WordPress theme and try the search feature from there. If all is ok, than the theme is buggy.

    We ruled out all possible, plugins and JS. I do see in jquery.mystique.js that there’s something that does browser detection. However I can’t debug it from here.

    Thread Starter Caleb Withers

    (@hoget10)

    I’ve done a bit of searching, and it seems that Mystique had issues with embedded code in search results due to some poorly coded highlighting. I’ll probably go with an alternative search plugin for now, but thanks for your help ??

    Thread Starter Caleb Withers

    (@hoget10)

    I’ve done some investigating, and discovered what causes the problem, so hopefully this will be of use to someone to narrow down what the problem is, the error occurs when searching for a word or phrase that occurs right at the start of a longish (sorry for not being able to be more specific) post title, that appears as the most relevant result. For example,
    https://djsilkworm.com/?s=poll
    https://djsilkworm.com/?s=six+outstanding
    Any ideas why this would be? I’ve done some searching, and apparently the search page of Mystique is less than ideally coded.
    My search.php is at https://codepad.org/GnxkvUsF if you want to have a look.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘My search page is messed up’ is closed to new replies.