Forums / Templates, Stylesheets, Page Layout / 1 product in category/record label gives blank page...?

1 product in category/record label gives blank page...?

Started by doooomed on 21 May 2012, 5:44 PM · Views: 1,073

Results 1 to 9 of 9
21 May 2012, 5:44 PM
#1
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

1 product in category/record label gives blank page...?

Hello,

Let's say I have three record companies that appear in the sidebox of my store, A, B & C. Record company A has no listings/products for sale so when clicked on you get the "There are no products to list in this category" message as you should. Record company B has 2 (or any number higher than 2) listings/products and when clicked on those products appear as they should. record company C has one listing/product for sale but when clicked on shows a completely blank page. This is also happening if I have a category/subcategory with only one product listed. Anyone have any idea what I did? Thank you.

21 May 2012, 7:34 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,120
Plugin Contributions:
56

Re: 1 product in category/record label gives blank page...?

Do you have any .log files in your /cache directory? There might be a problem with the data in the database for that product ...

21 May 2012, 7:38 PM
#3
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: 1 product in category/record label gives blank page...?

Well, it's not just one product it's any product that has an inventory of one!

21 May 2012, 7:47 PM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,120
Plugin Contributions:
56

Re: 1 product in category/record label gives blank page...?

OK, did you look to see if there were any .log files in your cache directory? A blank (or partial-blank) page usually means that there's a PHP error somewhere ...

21 May 2012, 8:02 PM
#5
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: 1 product in category/record label gives blank page...?

Apologies but I really do not know where to find the cache directory...

21 May 2012, 8:11 PM
#6
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: 1 product in category/record label gives blank page...?

Never mind the previous post i found it! This is what I get...

[21-May-2012 15:08:31] PHP Warning: Cannot modify header information - headers already sent by (output started at /home//public_html/includes/languages/english/index.php:67) in /home/*/public_html/includes/functions/functions_general.php on line 45

22 May 2012, 2:59 PM
#7
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: 1 product in category/record label gives blank page...?

Anyone have any idea? Really need some help! :blink:

23 May 2012, 11:05 AM
#8
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,120
Plugin Contributions:
56

Re: 1 product in category/record label gives blank page...?

There appears to be a problem with you /includes/languages/english/index.php file (around line 67).

23 May 2012, 12:52 PM
#9
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: 1 product in category/record label gives blank page...?

Hey lat9 thank you for the help! It was actually a really easy fix. There was nothing on line 67 so I simply deleted it and everything went back to normal :clap: