Zen Cart Logo

product linking issue

Views: 1,004

Results 1 to 7 of 7
26 Feb 2014, 8:57 AM
#1
thannaree avatar

thannaree

Zen Follower

Join Date:
Dec 2010
Location:
Thailand
Posts:
304
Plugin Contributions:
1

product linking issue

Hello,

I have created 2 categories A and B, each with 2 sub-categories: A1, A2 and B1 B2, respectively.

I create one product under sub-category A1, all good so far.

I now link that product to sub-category B1, but now both product pages are blank.

I then unlink product from sub-category B1 ... and both pages are still blank!

I never experienced this before.

Does anyone know what could be the problem? Perhaps database-related?

26 Feb 2014, 1:03 PM
#2
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: product linking issue

Is this a clean install or something that started after an upgrade?

27 Feb 2014, 4:23 AM
#3
thannaree avatar

thannaree

Zen Follower

Join Date:
Dec 2010
Location:
Thailand
Posts:
304
Plugin Contributions:
1

Re: product linking issue

It's a clean install, with no plugins.

27 Feb 2014, 4:40 PM
#4
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: product linking issue

Are you doing this test with an existing product or with a new product you've created with just a couple fields entered?

28 Feb 2014, 1:32 AM
#5
thannaree avatar

thannaree

Zen Follower

Join Date:
Dec 2010
Location:
Thailand
Posts:
304
Plugin Contributions:
1

Re: product linking issue

This is a brand new shop. The product is the first and only product and with most fields entered.

1 Mar 2014, 1:10 PM
#6
thannaree avatar

thannaree

Zen Follower

Join Date:
Dec 2010
Location:
Thailand
Posts:
304
Plugin Contributions:
1

Re: product linking issue

I have created a new database and re-installed the cart and still experience the same issue.

I have now only created categories 1 and 2, without any sub-category.

I create product 1 under category 1, which shows normally.

I now copy (link) that product to category 2, but that product page is blank. Product under category 1 still shows normally ...

I'm looking at the data under 'products_to_categories' in the database and don't see anything strange there, see below.

products_id = 1 categories_id = 1
products_id = 1 categories_id = 2

Has anyone ever experienced this before?

The version I have uploaded is zen-cart-v1.5.1-full-fileset-09182012

1 Mar 2014, 10:01 PM
#7
thannaree avatar

thannaree

Zen Follower

Join Date:
Dec 2010
Location:
Thailand
Posts:
304
Plugin Contributions:
1

Re: product linking issue

Well, I forgot about the very useful debug utility.

There were just 2 extra lines after the closing ?> of a custom sidebox language php file. Removing these lines fixed the issue :smile: