LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-02-2008, 05:35 AM   #1
simonm
LQ Newbie
 
Registered: Sep 2008
Posts: 29

Rep: Reputation: 15
Quick MYSQL Question.... Please help!


1054 - Unknown column 'parent_product' in 'field list'

select products_id, customers_basket_quantity, parent_product from customers_basket where customers_id = '2032'

[TEP STOP]

What do i need to do to fix this? Please advise step by step. thank you so much.
 
Old 10-02-2008, 05:42 AM   #2
timnp
Member
 
Registered: Feb 2008
Location: London
Distribution: FC8, FC9, Centos 4, Centos 5, Knoppix
Posts: 52

Rep: Reputation: 17
Check that the `parent_product` column exists in the `customers_basket` table. Is this an application/database you've developed yourself or something you've downloaded?

Try the query "describe customers_basket" to get the column list and details.
 
Old 10-02-2008, 06:01 AM   #3
simonm
LQ Newbie
 
Registered: Sep 2008
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks for the reply, sorted it thanks. It was oscommerce, this helped as i wasnt sure where to look.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick Tips to Optimize MySQL jeremy LQ Articles Discussion 0 03-12-2007 03:33 PM
Quick MySQL help? ToothlessRebel Programming 11 10-03-2006 12:19 PM
quick mysql question - logic with COUNT BrianK Programming 3 09-29-2005 05:29 PM
Quick MySQL question brandor Programming 2 03-02-2005 10:45 AM
webmin+mysql a quick question pudhiyavan Linux - Software 0 01-13-2005 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration