Zen Cart Logo
Forums / General Questions / Category missing after adding new product

Category missing after adding new product

Locked

Views: 1,741

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
14 Mar 2009, 9:03 PM
#1
akrep avatar

akrep

New Zenner

Join Date:
Oct 2008
Posts:
5
Plugin Contributions:
0

Category missing after adding new product

HI: I wasn't sure what would be proper name of this problem, but this is what is going on:

I am making shop for my friend and when I add product to some of subcategories, that category simply won't show up anymore.up But, product added CAN be visible if you click on it from index page and NEW PRODUCTS FOR MONTH section.

In that case, link that I can see is : http://kobazz.com/shop/index.php?main_page=product_info&cPath=35_3&products_id=84
and category where it should be is : http://kobazz.com/shop/index.php?main_page=index&cPath=35_41

Does any expert have idea how to solve this?

thank you for your time.:wacko:

14 Mar 2009, 9:11 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Category missing after adding new product

What is happening is you have 1 product in the Category and it is trying to go to the product _info page by skipping the Listing ...

However there appears to be a problem getting there ...

You might get the Debug add-on from the Free Software Add Ons and see if it helps ...

Or switch to Classic Template to rule out if this is a template issue ... oh ... umm ... hmmm ... you are not using templates and overrides so that cannot be tested ... :unsure:

14 Mar 2009, 9:55 PM
#3
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Category missing after adding new product

debug is the only tool you need now . i see blank page , when i go to some other category . that might be result from some bad code editing .

15 Mar 2009, 9:33 PM
#4
akrep avatar

akrep

New Zenner

Join Date:
Oct 2008
Posts:
5
Plugin Contributions:
0

Re: Category missing after adding new product

Thank you for your effort. I've installed debug addon and after runing problematic page (http://kobazz.com/shop/index.php?main_page=index&cPath=34_32 ) i am getting dozen files in cache folder.

Message from those gfiles is next:
[15-Mar-2009 14:23:11] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/k/o/b/kobazz/html/shop/includes/languages/english.php:1401) in /home/content/k/o/b/kobazz/html/shop/includes/init_includes/init_templates.php on line 78

Can someone tell me is there a solution?
thanks

16 Mar 2009, 2:26 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Category missing after adding new product

Looks like you have space(s) or blank line(s) after the closing php ?> at the end of the file ... php does not like that ...

16 Mar 2009, 4:50 PM
#6
akrep avatar

akrep

New Zenner

Join Date:
Oct 2008
Posts:
5
Plugin Contributions:
0

Re: Category missing after adding new product

Ajeh:

Looks like you have space(s) or blank line(s) after the closing php ?> at the end of the file ... php does not like that ...

I've tired both files, but there were no space.thank you for your help, but it seems that things are actually worse then I described since it is not possible to register as new customer.

is there a person who can fix this for money?

thanks

20 Mar 2009, 4:46 AM
#7
illumineconsulting avatar

illumineconsulting

New Zenner

Join Date:
Mar 2009
Posts:
1
Plugin Contributions:
0

Re: Category missing after adding new product

Hi there,
the real problem, and as far as I can tell, no one has said anything yet, is that english.php in the languages directory has more than a few spaces after the closing ?>.

I did a clean install without anything other than the basic template and the categories did not show up. The debug tool helped me fine it quickly. Since this is a basic file shipped with Zen Cart, I'm surprised more people haven't had this issue. Weird.

Check the english.php file and see if there are spaces at the end. If so, removing them should solve your problem.

Thanks,
Kris :clap:

17 May 2009, 7:14 PM
#8
mibelloboutique avatar

mibelloboutique

New Zenner

Join Date:
Apr 2008
Posts:
30
Plugin Contributions:
0

Re: Category missing after adding new product

I am working on a friends site. And she is having this same issue. If she enters only one product in a category, then you get a blank page on her site, but if you enter in more than one product it's fine.

Someone else said "What is happening is you have 1 product in the Category and it is trying to go to the product _info page by skipping the Listing ...

However there appears to be a problem getting there ..." and this appears to be what is happening. How do you fix this?

Here is her site - https://www.my2redheadsbowtique.com and click on her gift certificates. If I put in another product then it works but with just one product you will see what is happening.

Kristy

18 May 2009, 2:28 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: Category missing after adding new product

Did you try the Debug tool from the Free Software Add Ons to see the specific error that you are getting on this? :unsure: