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

Hybrid View

  1. #1
    Join Date
    Apr 2005
    Posts
    23
    Plugin Contributions
    0

    Default 1054 Unknown column 'p.products_id' in 'on clause'

    When ever I go to select a category from the main screen or when I try to select an individual product in viewing all products I get this error message: 1054 Unknown column 'p.products_id' in 'on clause'

    I'm not the only one with admin rights and I'm not sure what the other person could have done to cause this error.

    Does anyone have any idea what this error is and how I can fix it? I can no longer view any products in the catelog.

    Any help would be appreciated.

    Thanks,

    Jeff Nordgren

  2. #2
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,927
    Plugin Contributions
    4

    Default Re: 1054 Unknown column 'p.products_id' in 'on clause'

    This problem is usually caused by using mysql5 with zc v1.2.x. If this problem has recently shown up after your site has been working with no problems, then the likelihood is that your Host has upgraded mysql. If that is the case then I would be complaining to my host.

    Mysql5 uses a much stricter SQL interpreter and some queries in ZC v1.2.7 and earlier will fail. Fixes were introduced into ZC v1.3.0 to fix this.

  3. #3
    Join Date
    Apr 2005
    Posts
    23
    Plugin Contributions
    0

    Default Re: 1054 Unknown column 'p.products_id' in 'on clause'

    Wilt,

    Thanks for the information.

    I upgraded to zc 1.3 and that seemed to fix the problem.

    Thanks again,

    Jeff

  4. #4
    Join Date
    Jul 2005
    Posts
    21
    Plugin Contributions
    0

    Default Re: 1054 Unknown column 'p.products_id' in 'on clause'

    I have the same problem, in the category products i get the message: 1054 Unknown column 'p.products_id' in 'on clause'. My host has upgraded to SQL 5. See www.vanhooffmodelbouw.nl

    But i am a bit anxious to upgrade my zencart version, because i made a lot of custumizations a while ago.

    Is there any simple (temporary) solution to fix this problem.

  5. #5
    Join Date
    Jul 2005
    Posts
    21
    Plugin Contributions
    0

    Default Re: 1054 Unknown column 'p.products_id' in 'on clause'

    I fixed it, i used the help off this thread: forums.oscommerce.nl/index.php?showtopic=6565. I added some brackets in the default_filter file (in the includes/index_filter map).
    Last edited by Kim; 22 Jun 2006 at 10:08 PM. Reason: removed hotlink

  6. #6
    Join Date
    Jan 2004
    Posts
    72
    Plugin Contributions
    0

    Default Re: 1054 Unknown column 'p.products_id' in 'on clause'

    please could you paste the code here, with instructions in english? l have the same problem with my new install, but my norweigian is not that good LOL ;-)

  7. #7
    Join Date
    Nov 2005
    Posts
    4
    Plugin Contributions
    0

    Default Re: 1054 Unknown column 'p.products_id' in 'on clause'

    I get the 1054 error message when I open the attributes controller in the admin area.
    I have searched through many forums, but they didn't help.
    I cannot update from zc 1.26 to 1.3.x because I have made many changes in the design of the shop.
    Does someone know what I have to do so it works again?
    Thanks for answers!

  8. #8
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: 1054 Unknown column 'p.products_id' in 'on clause'

    You will have to update. Most hosts will upgrade to PHP5 soon, and 1.2.x will not run on it. Upgrade now or you will regret later.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  9. #9
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: 1054 Unknown column 'p.products_id' in 'on clause'

    alot of hosts are making the jump to mysql5 at the same time they go to php5

    this will cause issues with sites under 1.3.6 ( have to upgrade the /includes/functions/sessions.php )

    You should always plan on having to upgrade at some time:
    as technology changes, things go obsolete

    this is the reason that the developers built in the over rides folders and pages, as well as the auto loading functions,
    Zen cart PCI compliant Hosting

  10. #10
    Join Date
    Nov 2005
    Posts
    4
    Plugin Contributions
    0

    Default Re: 1054 Unknown column 'p.products_id' in 'on clause'

    I will begin with the upgrade as soon as possible, but I haven't much time for it right now. So it will take 4-5 weeks until I can start upgrading. But now I want to add some attributes to some of my products in my zen-cart store and need to know what I have to do with the source code in the admin area so it works.
    Thanks!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. 1054 Unknown column 'p.products_id' in 'on clause'
    By cathytsui in forum General Questions
    Replies: 0
    Last Post: 23 Jul 2009, 02:07 PM
  2. 1054 Unknown column 'p.products_id' in 'on clause'
    By phylrust in forum General Questions
    Replies: 3
    Last Post: 5 Jan 2009, 08:36 PM
  3. 1054 Unknown column 'p.products_id' in 'on clause
    By firstwiz in forum General Questions
    Replies: 1
    Last Post: 28 Aug 2008, 11:47 PM
  4. 1054 Unknown column 'p.products_id' in 'on clause' ???
    By cmb1998 in forum General Questions
    Replies: 1
    Last Post: 27 Aug 2007, 11:48 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