Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2010
    Posts
    7
    Plugin Contributions
    0

    red flag 1064 SQL Syntax Error for Column Product Listing.. HELP!!!

    Hi I'm having problems after upload the add on to change my product listings layout from rows to columns..

    All my product listings other than all products have this error..

    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 '-0, 0' at line 7
    in:
    [select p.products_image, pd.products_name, p.products_quantity, p.products_id, p.products_type, p.master_categories_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, pd.products_description, IF(s.status = 1, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status =1, s.specials_new_products_price, p.products_price) as final_price, p.products_sort_order, p.product_is_call, p.product_is_always_free_shipping, p.products_qty_box_status from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p2c.products_id = s.products_id where p.products_status = 1 and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '22' order by p.products_sort_order, pd.products_name limit -0, 0]

    I'm using zen cart 1.3.8, tried reinstalling 3 times.. bud it worked on my previous template well.. I tried removing all the folder and did reinstall.. same error came out..

    Could someone help me with this?


  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,543
    Plugin Contributions
    127

    Default Re: 1064 SQL Syntax Error for Column Product Listing.. HELP!!!

    Please don't double post.

    Follow up to http://www.zen-cart.com/forum/showth...427#post921427
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 25 Aug 2011, 05:58 AM
  2. Replies: 0
    Last Post: 13 Aug 2010, 06:24 PM
  3. HELP... 1064 You have an error in your SQL syntax;
    By limelites in forum General Questions
    Replies: 11
    Last Post: 16 Oct 2009, 05:31 PM
  4. sql syntax error 1064 - HELP NEEDED - Master Password
    By mydesignerstudio in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 20 Jul 2009, 04:22 PM
  5. 1064 SQL syntax Error - Max Value Changed ...HELP!!
    By Canvas101 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 7 Oct 2007, 01:14 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