Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading to 1.5.x / Fresh install of 1.5.4 New Products not showing on main page.

Fresh install of 1.5.4 New Products not showing on main page.

28 Apr 2015, 4:23 PM
#1
rtfulk avatar

rtfulk

New Zenner

Join Date:
Jan 2006
Posts:
42
Plugin Contributions:
0

Post #1 by rtfulk

Hello,

I did a fresh install of 1.5.4. Since that I have lost the New products images, but the New Products heading is still there. I have made sure that the new products listing is set to "0".

Also I have noticed that the CSS files are now named stylesheet.css,stylesheet_css_buttons.css and print_stylesheet.css. Is this correct and the stylesheet_new.css and stylesheet_original.css have been replaced?

My website is https://www.countryhomemade.com

Thanks,
Randy

28 Apr 2015, 4:35 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

rtfulk:

I have lost the New products images, but the New Products heading is still there. I have made sure that the new products listing is set to "0".It appears that you've got a PHP error which is stopping the program from completing all the output activities, thus you're seeing only "part" of the page.

Consult the /logs/ folder on your server to see the actual PHP errors, and work at fixing those.
Ref: http://www.zen-cart.com/content.php?124-blank-page

rtfulk:

I have noticed that the CSS files are now named stylesheet.css,stylesheet_css_buttons.css and print_stylesheet.css. Is this correct and the stylesheet_new.css and stylesheet_original.css have been replaced?
stylesheet_original.css and stylesheet_new.css were only placeholders to aid in converting from v1.2 to v1.3 templates.

You can have as many .css files as you wish. They will be intelligently automatically used based on certain filename naming rules, as described here: http://www.zen-cart.com/wiki/index.php/Customisation_-_Templates_-_Stylesheets_-_Per-Page-Rules

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

29 Apr 2015, 12:49 AM
#3
rtfulk avatar

rtfulk

New Zenner

Join Date:
Jan 2006
Posts:
42
Plugin Contributions:
0

Post #3 by rtfulk

Thank You, for the reply. The only thing in the log files is this.

[28-Apr-2015 13:29:20 America/Los_Angeles] PHP Warning: constant(): Couldn't find constant BOX_HEADING_M1_EXPORT_ALL in /home/xxxxxxxx/public_html/xxxxxxxxxxxxx/includes/functions/admin_access.php on line 854
[28-Apr-2015 13:29:20 America/Los_Angeles] PHP Warning: constant(): Couldn't find constant BOX_HEADING_M1_ADD_TO_FAV in /home/xxxxxxxxxxxx/public_html/xxxxxx/includes/functions/admin_access.php on line 854

I don't think this would be the problem preventing the items to be displayed. I have checked the php file and there is nothing on line 854 that references M1. ( which is magenticone google feed)

Thanks,
Randy

29 Apr 2015, 7:56 AM
#4
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Post #4 by nigelt74

umm shouldn't the setting be '1' if you want to display

I assume we are talking

Configuration -> Index Listing

Show New Products on main page

and set that to 1

Webzings Design
Semi retired from Web Design

30 Apr 2015, 1:08 AM
#5
rtfulk avatar

rtfulk

New Zenner

Join Date:
Jan 2006
Posts:
42
Plugin Contributions:
0

Post #5 by rtfulk

Yes, that is set to 1.

30 Apr 2015, 2:23 AM
#6
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Post #6 by nigelt74

what happens if you switch temporarily back to the "classic" template, does the problem go away?

Webzings Design
Semi retired from Web Design

30 Apr 2015, 3:50 AM
#7
rtfulk avatar

rtfulk

New Zenner

Join Date:
Jan 2006
Posts:
42
Plugin Contributions:
0

Post #7 by rtfulk

When I switch to Classic view, the new products show in the side box ( which is probably how the classic view is set up). When I switch back I just have New Products for April, no items showing up.

15 May 2015, 4:37 AM
#8
rtfulk avatar

rtfulk

New Zenner

Join Date:
Jan 2006
Posts:
42
Plugin Contributions:
0

Post #8 by rtfulk

Here is an update. I have uploaded all the Zen Cart file again. I have went through my custom files and deleted them one by one and I still can not get the new products for the month to show up.

Any other suggestions?

Randy

15 May 2015, 1:47 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #9 by drbyte

This time it's because it's not finding any matching products to display.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 May 2015, 2:15 PM
#10
rtfulk avatar

rtfulk

New Zenner

Join Date:
Jan 2006
Posts:
42
Plugin Contributions:
0

Post #10 by rtfulk

I have checked my configure.php files and the catalog is pointing to /images. I have went through the admin and made sure everything is set correctly.

15 May 2015, 2:36 PM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #11 by drbyte

name of hosting company
version info from admin tools server info screen (looking for php version, MySQL version, dates of both, timezone for both, etc)
what template are you using? What zen cart version was that template designed for?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 May 2015, 3:21 PM
#12
rtfulk avatar

rtfulk

New Zenner

Join Date:
Jan 2006
Posts:
42
Plugin Contributions:
0

Post #12 by rtfulk

Web Hosting Hub

Server Host: whub30.webhostinghub.com (xxx.xxx.xxx.xxx) Database Host: localhost (xxx.xx.x)
Server OS: Linux 2.6.18-371.8.1.el5 Database: MySQL 5.6.21-log
Server Date: 05/15/2015 11:11:25 Database Date: 05/15/2015 11:11:25
Server Up Time: 11:11:25 up 308 days, 3:16, 3 users, load average: 6.06, 6.13, 5.85 HTTP Server: Apache
PHP Version: 5.6.8 (Zend: 2.6.0) PHP Memory Limit: 512M PHP Safe Mode: Off
PHP File Uploads: On Max Size: 128M POST Max Size: 128M
Database Data Size: 29,571 kB Database Index Size: 9,274 kB

No customized template, just modified the classic template and put the files in a renamed folder. ( if that makes sense)

16 May 2015, 4:28 PM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #13 by drbyte

You've got all the "Date Added" settings turned off, so none of your products are displaying the actual date when they were added to your database ... which makes it harder to diagnose whether your products are actually "not new".
So, that begs the question: when was the last product added, via the admin, to your store? Which product? which category?

Two questions:

  1. In your first post you said "new products listing is set to 0". Is that still true?
    I'm assuming it's this one you're referring to. Is that correct?
    Admin->Maximum Values->
    New Product Listing - Limited to ...

New Product Listing - Limited to ...Limit the New Product Listing to
0= All Products
1= Current Month
7= 7 Days
14= 14 Days
30= 30 Days
60= 60 Days
90= 90 Days
120= 120 Days

  1. What about Admin->Maximum Values->New Products Module? That should NOT be 0. It's usually something like 9, because it determines how many actual results to display.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

16 May 2015, 5:26 PM
#14
rtfulk avatar

rtfulk

New Zenner

Join Date:
Jan 2006
Posts:
42
Plugin Contributions:
0

Post #14 by rtfulk

DrByte,

Thank you so much for your help.

I had the new product listing limited to set to "0".

I also had the new products module set to "0", when I changed it to 9 they reappeared.

I have been looking and searching Google trying to find the answer. Thank you again.

Randy