osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

catalog 1054 error

This is a discussion on catalog 1054 error within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; This is what I get: 1054 - Unknown column 'categories_name' in 'field list' select categories_id, categories_name, parent_id from categories where ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-03-2003, 10:22 AM
New Member
 
Join Date: Feb 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
onnig
Default catalog 1054 error

This is what I get:

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

select categories_id, categories_name, parent_id from categories where parent_id = '0' order by sort_order, categories_name

[TEP STOP]

The categories_name column is under another table, not in the 'field list' table, actually there is no 'field list' table. Am I reading this right?

Onnig
(this is worse than plucking out each hair on my head one by one)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 02-03-2003, 07:54 PM
Active Member
 
Join Date: Oct 2002
Location: Arkansas
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
modom
Default

Hi,

Is this a new install or do you have mods in place.

Do you have a url to look at?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-03-2003, 09:27 PM
New Member
 
Join Date: Feb 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
onnig
Default install 2.2

Hi,

Sorry, brand new install 2.2 and admin works fine. Site is http://www.tsapros.com/catalog/index.php or default.php

Thanks,

Onnig
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 02-04-2003, 06:54 AM
Active Member
 
Join Date: Oct 2002
Location: Arkansas
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
modom
Default

Hi,

You have an extra "categories_name" field in your database that is not in the new store installations.

In phpMyAdmin look at your categories table. It should have these fields and no more:
categories_id
categories_image
parent_id
sort_order
date_added
last_modified
__________________
Sincerely,
Melinda

www.designhosting.biz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 02-04-2003, 08:37 AM
New Member
 
Join Date: Feb 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
onnig
Default

Hi Melinda,

Thanks for your help. I have a categories table with these fields:

categories_id
categories_image
parent_id
sort_order
date_added
last_modified

and a categories_description table with these fields:

categories_id
language_id
categories_name

I think the code may be pointing to a wrong table name. What do you think?

Onnig
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 02-04-2003, 08:51 AM
Active Member
 
Join Date: Oct 2002
Location: Arkansas
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
modom
Default

Hi,

I guess it might be but this is usually a problem with the table listings.

I think I would drop my tables and reinstall today's snapshot.

Sometimes it's easier to do that than to try to figure it out.
__________________
Sincerely,
Melinda

www.designhosting.biz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 02-04-2003, 01:50 PM
New Member
 
Join Date: Feb 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
onnig
Default tepp error

when you say snapshot do you mean the .sql file? Is there one you can post here?

Onnig
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 02-04-2003, 02:11 PM
Active Member
 
Join Date: Oct 2002
Location: Arkansas
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
modom
Default

http://www.oscommerce.com/downloads/snapshot

Pick unix unless your host is on a windows machine.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 02-05-2003, 12:20 AM
New Member
 
Join Date: Feb 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
onnig
Default reinstall

ok I was using windows snapshot with a unix host. So I started from scratch, downloaded new unix snapshot, changed configure.php for both catalog and admin, re-uploaded everthing, dropped all database entries from old db, uploaded new db entries, admin works fine and again I get the same stinkin' error:

Categories
1054 - Unknown column 'categories_name' in 'field list'

select categories_id, categories_name, parent_id from categories where parent_id = '0' order by sort_order, categories_name

[TEP STOP]

at http://www.tsapros.com/catalog/default.php

Onnig

What Now? Thanks for your help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 02-05-2003, 06:25 AM
Active Member
 
Join Date: Oct 2002
Location: Arkansas
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
modom
Default

Did you run the install or just readd everything?

If you want I can take a look but would need your username and password.

You can privately email me at:
modom@designhosting.biz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Error: 1054 - Unknown column islander osCMax v2 Installation issues 1 02-27-2006 12:31 PM
1054 error, pwa installed but not working. sunspeks osCMax v2 Features Discussion 0 07-27-2005 07:17 AM
Problem (error 1054) Yari_Gio osCMax v1.7 Discussion 0 10-26-2004 01:54 AM
ERROR 1054 Anyone???? bleu osCMax v1.7 Discussion 4 06-05-2004 08:03 AM
Error 1054 don osCommerce 2.2 Installation Help 1 12-31-2002 06:27 PM


All times are GMT -8. The time now is 10:03 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax