Results 1 to 10 of 10
  1. #1
    Join Date
    Oct 2011
    Location
    Kent, UK
    Posts
    50
    Plugin Contributions
    0

    Default Search function not working

    Hi all,

    I've just joined a company which runs Zen Cart v1.3.9h on two separate websites.

    The first thing I've noticed about both sites is that the search function does not seem to be working at all - I either get a blank page or "There is no product that matches the search criteria". Has anyone else come across this problem?

    The previous webmaster had installed several addons but as I'm unfamiliar with Zen Cart I'm not sure which are addons and which are included with the release.

    One of the sites is http://www. n e e d t h a t g i f t .co.uk.

    Thanks in advance,
    Lee

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Search function not working

    What happens if you turn off the SEO/rewrites ... does it work now?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Oct 2011
    Location
    Kent, UK
    Posts
    50
    Plugin Contributions
    0

    Default Re: Search function not working

    Thanks... I've just disabled Simple SEO URL, I think that's the only SEO addon installed, but still no search results displaying.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Search function not working

    Do you see any debug logs in the /cache directory?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Oct 2011
    Location
    Kent, UK
    Posts
    50
    Plugin Contributions
    0

    Default Re: Search function not working

    Yes... there's 200-odd of them

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Search function not working

    I would delete all of the logs that you see right now, then try the search and look in the /cache and see what is generated ...

    NOTE: be sure to refresh the directory in your FTP program so you see the most current debug logs ...

    What errors are reported?

    NOTE: also navigate through your site and see if other debug logs are generated as well ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Oct 2011
    Location
    Kent, UK
    Posts
    50
    Plugin Contributions
    0

    Default Re: Search function not working

    Thanks - deleted the logs from both sites (the other one had over 600!)

    The search is working on the other site now (clearing the cache has fixed this, perhaps?) but not on need that gift. No debug messages have been generated in /cache.

  8. #8
    Join Date
    Oct 2011
    Location
    Kent, UK
    Posts
    50
    Plugin Contributions
    0

    Default Re: Search function not working

    Still having problems with the search on one of the sites (needt hatg ift.co.uk)

    I'm thinking my next step is to compare the site that does work with the one that doesn't using Beyond Compare. Which files should I be looking for that specifically relate to the search?

  9. #9
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Search function not working

    Quote Originally Posted by igi2011 View Post
    Still having problems with the search on one of the sites (needt hatg ift.co.uk)

    I'm thinking my next step is to compare the site that does work with the one that doesn't using Beyond Compare. Which files should I be looking for that specifically relate to the search?
    The files involved are:

    includes/languages/english/advanced_search.php

    includes/languages/english/advanced_search_result.php

    includes/modules/pages/advanced_search_result/header_php.php

    includes/templates/template_default/templates/tpl_advanced_search_result_default.php

    Note that these are default paths, and you may also find them in your overrides directories.

  10. #10
    Join Date
    Oct 2011
    Location
    Kent, UK
    Posts
    50
    Plugin Contributions
    0

    Default Re: Search function not working

    aha... seems there was a problem somewhere in includes/modules/pages/advanced_search_result/header_php.php, so I replaced this and the search is now working.

    Many thanks - that's saved me a lot of headaches!

    Lee

 

 

Similar Threads

  1. Search Function Not Working
    By mikegw in forum General Questions
    Replies: 11
    Last Post: 10 Feb 2011, 03:01 PM
  2. Search function not working
    By AlfaOttoParts in forum Basic Configuration
    Replies: 7
    Last Post: 10 Feb 2011, 12:45 AM
  3. Search Function - Not Working
    By neophyte2007 in forum General Questions
    Replies: 1
    Last Post: 7 Jun 2007, 01:06 AM
  4. Search function not working properly
    By THISclose in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 4 Mar 2007, 07:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg