WordPress.org

Ready to get started?Download WordPress

Forums

SearchAutocomplete
Not working (5 posts)

  1. allrok
    Member
    Posted 2 years ago #

    This work perfect on my WordPress site hosted on localhost. But when i upload this to live server this plugin stop working.

    my site: http://demo.ctrlfind.com/ce/
    setting: http://i.imgur.com/qSIrz.jpg

    please solve this problem.

    http://wordpress.org/extend/plugins/search-autocomplete/

  2. erbuc
    Member
    Posted 2 years ago #

    I am having the same issue ...
    I have emailed the author but received no reply whatsoever. So I will try this method of getting support.

    I have suggested your plugin for a friend who is using it for a Multi User WordPress site.
    I setup and tested everything on my localhost machine with a single user copy of WP and all worked fine.

    As soon as I uploaded everything to the live site, everything changed.

    I have the setting set to return only Tags and Categories, but I get the entire list of ALL category names and tag name. It does not seem to honor my string typed into the search form.

    Here is my search form:

    <?php
    /**
     * The template for displaying search forms
     *
     */
    ?>
        <form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
            <label for="s" class="assistive-text"><?php _e( 'Search', 'organicthemes' ); ?></label>
            <input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'organicthemes' ); ?>" />
            <input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'organicthemes' ); ?>" />
        </form>

    I have copied out the SQL statement used in the plugin to my PHPMyAdmin and it returns the set of terms as it should. So I am stumped as to why it will NOT return ONLY my terms instead of the whole list.

    Any ideas?

  3. erbuc
    Member
    Posted 2 years ago #

    Well, 3 months from the original post and no response either by Email or from this forum.

    Time to give this plug-in a big thumbs down.

    No support offered on this plug-in. It should be removed from the repository.

  4. Daedalon
    Member
    Posted 2 years ago #

    The plugin works for me on the two non-MU sites where I use it and has worked throughout WP 3.2 to the current 3.4.1. The downside is that on the second site it doesn't show the custom posts created by the excellent Events Manager plugin.

    After trying out a few other options that didn't work, I'm now using Kau-Boy's Autocompleter which worked for me with zero setup and supports custom post types with the same zero amount of configuration. Next I'll be tuning the CSS to make the search results look sexy, since this doesn't yet support jQuery styles like Search Autocomplete does.

  5. Daedalon
    Member
    Posted 2 years ago #

    Correction: after finding how easy it was to add support for custom post types, I've reverted to using this plugin.

    Allrok: If you can provide more information on your setup where the plugin misbehaves, there are more chances that someone can identify what causes the conflict.

    Erbuc: How do you mean, "Tags and Categories"? Do you mean the setting "Hotlink Items"? Looking at the code the intended effect of this setting does not seem to be completely finished on the backend side. includes/tags.php contains checks for the settings for "autocomplete_hotlink_titles" (Link to post or page) and "autocomplete_hotlink_keywords" (Link to keyword taxonomy page), but does not check for the setting "autocomplete_hotlink_categories" (Link to category taxonomy page).

    If you mean the Search Fields setting, I don't see anything wrong with the code that handles searching for tags and categories. Both the PHP and SQL seem to be fine. I'm not able to reproduce the problem either.

    As you mention that problems started after uploading to the live site, could you specify a bit more on the differences between your testing site and live site?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic