Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2022
    Location
    Indiana
    Posts
    4
    Plugin Contributions
    0

    Default New Products Not displaying

    I upgraded to 1.5.7c from 1.5.6 and all went well except that now, when a customer clicks "New Products" nothing is displayed. The number of new products is there, but nothing is shown.

    Here is the page on the site: https://www.downeygames.com/index.ph...e=products_new

    As you can see, there are 3996 products, but nothing is displayed. I am using the responsive classic template. The PHP version is 8.0.2

    Any ideas on how to make them display again.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: New Products Not displaying

    You are seeing a "partial whitescreen"; check the site's /logs directory for a .log file that identifies the cause.

  3. #3
    Join Date
    Apr 2022
    Location
    Indiana
    Posts
    4
    Plugin Contributions
    0

    Default Re: New Products Not displaying

    Quote Originally Posted by lat9 View Post
    You are seeing a "partial whitescreen"; check the site's /logs directory for a .log file that identifies the cause.
    This is what is in the log:

    HP Fatal error: Uncaught TypeError: str_repeat(): Argument #2 ($times) must be of type int, string given in /home/.../includes/templates/responsive_classic/templates/tpl_modules_products_new_listing.php:62

    This is what is on line 62 of tpl_modules_products_new_listing.php:

    $display_products_date_added = '<b>' . TEXT_DATE_ADDED . '</b> ' . zen_date_long($products_new->fields['products_date_added']) . str_repeat('<br />', substr(PRODUCT_NEW_LIST_DATE_ADDED, 3, 1));
    } else {
    $display_products_date_added = '';

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: New Products Not displaying

    What is the site's setting for Configuration :: New Listing :: Display Product Date Added?

  5. #5
    Join Date
    Apr 2022
    Location
    Indiana
    Posts
    4
    Plugin Contributions
    0

    Default Re: New Products Not displaying

    Quote Originally Posted by lat9 View Post
    What is the site's setting for Configuration :: New Listing :: Display Product Date Added?
    The setting is 1

  6. #6
    Join Date
    Apr 2022
    Location
    Indiana
    Posts
    4
    Plugin Contributions
    0

    Default Re: New Products Not displaying

    Quote Originally Posted by lat9 View Post
    What is the site's setting for Configuration :: New Listing :: Display Product Date Added?
    After changing the setting to 0, it appears to work. Thank you for the help, it is much appreciated!

 

 

Similar Threads

  1. v157 Products Listing (New, All, etc.) Subsequent Products Not Displaying Correctly
    By mcqueeneycoins in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 9 Dec 2020, 09:13 PM
  2. v151 Bestsellers and new products not displaying after upgrade
    By Danielle in forum General Questions
    Replies: 1
    Last Post: 31 Oct 2013, 11:52 PM
  3. Replies: 1
    Last Post: 25 Feb 2013, 02:27 AM
  4. New products Not displaying
    By solotripper in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 16 Nov 2010, 06:25 PM
  5. New Products not displaying
    By Morganawynter in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 8 Mar 2010, 04:48 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR