Tremblehorne Posted April 21, 2005 Posted April 21, 2005 Hi, Why is it when I try to put some text on the front page of my site I get this sort of error and then I have to copy the original file back to get round it??? Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /mnt/web_g/d02/s40/b021d65c/www/shop/nfoscomm/catalog/includes/languages/english/index.php on line 15 Please, I am a complete newbie to this, so be gentle. Regards Steve Regards Steve
Winterchild Posted April 21, 2005 Posted April 21, 2005 Did you put quotes in the text? Be sure to escape them like this: \"whatever\" Also don't use the File Manager in the admin Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error
Tremblehorne Posted April 22, 2005 Author Posted April 22, 2005 Did you put quotes in the text? Be sure to escape them like this: \"whatever\" Also don't use the File Manager in the admin <{POST_SNAPBACK}> Hi again, Call me stupid ( I am ) define('TEXT_MAIN', ''); define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); I have deleted the blag from the text main it was all in between the exclaimation marks now when I right something in there it goes pete tong what am I doing wrong????? Steve Regards Steve
boxtel Posted April 22, 2005 Posted April 22, 2005 Hi again, Call me stupid ( I am ) define('TEXT_MAIN', ''); define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); I have deleted the blag from the text main it was all in between the exclaimation marks now when I right something in there it goes pete tong what am I doing wrong????? Steve <{POST_SNAPBACK}> this looks ok, you still have this within <?php ?> tags ? Treasurer MFC
Recommended Posts
Archived
This topic is now archived and is closed to further replies.