Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help


Tremblehorne

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

 

 

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

Link to comment
Share on other sites

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

 

this looks ok, you still have this within <?php ?> tags ?

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...