Jump to content

oldman79

Member
  • Posts

    60
  • Joined

  • Last visited

Posts posted by oldman79

  1. Try this:

    The Search is meant to support boolean operators, but it has a bug which is causing this to fail. Which means that searching for "text1 AND text2" will return nearly every product (on my site anyway!), because "AND" is being used as one of the search terms.

    The fix is...

    Edit includes/content/viewCat.inc.php, around line 102.

    Change:

    if(($ucSearchTerm!=="AND") || ($ucSearchTerm!=="OR")){

    To:

    if(($ucSearchTerm!=="AND") && ($ucSearchTerm!=="OR")){

    My page already has the recommended change in 3.10 and the search is still one of the worst I have ever seen. It is almost embarrassing how inaccurate the results of the search function are.

    I have the same problem like you, and I am looking for someone help from here and at cubecart.org too.

  2. I have testing for search a item that you store on CubeCart. I type exactly the name of the title item that I want. But when I click on "GO" there is a hug list diffrent items not related at all to the item that I to looking for. Even that item exist in the database.

    Can anyone know why???

    Thank You!

  3. Just found this solution...might be better yet!

    http://www.cubecart.com/site/forums/index....ST&f=21&t=14837

    where you replace it with:

    if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php|order.php|print.ph

    p|options.php",$_SERVER['PHP_SELF'])) {

    ...basically just adding a few more files to the list.

    This worked great for me....'cept now postal orders don't work :)

    You need to do this code for able postal orders work, let me know if you still need help.

    Apply this code below in currencyVars.php, session.inc.php

     if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php|order.php|orderForm
    
    .php|print.php|options.php",$_SERVER['PHP_SELF'])) {
    
    
    
    
    Apply this code below in orderSuccess.php
    
    
    
    if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php|orderForm.php|print
    
    .php|options.php",$_SERVER['PHP_SELF'])) {

    It will Print Order Form out very well, and it work!!!!

  4. Apply this code below in currencyVars.php, session.inc.php

     if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php|order.php|orderForm
    
    .php|print.php|options.php",$_SERVER['PHP_SELF'])) {
    
    
    
    
    Apply this code below in orderSuccess.php
    
    
    
    if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php|orderForm.php|print
    
    .php|options.php",$_SERVER['PHP_SELF'])) {

    It will Print Order Form out very well, and it work!!!!

×
×
  • Create New...