Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2005
    Location
    Bogotá, Colombia
    Posts
    32
    Plugin Contributions
    2

    Default 1054 Unknown column 'c.parent_id' in 'on clause'

    Hello, I am having this problem:

    1054 Unknown column 'c.parent_id' in 'on clause'
    in:
    [SELECT c.categories_id as id, c.parent_id, cd.categories_name as cName, cd2.categories_name as pName FROM zce_categories c, zce_categories_description cd LEFT JOIN zce_categories_description cd2 ON c.parent_id=cd2.categories_id AND cd2.language_id='2' WHERE c.categories_id=cd.categories_id AND cd.language_id='2']

    The site is in spanish, and this is the DB history:
    v1.3.6 [2007-08-27 08:52:21] (Version Update 1.3.5->1.3.6)
    v1.3.5 [2007-08-27 08:52:20] (Version Update 1.3.0.2->1.3.5)
    v1.3.0.2 [2006-06-23 18:49:13] (Version Update 1.3.0.1->1.3.0.2)
    v1.3.0.1 [2006-06-23 18:49:12] (Version Update 1.3.0->1.3.0.1)
    v1.3.0.1 [2006-05-31 01:07:12] (Fresh Installation)

    but i can not get it to work.
    Please help.
    I am now with this.
    Thanks for your valuable help.
    Visit www.colombianhandcrafts.org, we are in the fair trade move!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: 1054 Unknown column 'c.parent_id' in 'on clause'

    When did this start happening?
    What procedures did you follow when upgrading to v1.3.7 ?
    What addons/contributions are installed on your site?
    What screen(s) do you see this error on ?
    Can you provide the URL where we can see the error happening ?
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Mar 2005
    Location
    Bogotá, Colombia
    Posts
    32
    Plugin Contributions
    2

    Default Re: 1054 Unknown column 'c.parent_id' in 'on clause'

    It seems to be a SEO URL problem.

    Add category parent to begining of URLs? I have this on true. now it is false and the site comes to live again, I have now to make the adjustments to the upgrade to correctly reflects the site due to some overwrites in the language files, (my mistake) but it solves all the problem just a change from true to false. in this:

    Add category parent to begining of URLs?

    in the SEO URLs at the bottom of the menu in Admin--> Configure

    I have on this site IH2, Quick Updates, SEO URLs, this I do not remember if is a mod or is native in the original install, sorry i am not an expert on Zen

    I hope this can help us all.

    For the upgrade i did the procedures as in the manual, upload and upgrade button.
    the error comes in homepage so I can't never pass form here but i think the error comes in all the site.
    www.electrogeno.com, but now this is working ok without the Add category parent to begining of URLs? iin false.
    Last edited by linkedla; 28 Aug 2007 at 02:40 PM. Reason: left info
    Visit www.colombianhandcrafts.org, we are in the fair trade move!

 

 

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. Replies: 2
    Last Post: 13 Jun 2006, 06:34 PM

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