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

New Products listing

This is a discussion on New Products listing within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; New products shows properly everywhere except when being viewed within a catagory. When I click on a catagory the new ...

      
  1. #1
    Member
    Join Date
    Apr 2009
    Location
    CT
    Posts
    62
    Rep Power
    4


    Default New Products listing

    New products shows properly everywhere except when being viewed within a catagory. When I click on a catagory the new products for the month gives an error:

    Code:
    1054 - Unknown column 'p.products_featured' in 'where clause'
    
    select distinct p.products_id, p.products_image, p.products_tax_class_id, p.products_price as products_price from products p, products_to_categories p2c, categories c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '8' and p.products_status = '1' and p.products_featured = '1' order by p.products_date_added desc limit 3
    
    [TEP STOP]
    Again this was after a site upgrade from 2.0.4 to 2.0.25. There are other issues but I think this is the last for the front end that I have not figured out.

  2. #2
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Lightbulb Re: New Products listing

    You did apply the SQL file in the upgrade directory?
    Hosting plans with installation, configuration, contributions, support and maintenance.

  3. #3
    Member
    Join Date
    Apr 2009
    Location
    CT
    Posts
    62
    Rep Power
    4


    Default Re: New Products listing

    I ran the update PHP file. Should I run it again or take the guts and just run the table updates in phpmyadmin? Where there any updates to the DB prior to .4? Say from .2 to .3 then to .4 that maybe I missed?

  4. #4
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Default Re: New Products listing

    Quote Originally Posted by Hostboard View Post
    I ran the update PHP file. Should I run it again or take the guts and just run the table updates in phpmyadmin? Where there any updates to the DB prior to .4? Say from .2 to .3 then to .4 that maybe I missed?
    Look in the upgrade directory.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  5. #5
    Member
    Join Date
    Apr 2009
    Location
    CT
    Posts
    62
    Rep Power
    4


    Default Re: New Products listing

    Re-downloaded OSCMax, applied all DB changes in update folder and still no luck as I am still getting the same error. Any other suggestions?

  6. #6
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Lightbulb Re: New Products listing

    Note: I upgrade by starting a new 2.0.25 install and transfer the relevant (not all) tables from 2.0.4
    In other words, I bypass the inbuilt upgrade procedure, mentioned by Michael in forum posts (and possibly the wiki).
    This way, items like configuration are not transferred over, which may effect later releases. A bit more manual work is involved but given that templates often need adjusted, I have found it successful.

    [Just my personal experience, not the 'official line']
    Hosting plans with installation, configuration, contributions, support and maintenance.

  7. #7
    Member
    Join Date
    Apr 2009
    Location
    CT
    Posts
    62
    Rep Power
    4


    Default Re: New Products listing

    I am not sure I am talented enough to figure out what tables need to be manally transfered over. I am pretty sure I could install the latest and then dump the older DB in but if things did not import I know I am not going to be able to figure out how to manually move that data over.

    Maybe I should just remove this section and call it a day.

Similar Threads

  1. Products Listing
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 09-21-2010, 02:01 PM
  2. Products Listing
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 09-18-2010, 06:16 AM
  3. Products Listing
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 09-12-2010, 03:53 AM
  4. Modyfying product listing and new products listing
    By pavlo in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 11-22-2004, 07:27 AM
  5. New products listing
    By robroymedia in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 05-10-2004, 07:45 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
  •