Zen Cart Logo
Forums / General Questions / Skip 1-prod Categories issue

Skip 1-prod Categories issue

Locked

Views: 2,205

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
11 Apr 2007, 11:59 AM
#1
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Skip 1-prod Categories issue

Hi-

Apologies if the issue below has been discussed elsewhere. I searched the forum on "skip 1-prod", "blank categories", "blank category" and "blank page" but did not find anything quite matching the issue I'm observing.

I installed a fresh Zen Cart 1.37 along with all the demo products/categories. Everything appeared fine.

Then created a new category and the added a single product to the category.

When I click the category name in the categories sidebox (to navigate to the product listing page) I observe a blank page (the correct product listing page URL appears in address bar). The browser is not directed to the product info page as expected.

If I manually enter the URL to the product info page that comes up. And on that product info page if I click the category name in the breadcrumb the product listing page again appears blank. So no matter how I navigate to the product listing page it always appears blank. Even when I directly enter the product listing page URL into the address bar.

I have replicated this for two other one product categories I created.

However when I set "Config > Layout Settings > Skip 1-prod Categories" to False, then the category page (product listing page) appears fine, as expected.

Or if I add a second product to the category the product listing page appears as expected.

I tested this on the Mystik template. So thinking it may be a template issue I switched to Classic and observed same issue.

Any specific file that might be corrupted?

Thanks,
Woody

11 Apr 2007, 1:33 PM
#2
masterblaster avatar

masterblaster

Totally Zenned

Join Date:
Aug 2004
Location:
Germany
Posts:
528
Plugin Contributions:
0

Re: Skip 1-prod Categories issue

When you get a blank page, there should be something written into the error log. Could you give an extract of it, short after you experienced this happen?

Also any url, so we can get to your site and test?

12 Apr 2007, 3:18 AM
#3
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Skip 1-prod Categories issue

masterblaster:

When you get a blank page, there should be something written into the error log. Could you give an extract of it, short after you experienced this happen?

Also any url, so we can get to your site and test?

Sorry, forgot to post error on local test server.

[error] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/account/public_html/shop/includes/languages/english/index.php:65) in /home/account/public_html/shop/includes/functions/functions_general.php on line 44

Woody

12 Apr 2007, 3:21 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Skip 1-prod Categories issue

I'd peek at line 65 of that file:
/includes/languages/english/index.php

Perhaps look for the space(s) or blank line(s) at the end of the file immediately after the closing php tag for the ?>

12 Apr 2007, 6:09 AM
#5
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Skip 1-prod Categories issue

Ajeh:

I'd peek at line 65 of that file:
/includes/languages/english/index.php

Perhaps look for the space(s) or blank line(s) at the end of the file immediately after the closing php tag for the ?>

One would have thought after observing this common problem repeatedly posted throughout these support boards, and after looking at the file three different times, for that exact condition, one would have figured this out. But no! So Linda tells me to be a good little boy, and go back and investigate again. So I do as I am instructed. I highlight the few previously undetected spaces at the end of the file and hit delete. And of course Linda, as always, was right! And presto all is well again. Thanks for the nudge...again. Me hiding my head...again.

Woody