Forums / Templates, Stylesheets, Page Layout / Parse error after making title change in index.php

Parse error after making title change in index.php

Locked

Views: 1,394

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
21 Jun 2007, 6:17 PM
#1
teamzr1 avatar

teamzr1

New Zenner

Join Date:
Jun 2007
Posts:
42
Plugin Contributions:
0

Parse error after making title change in index.php

I had just installed this frontstore software on web server and was replacing the headline content only in the index.php as what I show in bold text

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', 'Team ZR-1 Corvette Racers LLC');
} 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', 'Team ZR-1 Corvette Racer's LLC');
}
?>

Then went to the online catalog and now fails with :

Parse error: syntax error, unexpected T_STRING in /home/teamzron/public_html/fstore/includes/languages/english/index.php on line 56

What is wrong, something else changed other then the title content I only changed ?
What is the T_string ?

Thanks

21 Jun 2007, 6:25 PM
#2
teamzr1 avatar

teamzr1

New Zenner

Join Date:
Jun 2007
Posts:
42
Plugin Contributions:
0

Re: Parse error after making title change in index.php

Found it,
the title of Team ZR-1 Corvette Racer's which should be TEXT
is some type of pug for the **' **in it was seen as part of the code.

Someone should fix this for to me when typing text content code should not fail with non letter content.

21 Jun 2007, 8:28 PM
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,848
Plugin Contributions:
17

Re: Parse error after making title change in index.php

try

define('HEADING_TITLE', 'Team ZR-1 Corvette Racer's LLC');

in BOTH places

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com