Forums / General Questions / New products causes category to become un-viewable

New products causes category to become un-viewable

Locked

Views: 1,516

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
15 May 2008, 3:32 PM
#1
ftv avatar

ftv

New Zenner

Join Date:
Nov 2007
Posts:
6
Plugin Contributions:
0

New products causes category to become un-viewable

I am in the process of setting up a store and adding products and categories. All was going well till I tried to add products to the last category. When a new product is added to this category its page (on the website –front end) becomes un-viewable.

When empty of products the category page displays normally.
The category is not a sub category.

• I tried moving it to ‘Top’ Zen Cart reports that the move was successful but no effect on the page.
• New categories will not accept products either.
• Old categories continue to work as normal.

Anyone come across this bug before?

15 May 2008, 3:41 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: New products causes category to become un-viewable

You might look at this thread:

http://www.zen-cart.com/forum/showthread.php?t=93772

especially posts #2 and #4

15 May 2008, 3:51 PM
#3
ftv avatar

ftv

New Zenner

Join Date:
Nov 2007
Posts:
6
Plugin Contributions:
0

Re: New products causes category to become un-viewable

stevesh:

You might look at this thread:

http://www.zen-cart.com/forum/showthread.php?t=93772

especially posts #2 and #4

Thanks stevesh for your quick reply.
I have no mix of categories and products. Just categories with products in them.

I note in the thread you suggested that the problem could be caused by a 'bad product' or by uploading very large images. Now this is a possibility which I will explore next.
Thanks.

15 May 2008, 11:50 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: New products causes category to become un-viewable

ftv:

When a new product is added to this category its page (on the website –front end) becomes un-viewable.

What do you mean by "un-viewable"?
What's the URL where this can be witnessed?
What version of Zen Cart are you using?
What addons/contributions are installed?

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

26 May 2008, 9:19 AM
#5
ftv avatar

ftv

New Zenner

Join Date:
Nov 2007
Posts:
6
Plugin Contributions:
0

Re: New products causes category to become un-viewable

DrByte:

What do you mean by "un-viewable"?
What's the URL where this can be witnessed?
What version of Zen Cart are you using?
What addons/contributions are installed?

What do you mean by "un-viewable"?
A. Blank, White page, Page source is blank! Nothing generated but the url.

What's the URL where this can be witnessed?
A. http://siobanpiercy.com/art4sale/index.php?main_page=index&cPath=6
Click on the last category (Work 2004-5)

What version of Zen Cart are you using?
A. The latest - Zen Cart 1.3.8a

What addons/contributions are installed?
A. Fual Slimbox?

26 May 2008, 2:04 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: New products causes category to become un-viewable

ftv:

What do you mean by "un-viewable"?
A. Blank, White page, Page source is blank! Nothing generated but the url.
This FAQ deals with setting up error logging so you can see where your mistakes/problems are occurring:
https://www.zen-cart.com/tutorials/index.php?article=82

.
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 May 2008, 8:44 AM
#7
ftv avatar

ftv

New Zenner

Join Date:
Nov 2007
Posts:
6
Plugin Contributions:
0

Re: New products causes category to become un-viewable

Thank you very much Dr. Byte.

The problem turned out to be with english.php
I uploaded a clean version of this file and the site started working again.
I had noticed in the past that editing this file particular file with Dreamweaver8 would cause the whole site malfunction. This is the first time I have experienced a partial malfunction. It appears Dreamweaver adds some kind of extra invisible code like linebreaks etc. I try to use Notepad2 to edit this file but I must have used Dreamweaver months ago and because I did not experience any problems then, I forgot I did it :)

Once again thanks for your help and speedy replies.
FTV

27 May 2008, 9:49 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: New products causes category to become un-viewable

I've never seen Dreamweaver add any garbage when working in Code View.
Nevertheless, I'm glad you were able to figure it out using the debug logging tool.

.
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 May 2008, 3:23 PM
#9
ftv avatar

ftv

New Zenner

Join Date:
Nov 2007
Posts:
6
Plugin Contributions:
0

Re: New products causes category to become un-viewable

Yep its a new one on me as well :) I have not encountered this problem with any other script before.

However, my version is old and used to write and debug scripts other than php. It may well be that my configuration is the problem. It may also be that this Dreamweaver's has acquired errors over the years but I have noticed extra line breaks in code view that are not in the original file. This only obvious when debugging using other tools.

27 May 2008, 3:49 PM
#10
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,679
Plugin Contributions:
0

Re: New products causes category to become un-viewable

Moderator Note: Thread moved out of Bug Reports.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.