Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2005
    Posts
    101
    Plugin Contributions
    0

    Default 1054 Unknown column 'products_cost' in 'field list'

    i try to upload a product, then a error show :

    1054 Unknown column 'products_cost' in 'field list'
    in:
    [insert into products (products_quantity, products_type, products_model, products_price, products_cost, products_markup, products_margin_gross_dollar, products_margin_gross_percent, products_date_available, products_weight, products_status, products_virtual, products_tax_class_id, manufacturers_id, products_quantity_order_min, products_quantity_order_units, products_priced_by_attribute, product_is_free, product_is_call, products_quantity_mixed, product_is_always_free_shipping, products_qty_box_status, products_quantity_order_max, products_sort_order, products_discount_type, products_discount_type_from, products_price_sorter, products_image, products_date_added, master_categories_id) values ('100', '1', 'Software', '5000', '', '', '', '', null, '0', '1', '0', '0', '0', '1', '1', '0', '0', '0', '1', '0', '1', '0', '0', '0', '0', '0', 'matri.jpg', now(), '61')]
    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
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 1054 Unknown column 'products_cost' in 'field list'

    Looks like you've installed PHP files for a mod that tracks product cost, but haven't made the appropriate SQL/database updates to work with it. Check the documentation for the mod you've installed.

    Hopefully you're not doing this on your live site without backups or testing first ...
    .

    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
    Jan 2005
    Posts
    101
    Plugin Contributions
    0

    Default Re: 1054 Unknown column 'products_cost' in 'field list'

    thanks, you are right, now working fine.

 

 

Similar Threads

  1. v139h 1054 Unknown column 'admin_level' in 'field list'
    By eric engler in forum Basic Configuration
    Replies: 2
    Last Post: 24 Nov 2012, 04:39 AM
  2. 1054 Unknown column 'zen_order_id' in 'field list'
    By bunnyzoe in forum PayPal Website Payments Pro support
    Replies: 0
    Last Post: 6 Jun 2009, 08:18 PM
  3. 1054 Unknown column 'TIME_ZONE_OFFSET' in 'field list'
    By Kitty in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 23 Apr 2008, 03:12 PM
  4. 1054 Unknown column 'p.products_price_w' in 'field list'
    By heavenlylingerie in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 19 Sep 2006, 09:41 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR