osCmax v2.5 User Manual
Results 1 to 2 of 2

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

This is a discussion on 1054 - Unknown column 'p.products_id' in 'on clause' within the osCommerce 2.2 Discussion forums, part of the osCommerce 2.2 Forums category; In Oscommerce I am getting this error when I select a product from any of the sub categories. This happen ...

      
  1. #1
    New Member
    Join Date
    May 2004
    Location
    Coon Rapids, MN
    Posts
    29
    Rep Power
    0


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

    In Oscommerce
    I am getting this error when I select a product from any of the sub categories.
    This happen on all the different products
    Can some one tell me what the problem is?

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

    select count(p.products_id) as total from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '3957'

    [TEP STOP]

  2. #2
    New Member
    Join Date
    Aug 2007
    Posts
    9
    Rep Power
    0


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

    It is a syntax error in the php when using php 5, even if you do not use that version it still errors out. You can find some information on fixing the problem from another post I did.

    Multi-Stores shop system for OSCMAX

Similar Threads

  1. 1054 - Unknown column 'a.authors_id' in 'on clause'
    By fuzzyphil in forum osCmax v2 Customization/Mods
    Replies: 29
    Last Post: 01-08-2009, 04:05 PM
  2. Articles Problem - Unknown column 'a.authors_id' in 'on clause'
    By dononeil in forum osCmax v2 Installation issues
    Replies: 3
    Last Post: 04-19-2007, 11:03 PM
  3. Error Message - 1054 - Unknown column 'p.products_id' in 'on clause'
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 03-27-2007, 02:21 AM
  4. 1054 - Unknown column 'a.authors_id' in 'on clause'
    By dragonkeeper1973 in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 02-23-2007, 02:50 PM
  5. 1054 - Unknown column - Help, please !
    By Anonymous in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 11-27-2002, 11:48 AM

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
  •