Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2005
    Location
    Helena, MT
    Posts
    118
    Plugin Contributions
    0

    database error Attributes mySQL error?

    This is the error I get when trying to Add Attributes to a product in the Attributes Controller


    1366 Incorrect decimal value: '' for column 'options_values_price' at row 1
    in:
    [insert into products_attributes values (0, '41', '1', '51', '', '0', '+', '', '1', '', '+', '0', '0', '1', '', '1', '', '', '', '', '', '', '', '', '', '', '', '0')]
    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.

  2. #2
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: Attributes mySQL error?

    What is different about that first 0 in comparison to all the other numbers?

    hint: 0 should be "0"

    Is that + sign supposed to be in there? I don't know for sure, which is why I'm a askun.

  3. #3
    Join Date
    Oct 2005
    Location
    Helena, MT
    Posts
    118
    Plugin Contributions
    0

    Default Re: Attributes mySQL error?

    I don't know why the 0 isn't '0' if that's what it should be. How can I fix this?

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

    Default Re: Attributes mySQL error?

    1. What version of Zen Cart?
    2. What version of MySQL?
    3. What version of Attributes Controller?
    .

    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
    Oct 2005
    Location
    Helena, MT
    Posts
    118
    Plugin Contributions
    0

    Default Re: Attributes mySQL error?

    zen cart 1.3.7
    MySQL 5.0.37
    Attributes Controller (zen cart 1.3.7)

 

 

Similar Threads

  1. Fatal error: mysql error (1064 error) -- v1.0-alpha
    By Dale Schibbelhut in forum General Questions
    Replies: 9
    Last Post: 18 Nov 2010, 08:08 PM
  2. EP w/Attributes mysql fetch array ERROR
    By gmerkktc in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 15 Mar 2010, 10:36 PM
  3. MySQL Error 1064 You have an error in your SQL syntax;
    By dmm2020 in forum General Questions
    Replies: 2
    Last Post: 22 Feb 2009, 05:02 AM
  4. Dreaded mYSQL 1064 error when importing MySQL 4 database into MySQL5
    By dml311071 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 10 Jun 2008, 05:38 AM
  5. Bulk change the Attributes in MySQL
    By pensive612 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 23 Oct 2006, 02:13 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