Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Location
    Italy
    Posts
    155
    Plugin Contributions
    0

    Default Re: Need to adress why i get a SQL 1024 error in Search

    Ok... the good old method of "i'll try it all and see what happen.." is still the best way to go around the problems ;-)

    the problem was in the

    header_php.php (includes\modules\pages\advanced_search_results)

    I just commented the line above and the problem was solved.

    before:


    } else {
    // sort by products_sort_order when PRODUCT_LISTING_DEFAULT_SORT_ORDER ia left blank
    // for reverse, descending order use:
    // $listing_sql .= " order by p.products_sort_order desc, pd.products_name";
    $order_str .= " order by p.products_sort_order, pd.products_name";
    break;
    }
    }

    after:


    } else {
    // sort by products_sort_order when PRODUCT_LISTING_DEFAULT_SORT_ORDER ia left blank
    // for reverse, descending order use:
    // $listing_sql .= " order by p.products_sort_order desc, pd.products_name";
    // $order_str .= " order by p.products_sort_order, pd.products_name";
    break;
    }
    }

    If it's possible to change the title of the post with a [SOLVED] it may be of some help to someone else :-)
    Last edited by izar74; 9 Mar 2010 at 04:50 PM.

  2. #2
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Need to adress why i get a SQL 1024 error in Search

    Quote Originally Posted by izar74 View Post
    the problem was in the

    header_php.php (includes\modules\pages\advanced_search_results)

    I just commented the line above and the problem was solved.
    Rather than hacking at core files I would suggest uploading a clean version of that file from the ZC 1.3.8a distribution and see if that fixes your problem.

    Regards,
    Christian.

  3. #3
    Join Date
    Mar 2009
    Location
    Italy
    Posts
    155
    Plugin Contributions
    0

    Default Re: Need to adress why i get a SQL 1024 error in Search

    It's not a Core file problem but a Mod problem. The above file was modified due to a Mod installed so a "clean" install would have disable the mod causing errors..
    Modifing the file the way i wrote before solved the problem.

 

 

Similar Threads

  1. v139h 1064 SQL error in product filter addon?
    By 4jDesigns in forum All Other Contributions/Addons
    Replies: 12
    Last Post: 17 Jan 2013, 07:59 PM
  2. v150 "CSS Button Addon" causing "Page Not Found" Error ...
    By Rony in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 30 Apr 2012, 05:37 AM
  3. v139h DB/SQL Error when using SQL Patch for Add Pages More Info Sidebox addon
    By maperr55 in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 5 Mar 2012, 09:32 PM
  4. Error on install of a .sql for googleanalytics addon
    By EZorb in forum General Questions
    Replies: 1
    Last Post: 12 May 2010, 09:47 AM
  5. SQL error in Referral Sources addon
    By eaddesigns in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 8 Oct 2008, 12:51 AM

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