Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Php/Parse Error Message-Help


katek

Recommended Posts

Posted

Hi! I am clueless and new to this so ANY and all help will be TOTALLY appreciated!!! I wanted to get rid of the default text, and stupidly wrote and saved some text, prior to figuring out I should be backing up the file first, so now I get this error message when I click on online catalog. YIKES! Does anyone have any ideas? I'd be happy to post what I edited, so maybe you can see where I went wrong, again-any clues or ideas would be helpful. Thanks!

Hugs,

Kate

 

Parse error: syntax error, unexpected T_STRING in /home/bryan210/public_html/shopcart/includes/languages/english/index.php on line 13

Posted
Hi! I am clueless and new to this so ANY and all help will be TOTALLY appreciated!!! I wanted to get rid of the default text, and stupidly wrote and saved some text, prior to figuring out I should be backing up the file first, so now I get this error message when I click on online catalog. YIKES! Does anyone have any ideas? I'd be happy to post what I edited, so maybe you can see where I went wrong, again-any clues or ideas would be helpful. Thanks!

Hugs,

Kate

 

Parse error: syntax error, unexpected T_STRING in /home/bryan210/public_html/shopcart/includes/languages/english/index.php on line 13

 

Firstly back up what's left of the file as you may need stuff you changed later.

 

secondly . . from the fresh downloaded package copy the file /includes/languages/MYLANGUAGE/index.php

 

into your site. This gets you up and running again without errors.

 

Thirdly .. how to avoid the error ..

 

1) Get yourself a decent text editor (if you haven't got one) .. I recommend conTEXT others recommend others.

 

2) Edit the site index page as follows :-

 

define(''); << This is the bit that must not be changed

 

 

define('ALL TEXT/HTML MUST GO HERE');

 

If you have to use an apostrophie in you're text write it like this ..

 

you\'re

Posted

Thank you, thank you so much!!! I am off to try all of this!!! (great tip about the apostrophe, I would never have guessed that!)

 

Hugs,

Kate

Archived

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

×
×
  • Create New...