Results 1 to 10 of 16

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: SQL Error 1064??

    What's this set to?
    Admin->Configuration->Maximum Values->Products Listing- Number Per Page
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #2
    Join Date
    Feb 2008
    Location
    Inside my head.
    Posts
    55
    Plugin Contributions
    0

    Default Re: SQL Error 1064??

    It's set to 10 currently.
    </Seth>

  3. #3
    Join Date
    Feb 2008
    Location
    Inside my head.
    Posts
    55
    Plugin Contributions
    0

    Default Re: SQL Error 1064??

    Could it have anything to do with the Columnar Display that I installed? (there was a sql patch as well as a few other files)

    It was working fine with it, but I believe it was after the change in the admin section that it messed up. I was trying to remember if I had changed any core files - but I don't remember messing with any of those. I even have done a fresh install so I wouldn't have changed any of the core installs - just the template files - and it still isn't working properly...so maybe it was a template file I messed up as well... I might be rambling a bit - but trying to go through everything in my head that I did to replicate the error...

    Ahh!
    </Seth>

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: SQL Error 1064??

    Quote Originally Posted by sethererm View Post
    Could it have anything to do with the Columnar Display that I installed?
    Probably would have been worth noting that in the first place


    What happens if you change templates back to "Classic" via the admin?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Feb 2008
    Location
    Inside my head.
    Posts
    55
    Plugin Contributions
    0

    Default Re: SQL Error 1064??

    Well, other than looking awful - it makes it so it displays those products vertically. Which may be because of the size of the thumbnail image I have set up to display.

    Does that add on have problems running with other templates?
    </Seth>

  6. #6
    Join Date
    Feb 2008
    Location
    Inside my head.
    Posts
    55
    Plugin Contributions
    0

    Default Re: SQL Error 1064??

    Sorry for not mentioning it, by the way, just seemed like it was irrelevant after looking around at other SQL errors and reading what their problems had been.
    </Seth>

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: SQL Error 1064??

    So, switching templates gets rid of the error.

    That means something in one or more of your override files is causing the problem.

    What files do you have in your /includes/modules/YOUR_CUSTOM_TEMPLATE/ folder?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Jul 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: SQL Error 1064??

    Hello, DrByte

    Help, I do not know what I do!

    Where does this look?


    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 ')' at line 13
    in:
    [select distinct p.products_id, p.products_image, p.products_tax_class_id, pd.products_name, p.products_date_added, p.products_price, p.products_type, p.master_categories_id from zen_products p, zen_products_description pd where p.products_id = pd.products_id and pd.language_id = '2' and p.products_status = 1 and p.products_id in ()]

    Tanks

 

 

Similar Threads

  1. Replies: 1
    Last Post: 25 Aug 2011, 05:58 AM
  2. Error message 1064 you have an error in your sql syntax
    By honrheart in forum General Questions
    Replies: 1
    Last Post: 11 Sep 2009, 02:38 AM
  3. SQL Error 1064?
    By niemie in forum General Questions
    Replies: 7
    Last Post: 2 Apr 2009, 09:35 PM
  4. SQL error 1064??
    By paperzombie in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Jan 2008, 06:24 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