Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2008
    Posts
    332
    Plugin Contributions
    0

    Default 1064 SQL Error on Zencart 1.3.9 RC1 (beta)

    Took the new 1.3.9 RCI on test run over local host. Local host is running:
    Apache 2.0.54
    MYSQL 4.1.14
    PHP 5.05
    Windows NT

    First install, tried it with demo products. Store front had message as follows:
    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 'decimal(9,5)) as value from products_attributes where products_id = '1' and attr' at line 1
    in:
    [select options_id, price_prefix, options_values_price, attributes_display_only, attributes_price_base_included, cast(concat(price_prefix, options_values_price) as decimal(9,5)) as value from products_attributes where products_id = '1' and attributes_display_only != '1' and attributes_price_base_included='1' order by options_id, value]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

    Can't access any of the demo products either. When you click on the demo product on Admin, the same error above show.

    2nd install, did not include demo products. Everything seemed to look good, no error messages until I tried adding a product then the same message above appeared when I tried to INSERT the product.

    Anybody else having this problem? Is it my test environment that is causing this?

    I'm successfully running 1.3.8a on it for sometime now and have used it to test before going to the live store to install whatever I want to install that is new.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: 1064 SQL Error on Zencart 1.3.9 RCI

    The problem is fixed in the official v1.3.9a release, which was posted on April 19 and is now available on SourceForge.
    .

    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.

  3. #3

    Default Re: 1064 SQL Error on Zencart 1.3.9 RC1

    Same problem! Thanks!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: 1064 SQL Error on Zencart 1.3.9 RC1

    Same answer.
    .

    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.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 25 Aug 2011, 05:58 AM
  2. Replies: 2
    Last Post: 13 Sep 2009, 04:33 PM
  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 sethererm in forum General Questions
    Replies: 15
    Last Post: 25 Jul 2008, 04:40 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