Forums / Templates, Stylesheets, Page Layout / Help! I made a mistake in my index.php!!

Help! I made a mistake in my index.php!!

Locked

Views: 1,461

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
3 Nov 2006, 6:58 AM
#1
bradinokc avatar

bradinokc

New Zenner

Join Date:
Nov 2006
Posts:
1
Plugin Contributions:
0

Help! I made a mistake in my index.php!!

Somehow I managed to cut, or paste, the wrong thing in the wrong place when I was trying to remove the "Sales Message Goes Here" text after my new installation. Please take a look at the code below and see if you can figure out where the problem is! Thanks so much for your help!

define('TEXT_NOW', '\' now');
define('TEXT_ALL_CATEGORIES', 'All Categories');
define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top')
{// 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')), 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
} 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')), 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.'); 
}
?>
3 Nov 2006, 9:13 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Help! I made a mistake in my index.php!!

These parentheses are causing you problems, in 2 places:

define('HEADING_TITLE')), 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');

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