If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / No Products Showing On 'All Products' Page

No Products Showing On 'All Products' Page

Started by borf on 27 Nov 2014, 4:00 AM · Views: 2,772

Results 1 to 11 of 11
27 Nov 2014, 4:00 AM
#1
borf avatar

borf

New Zenner

Join Date:
Nov 2014
Location:
Australia
Posts:
6
Plugin Contributions:
0

No Products Showing On 'All Products' Page

I'm having a bit of an issue with my current site. Everything seems to be working fine except, as the title explains, the 'All Products' page, which does not display any products at all. A drop down order menu appears, but nothing else.
As said, everything else works fine, products show correctly in their categories, featured and new products display correctly. I have tried looking in the 'all listing' settings in admin, but there doesn't seem to be anything amiss there. I have also tried looking in tpl_modules_products_all_listing.php, but my knowledge here doesn't extend far enough to spot any potential problems, though it looks fine from what I can tell.
If anyone has any information about what could be going wrong, it would be greatly appreciated.

Also, apologies if this has been posted in the wrong section.

Lee

27 Nov 2014, 7:23 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: No Products Showing On 'All Products' Page

borf:

Everything seems to be working fine except, as the title explains, the 'All Products' page, which does not display any products at all. A drop down order menu appears, but nothing else.
If by "nothing else" you mean the rest of the page is entirely blank, then that means you've triggered a PHP error, probably by editing PHP files.
Best to inspect the debug logs as per: http://www.zen-cart.com/content.php?124-blank-page

.
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.

27 Nov 2014, 9:34 PM
#3
borf avatar

borf

New Zenner

Join Date:
Nov 2014
Location:
Australia
Posts:
6
Plugin Contributions:
0

Re: No Products Showing On 'All Products' Page

DrByte:

If by "nothing else" you mean the rest of the page is entirely blank, then that means you've triggered a PHP error, probably by editing PHP files.
Best to inspect the debug logs as per: http://www.zen-cart.com/content.php?124-blank-page

the rest of the page loads fine, header, footer, sidebar etc, just no products displaying.
I had a browse through the logs, but there didn't seem to be anything pertaining to the products_all_listing.php. there could be something wrong with the file, but I would have no idea what

28 Nov 2014, 1:40 AM
#4
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: No Products Showing On 'All Products' Page

Sounds like a template issue, what template are you using?

28 Nov 2014, 2:42 AM
#5
borf avatar

borf

New Zenner

Join Date:
Nov 2014
Location:
Australia
Posts:
6
Plugin Contributions:
0

Re: No Products Showing On 'All Products' Page

bislewl:

Sounds like a template issue, what template are you using?

it is this one, from templatemonster.com http://www.templatemonster.com/zencart-templates/51052.html

28 Nov 2014, 3:34 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: No Products Showing On 'All Products' Page

And if you change your template back to Classic, do things suddenly work correctly?

Are you certain you understand what's in those logs? Really you shouldn't be getting ANY myDebug-xxxxx.log files, so the fact that you have any means you should be addressing those issues.

.
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.

3 Dec 2014, 12:55 AM
#7
borf avatar

borf

New Zenner

Join Date:
Nov 2014
Location:
Australia
Posts:
6
Plugin Contributions:
0

Re: No Products Showing On 'All Products' Page

DrByte:

And if you change your template back to Classic, do things suddenly work correctly?

Are you certain you understand what's in those logs? Really you shouldn't be getting ANY myDebug-xxxxx.log files, so the fact that you have any means you should be addressing those issues.

sorry for the late reply. the same problem occurs in the classic template.
most of the debug files come from me changing certain parameters in certain files, but I am going to check through them again to see if I missed aything.

3 Dec 2014, 2:02 AM
#8
borf avatar

borf

New Zenner

Join Date:
Nov 2014
Location:
Australia
Posts:
6
Plugin Contributions:
0

Re: No Products Showing On 'All Products' Page

I've been inspecting the page, and I have found this error:

Failed to load resource: net::ERR_CACHE_MISS

could this be what is causing the problem?

4 Dec 2014, 12:49 AM
#9
borf avatar

borf

New Zenner

Join Date:
Nov 2014
Location:
Australia
Posts:
6
Plugin Contributions:
0

Re: No Products Showing On 'All Products' Page

I've contacted my host (Blue Host) and the template provider (Templatemonster) and neither of them have been able to identify what the problem is, I'm pretty stumped =/

10 Dec 2014, 10:12 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: No Products Showing On 'All Products' Page

The symptoms appear to suggest your site's core PHP files may be altered from original ZC code.
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

.
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.

9 Jun 2015, 3:16 AM
#11
dlcohenzc avatar

dlcohenzc

New Zenner

Join Date:
Sep 2011
Posts:
19
Plugin Contributions:
0

Re: No Products Showing On 'All Products' Page

borf:

I'm having a bit of an issue with my current site. Everything seems to be working fine except, as the title explains, the 'All Products' page, which does not display any products at all. A drop down order menu appears, but nothing else.
As said, everything else works fine, products show correctly in their categories, featured and new products display correctly. I have tried looking in the 'all listing' settings in admin, but there doesn't seem to be anything amiss there. I have also tried looking in tpl_modules_products_all_listing.php, but my knowledge here doesn't extend far enough to spot any potential problems, though it looks fine from what I can tell.
If anyone has any information about what could be going wrong, it would be greatly appreciated.

Also, apologies if this has been posted in the wrong section.

Lee

Yeah, this is old but I just had same problem. For some reason I had wrong file for /includes/modules/pages/products_all/header_php.php. I noticed the comment at top said:
/**Single Listing Template mod v1.8
I checked a prior install of ZC at another site, and sure enough that file had correct header_php.php. I just plugged it in, and all is well now. Interestingly, the way the code was set up, the template checked:
if ($products_all_split->number_of_rows > 0) {
and, since products_all_split was never getting set, this returned false - no error popped up in cache.
Very strange, I have no idea how this happened - I just checked the download I had from ZC, and it is correct.