Page 1 of 2 12 LastLast
Results 1 to 10 of 13

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 ...

      
  1. #1
    New Member
    Join Date
    Feb 2003
    Posts
    7
    Rep Power
    0


    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)

  2. #2
    Active Member
    Join Date
    Oct 2002
    Location
    Arkansas
    Posts
    149
    Rep Power
    0


    Default

    Hi,

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

    Do you have a url to look at?
    Sincerely,
    Melinda

    www.designhosting.biz

  3. #3
    New Member
    Join Date
    Feb 2003
    Posts
    7
    Rep Power
    0


    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

  4. #4
    Active Member
    Join Date
    Oct 2002
    Location
    Arkansas
    Posts
    149
    Rep Power
    0


    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

  5. #5
    New Member
    Join Date
    Feb 2003
    Posts
    7
    Rep Power
    0


    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

  6. #6
    Active Member
    Join Date
    Oct 2002
    Location
    Arkansas
    Posts
    149
    Rep Power
    0


    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

  7. #7
    New Member
    Join Date
    Feb 2003
    Posts
    7
    Rep Power
    0


    Default tepp error

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

    Onnig

  8. #8
    Active Member
    Join Date
    Oct 2002
    Location
    Arkansas
    Posts
    149
    Rep Power
    0


    Default

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

    Pick unix unless your host is on a windows machine.
    Sincerely,
    Melinda

    www.designhosting.biz

  9. #9
    New Member
    Join Date
    Feb 2003
    Posts
    7
    Rep Power
    0


    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.

  10. #10
    Active Member
    Join Date
    Oct 2002
    Location
    Arkansas
    Posts
    149
    Rep Power
    0


    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
    Sincerely,
    Melinda

    www.designhosting.biz

Page 1 of 2 12 LastLast

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •