If this is your first visit, check our documentation. To post, register or login.
Forums / Installing on a Linux/Unix Server / 1054 Unknown column 'p.products_price_w' in 'field list'

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

Locked

Started by heavenlylingerie on 19 Sep 2006, 5:54 AM · Views: 4,697

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
19 Sep 2006, 5:54 AM
#1
heavenlylingerie avatar

heavenlylingerie

New Zenner

Join Date:
Sep 2006
Posts:
22
Plugin Contributions:
0

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
https://www.heavenlylingerie.com.au ( upgrading from ecommercetemplates to zen)

19 Sep 2006, 8:52 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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)

19 Sep 2006, 12:43 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

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.

19 Sep 2006, 2:38 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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)

19 Sep 2006, 8:41 PM
#5
heavenlylingerie avatar

heavenlylingerie

New Zenner

Join Date:
Sep 2006
Posts:
22
Plugin Contributions:
0

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

Thank you all very much - worked like a charm !