Thread: Attribute Error

Results 1 to 4 of 4
  1. #1
    Join Date
    May 2006
    Posts
    22
    Plugin Contributions
    0

    Default Attribute Error

    I have set up a list of dates as attributes for courses I run so rather than participants having lots of 'products' to choose from, they can just tick the date they want and bobs-your-uncle. However being dates I'd like them to list chronologically but when I try to set the order for them I get this error.

    1054 Unknown column 'attributes_default' in 'field list'
    in:
    [update products_attributes set products_id = '106', options_id = '6', options_values_id = '12', options_values_price = '0.0000', price_prefix = '+', products_options_sort_order = '5', product_attribute_is_free = '1', products_attributes_weight = '0', products_attributes_weight_prefix = '+', attributes_display_only = '0', attributes_default = '0', attributes_discounted = '1', attributes_price_base_included = '1', attributes_price_onetime = '0.0000', attributes_price_factor = '0.0000', attributes_price_factor_offset = '0.0000', attributes_price_factor_onetime = '0.0000', attributes_price_factor_onetime_offset = '0.0000', attributes_qty_prices = '', attributes_qty_prices_onetime = '', attributes_price_words = '0.0000', attributes_price_words_free = '0', attributes_price_letters = '0.0000', attributes_price_letters_free = '0', attributes_required = '0' where products_attributes_id = '182']
    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 may have messed something up when I transferred my data across from OSc to Zen ... have I got an extra column in my attributes database and if so which one.

    Look under Silva Map and Compass Courses, Bronze for the problem. http://shop.petehawkins.co.uk

    All help as ever greatly appreciated.


    Pete

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Attribute Error

    Looks like you do not have all of the new fields in the table so you are getting errors ...

    Compare your database table structure to a clean v1.3.5 in a test database loaded to a test directory such as /test_shop with the demo data loaded to help you learn as you go along ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    May 2006
    Posts
    22
    Plugin Contributions
    0

    Default Re: Attribute Error

    Ajeh,

    Saved the day again. I had added an underscore after attributes_default .. simple correction and All's well.

    Thank you.


    Pete

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Attribute Error

    Thanks for the update and glad you found your error ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v155 Attribute controller - error message when adding attribute values
    By rustwood in forum General Questions
    Replies: 8
    Last Post: 11 Jul 2016, 10:26 PM
  2. Attribute Error
    By Rizla in forum General Questions
    Replies: 1
    Last Post: 9 Aug 2014, 09:39 PM
  3. Attribute error
    By enquirer66 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Apr 2008, 07:31 AM
  4. Attribute Error
    By jakumpe in forum Setting Up Categories, Products, Attributes
    Replies: 16
    Last Post: 26 Nov 2007, 05:46 AM
  5. Attribute error
    By julie.t in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 10 Feb 2007, 05:39 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