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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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) |
|
#2
| |||
| |||
| Hi, Is this a new install or do you have mods in place. Do you have a url to look at? |
|
#3
| |||
| |||
| 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 |
|
#4
| |||
| |||
| 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 |
|
#5
| |||
| |||
| 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 |
|
#6
| |||
| |||
| 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. |
|
#7
| |||
| |||
| when you say snapshot do you mean the .sql file? Is there one you can post here? Onnig |
|
#8
| |||
| |||
| |
|
#9
| |||
| |||
| 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. |
|
#10
| |||
| |||
| 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 |
| Thread Tools | |
| |
| ||||
| 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 |