Forums / Templates, Stylesheets, Page Layout / Change Installation message, an error occurs

Change Installation message, an error occurs

Locked
Results 1 to 5 of 5
This thread is locked. New replies are disabled.
12 Feb 2007, 16:54
#1
grannym avatar

grannym

New Zenner

Join Date:
Oct 2006
Posts:
3
Plugin Contributions:
0

Change Installation message, an error occurs

Hi, I have just uploaded the new version of zen cart with no problems, until i go to edit the congrats message, I change it in the includes/languages/english/index.php file, but then i get the following message come up when i click on a product!

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

can anyone give me a clue!

website: www.tailoredwebservices.com


Many Thanks
12 Feb 2007, 16:55
#2
ajeh avatar

ajeh

Oba-san

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

Re: Change Installation message, an error occurs

Sounds like you have space(s) or blank line(s) at the end of the language file after the closing php bracket ?>

php doesn't like those too well ... :unsure:
12 Feb 2007, 17:07
#3
grannym avatar

grannym

New Zenner

Join Date:
Oct 2006
Posts:
3
Plugin Contributions:
0

Re: Change Installation message, an error occurs

// This section deals with the "home" page at the top level with no options/products selected
/*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
define('HEADING_TITLE', 'WHY CHOOSE US!');
} elseif ($category_depth == 'nested') {
// This section deals with displaying a subcategory
/*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
define('HEADING_TITLE', 'Why Choose Us!');
}
?>

This is the script can you see what is wrong!
12 Feb 2007, 17:10
#4
grannym avatar

grannym

New Zenner

Join Date:
Oct 2006
Posts:
3
Plugin Contributions:
0

Re: Change Installation message, an error occurs

:blush: Your a star..........:clap: Thank You...Problem solved..there where extra lines.
12 Feb 2007, 17:28
#5
ajeh avatar

ajeh

Oba-san

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

Re: Change Installation message, an error occurs

Thanks for the update that removing the extra space(s) and blank line(s) after the closing php bracket ?> at the end of the file did resolve the issues that you were having ... :smile: