Results 1 to 7 of 7

Errors on oscommerce

This is a discussion on Errors on oscommerce within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hey guys, I've installed OScommerce to my site and got it all up and running, then found an error message. ...

      
  1. #1
    New Member
    Join Date
    Jul 2009
    Posts
    5
    Rep Power
    0


    Default Errors on oscommerce

    Hey guys,
    I've installed OScommerce to my site and got it all up and running, then found an error message.

    I've been working on this error for 2 days striaght now and I can't shift it!

    This is the error:
    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 = '58'

    [TEP STOP]

    I get it when trying to search for something or when clicking on the categories for my products, meaning that noone can access my products!

    I've tried running querys in phpmyadmin but nothing works, I just get errors saying the fields don't exist.
    I don't have a field in the products table called products_d.

    I'm really confused why its happening, its a totally new fresh install of oscommerce.

    If someone can help me get this sorted it would be really appreciated, I've tried everything I can think of.

    I am running a template on the shop as it needs to be themed around lingerie. If I remove the template and let the shop run standard then everything is fine so I think its just something wrong with a file in the template. Maybe someone here would know if they saw the template and the site?

    Thanks for reading guys.

    Dan

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default Re: Errors on oscommerce

    If you bought a template - then that changed a SQL query or two. It might be relying on another contribution that was not included or was meant to be installed as well.

    Which version of osCommerce did you install and where did the template come from and what version does the template support?
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    New Member
    Join Date
    Jul 2009
    Posts
    5
    Rep Power
    0


    Default Re: Errors on oscommerce

    2.2rc2a is the version, template is for this.
    I think its a template monster template.

  4. #4
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default Re: Errors on oscommerce

    They borked something. Template has an error some where. Use a FILE COMPARE tool to see what they did - Compare to a FRESH copy of RC2A.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  5. #5
    New Member
    Join Date
    Jul 2009
    Posts
    5
    Rep Power
    0


    Default Re: Errors on oscommerce

    Just tried with 4 more templates I've downloaded.
    Same error.

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

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

    [TEP STOP]


    Take a look, osCommerce

    Click on any brand or any category, you'll see what I mean.

    I need to have this finished by the weekend, that gives me 4 full days to get it done.
    I have absolutely no idea where I'm going wrong

  6. #6
    New Member
    Join Date
    Jul 2009
    Posts
    5
    Rep Power
    0


    Default Re: Errors on oscommerce

    I've sorted it.

    Thanks for your help.

  7. #7
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default Re: Errors on oscommerce

    A little insight would be helpful for other people if they have the same issue.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

Similar Threads

  1. Oscommerce admin errors
    By Kam Chari in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 11-14-2007, 08:10 AM
  2. Having errors on authorizenet_direct.php
    By gheffron in forum Authorize.net
    Replies: 4
    Last Post: 03-23-2007, 04:20 PM
  3. errors i have.
    By inversechi in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 05-07-2006, 12:51 PM
  4. cc_validation.php errors
    By kelly34 in forum osCmax v2 Installation issues
    Replies: 6
    Last Post: 12-10-2005, 12:53 PM
  5. errors
    By litotes in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-07-2003, 09:25 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
  •