PCSOFTNETWORK.COM Posted August 5, 2005 Posted August 5, 2005 When i try to edit pages for each language such as english/index.php i always get an error i try editing english/privacy.php to make my privacy notice and this is the error i get Parse error: parse error, unexpected T_STRING in /home/uzbekper/public_html/pcsoftnetwork/includes/languages/english/privacy.php on line 21
FalseDawn Posted August 5, 2005 Posted August 5, 2005 Stop using the OSC file editor, and make sure you escape any apostrophes in your text.
FalseDawn Posted August 5, 2005 Posted August 5, 2005 I'm sure it'd work if I did it, can't vouch for anyone else though... Just make sure that if you have defined a string value like Define(MY_TEXT, 'this won't work') that you escape the " ' ", like so: Define(MY_TEXT, 'this won\'t work') which, ironically, will work.
PCSOFTNETWORK.COM Posted August 5, 2005 Author Posted August 5, 2005 define(TEXT_INFORMATION, 'This Won/'t Work'); K I DID THAT STILL DOESNT WORK Parse error: parse error, unexpected T_STRING in /home/uzbekper/public_html/pcsoftnetwork/includes/languages/english/privacy.php on line 16 I DIDNT USE OSC editor
PCSOFTNETWORK.COM Posted August 5, 2005 Author Posted August 5, 2005 THANK YOU VERY MUCH!!!! FalseDawn and mkered for correcting me
Recommended Posts
Archived
This topic is now archived and is closed to further replies.