Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't edit pages


PCSOFTNETWORK.COM

Recommended Posts

Posted

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

Posted

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.

Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...