Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Sep 2012
    Posts
    253
    Plugin Contributions
    0

    Default Search Keyword problem

    I have a live site http://d132s.southshorepizza.net Recently I set up a test site. http://onlineorder.sshorepizza.com I copied the files from d132s... over to the onlineorder... site so the files started out exactly the same. I am running version 1.5.1 I added a module on and tried to search for a product using the search keyword function. I had 0 results on the test site. I went to the live site that customers are ordering from and tried searching for the same keyword and immediately found results. I have tried copying the files in includes/pages/advanced_search and includes/pages/advanced_search_results from the live site over to the test site to get the search function working again and have not had any luck. Can someone point me in the right direction please??

    Thank you in advance.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Search Keyword problem

    I added a module on
    What module?
    What other addons are installed?
    What version of mysql?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2012
    Posts
    253
    Plugin Contributions
    0

    Default Re: Search Keyword problem

    MySQL version 5.5.23-55
    Modules installed add customers from admin, css_js_loader, customer tax exempt, discount_1.11, edit_orders_v4.0.4, export_shipping_information, fast updates, fec, sales report 310, time zone fix, tip module, tnbci.

    Then I installed hidden categories on the test site only. I don't think this is the problem though. If I copy the file includes/modules/pages/advanced_search_result/header_php.php from the live site (where the search function works) over to the test site instead of using the file that came with hidden categories the test site still does not work. If I make the modifications to the header_php.php file that is required for hidden categories module the search function doesn't work. I think this problem existed prior to adding the hidden categories module I just didn't know it.

    What files does the search keyword use? Perhaps I could go back to original v 1.5.1 files for all of those and then make changes 1 by 1 until I find the culprit. I just can't do that since I don't know what files to look for.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Search Keyword problem

    If I copy the file includes/modules/pages/advanced_search_result/header_php.php from the live site (where the search function works)
    I would start by copying all the files from the working site to your test site EXCEPT the 2 configure.php files
    Assuming that hidden categories did not have any sql for it's install
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Sep 2012
    Posts
    253
    Plugin Contributions
    0

    Default Re: Search Keyword problem

    It did have an sql. How does that affect it?

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Search Keyword problem

    Well depending - the database now has/expects it to be installed
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Search Keyword problem

    Quote Originally Posted by kobra View Post
    Well depending - the database now has/expects it to be installed
    The readme and the SQL file for hideCategories VERY clearly says that the SQL file does nothing but create ONE table that is used by ONLY by hideCategories.

    As I reported on the hideCategories support thread, the modifications to the includes/pages/advanced_search_results/header.php.php file included in hideCategories Version: 2.1 do not work and causes the issue the OP is reporting (the search doesn't find ANYTHING). hideCategories Version: 2.1 was the version where this file is introduced. (there were no other changes) I will NOT be attempting to fix this as I'm not entirely sure why it worked for Zen Cart v1.3.9, and does not work with Zen Cart v1.5.x. It is addmittedly over my head to fix, which is why I won't attempt it. I will in fact exclude this file from the upcoming version of hideCategories I will be submitting (updated for Zen Cart v1.5.1)

    My advice to the OP mimics yours.. Get the test site to match the live site..

    After he does that, THEN install hideCategories WITHOUT the modified includes/pages/advanced_search_results/header.php.php file. (suggest installing hideCategories - Version: 2.0)
    Last edited by DivaVocals; 6 May 2013 at 04:52 PM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #8
    Join Date
    Sep 2012
    Posts
    253
    Plugin Contributions
    0

    Default Re: Search Keyword problem

    Right! I have done exactly that. As I posted in both threads. When I put the original includes/pages/advanced_search_results/header.php.php file back in place the search function still does not work. When I copy it from the "live" site where the search function works it still does not work. thus my posting here in the general category. I don't think this issue was caused by that Mod. If it was putting the original file back in place should have fixed the issue. Would it not?

    I just created a second test site. Just tested the search feature and it works. So now I will work on this again by installing one file at a time and seeing what happens.

  9. #9
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Search Keyword problem

    Quote Originally Posted by southshorepizza View Post
    Right! I have done exactly that. As I posted in both threads. When I put the original includes/pages/advanced_search_results/header.php.php file back in place the search function still does not work. When I copy it from the "live" site where the search function works it still does not work. thus my posting here in the general category. I don't think this issue was caused by that Mod. If it was putting the original file back in place should have fixed the issue. Would it not?
    Honestly no.. or logically what you are doing would have worked.. There is CLEARLY something ELSE different about your test site besides this one file.. and you can spend all day trying to figure out what it is or you can follow mine and kobra's advice and simply get your test site exactly like your live site and then move forward with the hideCategories install (sans the includes/pages/advanced_search_results/header.php.php file of course..) This really is the FASTEST way to move you forward.. If you made a backup of your test site before installing hideCategories, this process will be even FASTER..
    Last edited by DivaVocals; 6 May 2013 at 05:13 PM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  10. #10
    Join Date
    Sep 2012
    Posts
    253
    Plugin Contributions
    0

    Default Re: Search Keyword problem

    Quote Originally Posted by DivaVocals View Post
    logically what you are doing would have worked.. There is CLEARLY something ELSE different about your test site besides this one file..
    Which was the point of the post to begin with. Trying to figure out what files affect the search feature. But sorry for all the confusion and frustration. I will just start again.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Search - including or ignoring "and" as first keyword in search query
    By nikerymis in forum General Questions
    Replies: 0
    Last Post: 27 Jan 2014, 08:44 PM
  2. v150 Keyword search tracking?
    By meljen in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 17 Oct 2013, 12:32 AM
  3. v139h Keyword Search Results
    By traytray in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 4 Dec 2012, 10:53 PM
  4. Search Without Keyword
    By repairman in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 12 Apr 2007, 04:59 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR