Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2004
    Location
    Berkshire, UK
    Posts
    1,482
    Plugin Contributions
    1

    Default 1054 Unknown column 'c.parent_id' in 'on clause' - what did I break?!?

    I wanted to use working store A as a basis for working store B, and as so much customisation and so many database additions has been done through plugins, I though the simplest thing would be to copy site a files and db, and then repoint siteb configures, empty the products and cats tables, and then easypopulate in the new data.

    Except, I am getting:

    1054 Unknown column 'c.parent_id' in 'on clause'
    in:
    [SELECT c.categories_id, c.parent_id, cd.categories_name as cName, cd2.categories_name as pName FROM categories c, categories_description cd LEFT JOIN categories_description cd2 ON c.parent_id=cd2.categories_id AND cd2.language_id='1' WHERE c.categories_id='10' AND cd.categories_id='10' AND cd.language_id='1' LIMIT 1]

    And I have no idea why, or where this comes from! It should behave like the old store, just with no products!!!

  2. #2
    Join Date
    Apr 2004
    Location
    Berkshire, UK
    Posts
    1,482
    Plugin Contributions
    1

    Default Re: 1054 Unknown column 'c.parent_id' in 'on clause' - what did I break?!?

    After much experimentation, it appears to be related to Chemos Ultimate URLs, and there is a suggestion of a fix in this post
    However, it didn't work for me, but I'll carry on posting on this subject in this thread now I know what it is.

  3. #3
    Join Date
    Apr 2004
    Location
    Berkshire, UK
    Posts
    1,482
    Plugin Contributions
    1

    Default Re: 1054 Unknown column 'c.parent_id' in 'on clause' - what did I break?!?

    ...and a little while later, I FOUND THE ANSWER!

    You need to go into the CONFIGURATION>SEO URLS and tick RESET SEO CACHE.

    Yay! Also posted in the other thread, but left here too so the error is searchable.

 

 

Similar Threads

  1. 1054 Unknown column 'c.parent_id' in 'on clause'
    By darocket in forum General Questions
    Replies: 9
    Last Post: 21 Jul 2010, 03:56 AM
  2. Replies: 1
    Last Post: 26 Dec 2009, 03:38 PM
  3. Urgent: 1054 Unknown column 'c.parent_id' in 'on clause'
    By dealbyethan.com in forum General Questions
    Replies: 3
    Last Post: 5 Dec 2009, 06:07 PM
  4. 1054 Unknown column 'c.parent_id' in 'on clause'
    By kimsonvu in forum General Questions
    Replies: 1
    Last Post: 21 Dec 2007, 06:12 PM
  5. 1054 Unknown column 'c.parent_id' in 'on clause'
    By linkedla in forum General Questions
    Replies: 2
    Last Post: 28 Aug 2007, 02:37 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR