Guest Posted December 17, 2007 Posted December 17, 2007 Hi my website has been merrily working away, today all of sudden there was a syntax error in the header_tags file (which I've found and fixed) and now one in the admin english.php file which I can't work out. Hopefully someone might be able to help me out. The error reads: Parse error: syntax error, unexpected T_STRING in /home/greengum/public_html/admin/includes/languages/english.php on line 132 and line 132 in that file is: define('JS_GENDER', '* The 'Gender' value must be chosen.n'); Can anyone see what is wrong with that line? Also does anyone have any suggestions why these errors are suddenly popping up when I haven't changed anything on my website? Thanks in advance!
♥FWR Media Posted December 17, 2007 Posted December 17, 2007 define('JS_GENDER', '* The \'Gender\' value must be chosen.n'); If you use apostrophies in text you have to escape them with \ e.g. you\'re Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
Guest Posted December 17, 2007 Posted December 17, 2007 define('JS_GENDER', '* The \'Gender\' value must be chosen.n'); If you use apostrophies in text you have to escape them with \ e.g. you\'re Thank you, problem fixed! I couldn't see it for looking :blush:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.