Web Tool Bag  
Home · Articles · Downloads · Discussion Forum · Web Links · News Categories · Synonyms DatabaseAugust 07 2020 20:37:07
Navigation
Home
Articles
Downloads
Discussion Forum
Web Links
News Categories
Synonyms Database
Search
Users Online
Guests Online: 2
No Members Online

Registered Members: 856
Unactivated Members: 118
Newest Member: lakim
Forum Threads
Newest Threads
Error: Cannot find m...
Uncaught Error: _reg...
Module build failed:...
Installation
mochi script questions
Hottest Threads
Installation [12]
Any questions and... [5]
Captcha picture d... [4]
Integrate with Vi... [4]
Mods: Sucess/Than... [4]
 
Latest Articles
Ubuntu: the vpn conn...
Howto Install HP Pri...
ReactJS progress met...
react-show-more-text
react-collapsible-co...
1054 - Unknown column 'pd.products_price' in 'field list' OsCommerce
1054 - Unknown column 'pd.products_price' in 'field list'


If you have the following error in admin area search:


1054 - Unknown column 'pd.products_price' in 'field list'

select p.products_id, pd.products_name, p.products_quantity, p.products_image, pd.short_desc,
pd.products_price, p.products_date_added, p.products_last_modified, p.products_date_available,
p.products_status, p2c.categories_id 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
pd.products_name like '%Gold Blend Tea%' order by pd.products_name

You need to open categories.php, find query:

select p.products_id, pd.products_name, p.products_quantity, p.products_image,
pd.short_desc, pd.products_price, p.products_date_added, p.products_last_modified,
p.products_date_available, p.products_status, p2c.categories_id from " . TABLE_PRODUCTS . " p, " .
TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_id = pd.products_id
and pd.language_id = '" . (int)$languages_id . "' and p.products_id = p2c.products_id and pd.products_name
like '%" . tep_db_input($search) . "%' order by pd.products_name


Open the file (categories.php) in a text editor and search for pd.products_price and change it to p.products_price.


Posted by admin on July 21 2008 14:36:07 4347 Reads · Print
Ratings
Rating is available to Members only.

Please login or register to vote.

No Ratings have been Posted.
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Member Poll
Which PHP framework do you preffer?

Symfony

Zend

CodeIgniter

PHP on TRAX

eZ Components

Fusebox

PhpOpenbiz

Prado

QPHP

Seagull

You must login to vote.
Shoutbox
You must login to post a message.

Vince
03/10/2011 18:17
Hi, How to remove Register from Login screen? I don't want them to register and have full access! if you leave register then they should not have any rights until the admin assigns them

webtoolz
26/09/2011 08:28
Please describe your problem with more details. Thank you.

bimmer98
22/11/2010 18:31
Help. There was a problem with the request; error regarding feedbackzdr form program

Custom web software development by Devzone Tech
Copyright © 2020 - www.webtoolbag.com