Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2006
    Location
    BC, Canada
    Posts
    98
    Plugin Contributions
    0

    Default Search for manufacturers returns MYSQL Error

    Hello, I recieve the error below when I search for Manufacturers - Could some one please explain to me how to fix this


    Warning: constant(): Couldn't find constant in /includes/init_includes/init_add_crumbs.php on line 45
    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 'from where manufacturers_id = 16' at line 2
    in:
    [select from where manufacturers_id = 16]
    Version 1.3.7

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Search for manufacturers returns MYSQL Error

    I do not still have a 1.3.5 installed so can not check this but know that my installs of 1.3.6 function correctly....I would first upgrade...Hope that you have used the override system to your advantage

  3. #3
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Search for manufacturers returns MYSQL Error

    That was a bug in the upgrade from prior version to v1.3.5.
    A fix can be found in the "Known issues" discussion in the Bug Reports area.
    Upgrading to 1.3.6 will also resolve it.
    .
    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.

  4. #4
    Join Date
    Mar 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: Search for manufacturers returns MYSQL Error

    Hi Dr. Byte,
    I am getting this exact error, but I can't seem to locate known issues under the bug fix area.

    Thanks for the help!

  5. #5
    Join Date
    Mar 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: Search for manufacturers returns MYSQL Error

    Hi,
    Just in case someone runs across this again, I found it here under "confirmed bugs & workarounds v.1.3.5
    http://www.zen-cart.com/forum/showthread.php?t=45377

 

 

Similar Threads

  1. v153 Any way to return 2 manufacturers in a manufacturers search
    By seanscully in forum General Questions
    Replies: 1
    Last Post: 14 Nov 2014, 11:34 PM
  2. Replies: 8
    Last Post: 29 Apr 2012, 11:43 AM
  3. Replies: 1
    Last Post: 29 Sep 2011, 06:17 PM
  4. custom mySQL query returns incorrect results?
    By lat9 in forum General Questions
    Replies: 1
    Last Post: 1 Jun 2010, 03:20 PM
  5. How to setup zipcode search for manufacturers?
    By Romac35 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 9 Apr 2010, 06:11 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