Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error: parse error, unexpected T_STRING in /home/sites/e-hol.co.uk/public_html/e-shop/includes/languages/english.php on line 79


e-hol.co.uk

Recommended Posts

Posted

Hi, I am having a parse error

 

Parse error: parse error, unexpected T_STRING in /home/sites/e-hol.co.uk/public_html/e-shop/includes/languages/english.php on line 79

 

Line 79 is below:

define('BOX_HEADING_WHATS_NEW', 'What's New?');

 

Please help rectify this issue

 

Ian

Posted
When you enter text with an apostrophe, proceed it with a backward slash. So What's should be What\'s.

 

Jack

 

Thanks Jack,

 

Its now saying:

Parse error: parse error, unexpected T_STRING in /home/sites/e-hol.co.uk/public_html/e-shop/includes/languages/english.php on line 146

 

Please help, line 146 is below:

 

define('JS_REVIEW_TEXT', '* The 'Review Text' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.n');

 

Thanks,

Ian

Posted
define('JS_REVIEW_TEXT', '* The 'Review Text' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.n');

 

Replace with:

 

define('JS_REVIEW_TEXT', '* The \'Review Text\' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.n');

Posted

I am getting a parse error that says:

 

Parse error: parse error, unexpected T_STRING in /var/www/html/emporium/includes/filenames.php on line 60

 

and here's is line 60:

 

define('FILENAME_PRODUCTS_NEW', 'products_new.php');

 

 

can you help? I can't see anything wrong with it.

 

 

thanks,

 

 

Elaine

"There are only 10 types of people in this world: those who understand binary, and those who don't. "

Archived

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

×
×
  • Create New...