Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2006
    Posts
    22
    Plugin Contributions
    0

    Default 1054 Unknown column 'p.products_price_w' in 'field list'

    I have the following error

    1054 Unknown column 'p.products_price_w' in 'field list'
    in:
    [select p.products_type, p.products_id, pd.products_name, p.products_quantity, p.products_image, p.products_price, p.products_price_w, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.products_model, p.products_quantity_order_min, p.products_quantity_order_units, p.products_priced_by_attribute, p.product_is_free, p.product_is_call, p.products_quantity_mixed, p.products_quantity_order_max, p.products_sort_order from products p, products_description pd, products_to_categories p2c where p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = '0' order by p.products_sort_order, pd.products_name limit 0, 10]
    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.


    This is my first install, and I am running the following:

    Server Host: () Database Host: localhost (127.0.0.1)
    Server OS: Database: MySQL 4.1.21-standard
    Server Date: 09/19/2006 00:53:26 Database Date: 09/19/2006 00:53:26
    Server Up Time:
    PHP Version: 4.4.4 (Zend: 1.3.0)
    HTTP Server: Apache/1.3.36 (Unix) PHP/5.1.4 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.27 OpenSSL/0.9.7a


    Zen Cart 1.3.5
    Database Patch Level: 1.3.5
    v1.3.5 [2006-09-18 03:59:16] (Fresh Installation)


    Can anyone please help as I am unsure how to fix this, everything else seems to work ok, but I can't add products.
    Thanks
    Amanda
    www.heavenlylingerie.com.au ( upgrading from ecommercetemplates to zen)

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: 1054 Unknown column 'p.products_price_w' in 'field list'

    Is this a clean install, i.e. you haven't installed any add-ons? If so, this sounds like your admin/includes/modules/category-product_listing.php file has a minor corruption. I recommend re-uploading that one file and trying again.

    Alternatively you could try deleting "p.products_price_w," from line 219 or 238 (whichever it has snuck into) as it shouldn't be there.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 1054 Unknown column 'p.products_price_w' in 'field list'

    1054 Unknown column 'p.products_price_w' in 'field list'
    that field is normally part of the dual-pricing contribution.

    If you're not using that contribution, then you need to replace all the files it modified using originals.
    .

    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.

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: 1054 Unknown column 'p.products_price_w' in 'field list'

    If you are using the dual pricing add-on, then the "dual pricing.txt" file that comes with it explains how and where to insert the "products_price_w" field (good spot Dr Byte).
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Sep 2006
    Posts
    22
    Plugin Contributions
    0

    Default Re: 1054 Unknown column 'p.products_price_w' in 'field list'

    Thank you all very much - worked like a charm !

 

 

Similar Threads

  1. 1054 Unknown column 'zen_order_id' in 'field list'
    By Mc G in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 9 Apr 2010, 01:48 PM
  2. 1054 Unknown column 'p.products_price_w' in 'field list'
    By bigbens in forum General Questions
    Replies: 1
    Last Post: 23 Sep 2008, 04:26 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