PCSOFTNETWORK.COM Posted August 5, 2005 Share 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 Link to comment Share on other sites More sharing options...
FalseDawn Posted August 5, 2005 Share Posted August 5, 2005 Stop using the OSC file editor, and make sure you escape any apostrophes in your text. Link to comment Share on other sites More sharing options...
PCSOFTNETWORK.COM Posted August 5, 2005 Author Share Posted August 5, 2005 you sure it'll work? Link to comment Share on other sites More sharing options...
FalseDawn Posted August 5, 2005 Share 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. Link to comment Share on other sites More sharing options...
PCSOFTNETWORK.COM Posted August 5, 2005 Author Share 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 Link to comment Share on other sites More sharing options...
Guest Posted August 5, 2005 Share Posted August 5, 2005 turn that slash around. from / to \ :-" Link to comment Share on other sites More sharing options...
PCSOFTNETWORK.COM Posted August 5, 2005 Author Share Posted August 5, 2005 THANK YOU VERY MUCH!!!! FalseDawn and mkered for correcting me Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.