Results 1 to 2 of 2
  1. #1
    Join Date
    May 2010
    Posts
    16
    Plugin Contributions
    0

    Default Search Help estorenow

    Hi all,
    Having problems with the search function and need help in fixing it.
    I try to do a search and this comes up -
    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' , , cd.categories_description, cd.categories_id, c.parent_id from zen_categori' at line 1
    in:
    [SELECT DISTINCT c.categories_image, cd.categories_name, , , , cd.categories_description, cd.categories_id, c.parent_id from zen_categories_description cd, zen_categories c where cd.categories_id = c.categories_id and cd.language_id = '1' AND ((cd.categories_name LIKE '%drill%' OR cd.categories_description LIKE '%drill%') and (cd.categories_name LIKE '%bits%' OR cd.categories_description LIKE '%bits%') ) order by cd.categories_name]


    Please help.

    Thanks.
    Custom Gift Shoppe
    Mistik Games
    Teach a man to fish and he'll eat for the rest of his life.

  2. #2
    Join Date
    May 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: Search Help estorenow

    Let's try this again.
    Using estorenow as a template, whenever someone uses the search, either top of page or from sidebox this error comes up -------

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' , , cd.categories_description, cd.categories_id, c.parent_id from zen_categori' at line 1
    in:
    [SELECT DISTINCT c.categories_image, cd.categories_name, , , , cd.categories_description, cd.categories_id, c.parent_id from zen_categories_description cd, zen_categories c where cd.categories_id = c.categories_id and cd.language_id = '1' AND ((cd.categories_name LIKE '%drill%' OR cd.categories_description LIKE '%drill%') and (cd.categories_name LIKE '%bits%' OR cd.categories_description LIKE '%bits%') ) order by cd.categories_name]


    I do not understand MYSQL and have no idea how to fix it.
    Any help would be great.

    Thanks.
    Custom Gift Shoppe
    Mistik Games
    Teach a man to fish and he'll eat for the rest of his life.

 

 

Similar Threads

  1. Layout help for estorenow theme
    By tomlcuneo in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Feb 2013, 12:03 AM
  2. Estorenow template help
    By voodoo13 in forum Addon Templates
    Replies: 12
    Last Post: 4 Apr 2012, 11:33 AM
  3. Help on estorenow template - Header
    By psvialli in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Mar 2012, 12:11 PM
  4. Can't find a way to search by Model in Advanced Search - could somebody help please?
    By Athens Collectibles in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Sep 2011, 12:14 PM
  5. advanced search in estorenow
    By Ms_X in forum Addon Templates
    Replies: 5
    Last Post: 5 Jan 2011, 04:28 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