Results 1 to 5 of 5
  1. #1
    Join Date
    May 2005
    Posts
    20
    Plugin Contributions
    0

    Product Attributes

    Hello, I have installed zencart ok, however for some reason whenever i try to add a product option name I get the following error.

    "1264 Out of range value adjusted for column 'products_options_images_per_row' at row 1
    in:
    [insert into products_options (products_options_id, products_options_name, language_id, products_options_sort_order, products_options_type, products_options_images_per_row, products_options_images_style, products_options_rows) values ('1', 'Colour', '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."

    I did not leave any blank fields, and I have done this loads of times before on other zen installs without a problem?

    Any help would be great

    Thanks

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

    Default Re: Product Attributes

    This is an incompatibility with MySQL 5 on your server.

    Easiest way to fix it is to reconfigure your MySQL to not use the STRICT_TRANS_TABLES option.
    .

    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
    Join Date
    May 2005
    Posts
    20
    Plugin Contributions
    0

    Re: Product Attributes

    Thanks, I am relatively new to MySQL, how would I reconfigure my, MySQL to not use the STRICT_TRANS_TABLES option ?

    Thanks

  4. #4
    Join Date
    May 2005
    Posts
    20
    Plugin Contributions
    0

    Idea or Suggestion Re: Product Attributes

    I found it, I simply removed the entry from the MySQL ini file.

    Thanks for your help, its now working great. :)

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

    Default Re: Product Attributes

    .

    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. Problem with Required attributes after moving attributes to product listing page
    By bigmo337 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 20 Jun 2010, 12:03 AM
  2. Adding Additional Attributes to Product Listing from Custom Product Type
    By Bigman in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 12 Aug 2008, 04:29 PM
  3. How do I assign attributes to attributes of a product?
    By stargre in forum General Questions
    Replies: 2
    Last Post: 20 May 2008, 12:01 PM
  4. Copy Product without attributes still copies the attributes
    By oavs in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 29 Apr 2008, 11:30 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