Forums / Setting Up Categories, Products, Attributes / Some products are showing a blank page

Some products are showing a blank page

Started by kcb410 on 13 Sep 2012, 3:49 PM · Views: 858

Results 1 to 6 of 6
13 Sep 2012, 3:49 PM
#1
kcb410 avatar

kcb410

Zen Follower

Join Date:
Dec 2008
Location:
Toronto
Posts:
348
Plugin Contributions:
0

Some products are showing a blank page

Hello Everyone,

I recently noticed several crawl errors (153 to be exact) appearing in Google Webmaster. Upon looking into this I discovered that my site has products pages that appear as a blank page. These products are turned on in the admin, can be previewed in the admin and also show in the product listing pages on the web site.

Here is an example of a blank product page:
http://www.kcbgraphics.com/index.php?main_page=product_info&cPath=14_321&products_id=2161

It appears 4th in the product listing below:
http://www.kcbgraphics.com/index.php?main_page=index&cPath=14_321

Does anyone have an idea what might cause this?
Any help is appreciated! Thank you.

Zen 139h
PHP Version: 5.3.10
MySQL 5.0.95

13 Sep 2012, 3:56 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,893
Plugin Contributions:
20

Re: Some products are showing a blank page

You have something killing the main content. Try comparing the page sources for kiosk 1 and 2 to get an idea of where it's happening.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

13 Sep 2012, 4:19 PM
#3
kcb410 avatar

kcb410

Zen Follower

Join Date:
Dec 2008
Location:
Toronto
Posts:
348
Plugin Contributions:
0

Re: Some products are showing a blank page

Hi dbltoe,

If I compare both pages in Win Merge product 2161 is missing everything from <div class="centerColumn" id="productGeneral">.

There's nothing strange in the admin/product description that I can see....it looks like this:

<p> <span style="color: rgb(255, 0, 0); font-weight: bold;">Pricing includes custom printed canopy with pillowcase graphic, rigid custom printed graphics, custom printed counter infill's, monitor mount and one OCH2 shipping case.</span></p> <ul> <li> <strong>Monitor mounting bracket</strong></li> <li> Secure locking cabinet</li> <li> Internal shelfs</li> <li> Aluminum frame construction</li> <li> Choose from four table top finishes</li> <li> Custom printed graphics</li> <li> Easy to assemble</li> <li> Lifetime hardware warranty against manufacturer defects</li> <li> Assembled dimensions: 54.4"w x 99"h x 23.25"d approx.</li> </ul>

...it looks like it's a problem on 153 products on the site.
Any ideas on what might cause this?
Thanks.

13 Sep 2012, 9:11 PM
#4
terragirl avatar

terragirl

Zen Follower

Join Date:
Jun 2010
Location:
Austria
Posts:
123
Plugin Contributions:
0

Re: Some products are showing a blank page

This is a fatal PHP error - part of the page is output until it hits the PHP error & then it falls over.

First thing, check your /cache/ folder for error log entries. Zen Cart writes all PHP errors to /cache/ so hopefully this should have something useful in it. If not, ask your host if there any other PHP error logs that may pinpoint the culprit.

If you can't find any errors, the only clue would be where it fails - which is BEFORE it should load

<div class="centerColumn" id="productGeneral">

so something might be wrong in the PHP code for this section of the page. The fact that it only occurs on some pages means little, just means that the error trigger is only present on some pages.

Quickest way to solve this is to find the relevant PHP error log entry if you can.

13 Sep 2012, 11:11 PM
#5
kcb410 avatar

kcb410

Zen Follower

Join Date:
Dec 2008
Location:
Toronto
Posts:
348
Plugin Contributions:
0

Re: Some products are showing a blank page

Thanks terraGirl,

I've got nothing in myDebug/cache since Dec 2011....I'll check with my hosting company as well.

14 Sep 2012, 12:20 PM
#6
kcb410 avatar

kcb410

Zen Follower

Join Date:
Dec 2008
Location:
Toronto
Posts:
348
Plugin Contributions:
0

Re: Some products are showing a blank page

Hello everyone,

This was resolved by Quentin at GeekHost.ca. It was an attribute that was causing the error, if I deleted the attribute and inserted it again the blank page was gone and the product page could be viewed online.

Thanks.