Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't edit pages


PCSOFTNETWORK.COM

Recommended Posts

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

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

Archived

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

×
×
  • Create New...