terry2sticks Posted December 11, 2005 Posted December 11, 2005 i change the default tilte setting in /includes/languages/english.php and since i did this all i've been recieving is this :- Parse error: parse error, unexpected T_STRING in /home/capitalg/public_html/sexyandsleek/includes/languages/english.php on line 79 If i write it out then i recieve a new error on a different line. any ideas what i need to do or change as well
tina_boots Posted December 11, 2005 Posted December 11, 2005 i change the default tilte setting in /includes/languages/english.phpand since i did this all i've been recieving is this :- Parse error: parse error, unexpected T_STRING in /home/capitalg/public_html/sexyandsleek/includes/languages/english.php on line 79 If i write it out then i recieve a new error on a different line. any ideas what i need to do or change as well "unexpected T_STRING" means you have a syntax error usually caused by a misplaced comma or apostrophe. Post line 79 here and someone will usually be able to help you spot the error. Be well, Tina If you're not having fun you're not doing it right Teach a person to fish rather than give them a loaf of bread or however that saying goes.
terry2sticks Posted December 11, 2005 Author Posted December 11, 2005 define('BOX_HEADING_WHATS_NEW', 'What's New?'); this line 79.. can any body spot an error?
tina_boots Posted December 11, 2005 Posted December 11, 2005 define('BOX_HEADING_WHATS_NEW', 'What's New?'); this line 79.. can any body spot an error? It should be like this: define('BOX_HEADING_WHATS_NEW', 'What\'s New?'); When you have an apostrophe in your text you need to delimit it with a "\" otherwise the interpreter thinks its the end of the string. Also I know it can be frustrating when you have a problem and trying to find an answer, but please don't cross post it makes it confusing for people who are trying to help. There are a lot of good people willing to give of their time and knowledge to help when they can. If someone can help they normally will. Be well, Tina If you're not having fun you're not doing it right Teach a person to fish rather than give them a loaf of bread or however that saying goes.
terry2sticks Posted December 11, 2005 Author Posted December 11, 2005 that worked great but know i have a new error if any body would like to take a peek... define('JS_REVIEW_TEXT', '* The 'Review Text' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.n');
tina_boots Posted December 11, 2005 Posted December 11, 2005 that worked great but know i have a new error if any body would like to take a peek...define('JS_REVIEW_TEXT', '* The 'Review Text' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.n'); Its the same issue, should be: define('JS_REVIEW_TEXT', '* The \'Review Text\' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.\n'); Be well, Tina If you're not having fun you're not doing it right Teach a person to fish rather than give them a loaf of bread or however that saying goes.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.