Skip to content
This repository was archived by the owner on Apr 10, 2018. It is now read-only.
This repository was archived by the owner on Apr 10, 2018. It is now read-only.

Search is not site wide, only in the current blog. Alignment is off also. #1

Open

Description

@jmeridth

From many views and different accounts, search always results in an empty result set/page.

Activity

  1. jmeridth commented on Mar 24, 2011

    @jmeridth
    MemberAuthor

    the actual error:

    [Thu Mar 24 20:13:55 2011] [error] [client 50.84.68.58] PHP Fatal error: Call to undefined function get_generic_template() in /var/www/apps/wordpress/wp-content/themes/lostechies/search.php on line 8, referer: http://lostechies.com/jasonmeridth/2008/11/30/ptom-november-2008-visitor-design-pattern/

    It is complaining about the get_generic_template method in search.php

  2. jmeridth commented on Mar 24, 2011

    @jmeridth
    MemberAuthor

    Found the bug that was killing search.

    Fixed it, but realize now that the search text boxes are unique to the blog you're in:

    http://lostechies.com/?s=ruby (the default site) - no results
    http://lostechies.com/jasonmeridth/?s=ruby - results

    Also the sidebar is pushed under the search results div. I'll fix soon. But at least we get something now.

    I may have to look at doing the Google Search stuff like CodeBetter.com

  3. mxriverlynn commented on May 16, 2011

    @mxriverlynn

    i can't get search to work at all. everything i search for returns the full list of all my blog posts, no filtering based on the search criteria.

  4. jmeridth commented on May 16, 2011

    @jmeridth
    MemberAuthor

    You are correct. It has changed. I'll take a look when I can.

    We have a Wordpress upgrade coming soon too.

  5. dahlbyk commented on Oct 26, 2013

    @dahlbyk
    Member

    Friend online noted this is still broken... http://lostechies.com/?s=controllers

    Oddly, http://lostechies.com/?s=git returns all blog posts...

  6. dahlbyk commented on Oct 26, 2013

    @dahlbyk
    Member

    Maybe just swap out WordPress search for https://www.google.com/cse/?

  7. jmeridth commented on Mar 3, 2016

    @jmeridth
    MemberAuthor

    Need to look at installing and using https://wordpress.org/plugins/google-custom-search/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions