Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Error recieved when there is only 1 product in catagory

Error recieved when there is only 1 product in catagory

Locked

Views: 1,450

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
22 Sep 2006, 11:24 AM
#1
rowan_h avatar

rowan_h

New Zenner

Join Date:
Sep 2006
Posts:
20
Plugin Contributions:
0

Error recieved when there is only 1 product in catagory

Hi,
Im recieving an error when i have only 1 Product in a catagory.

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/includes/languages/english/index.php:117) in /home/public_html/includes/functions/functions_general.php on line 41

When there are no products - its fine
When there are 2 or more products - its fine

Any ideas???

22 Sep 2006, 11:43 AM
#2
rowan_h avatar

rowan_h

New Zenner

Join Date:
Sep 2006
Posts:
20
Plugin Contributions:
0

Re: Error recieved when there is only 1 product in catagory

Sorry, I forgot to mention this error is recieved when you click on a catagory link in the catagories sidebox from the home page.

thanks

22 Sep 2006, 7:35 PM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error recieved when there is only 1 product in catagory

A search for headers already sent in the search box above produced this:
Headers already sent

23 Sep 2006, 7:13 AM
#4
rowan_h avatar

rowan_h

New Zenner

Join Date:
Sep 2006
Posts:
20
Plugin Contributions:
0

Re: Error recieved when there is only 1 product in catagory

Thanks, had 2 extra lines after the end of the PHP code in one file

Works a treat!!!
Thanks again

23 Sep 2006, 10:22 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error recieved when there is only 1 product in catagory

2 extra lines That will do it..........