Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP - Parse error


atsilvan

Recommended Posts

Posted

I edited 1 character in english.php and now cannot view any part of my store or site that is dependent on osc.

 

This is the error:

 

Parse error: parse error, unexpected T_STRING in /home/atsilvan2/public_html/store/includes/languages/english.php on line 82

 

This is what I tried to edit:

 

define('FOOTER_TEXT_BODY', 'Copyright © 2004 Car Care Products, Inc.');

?>

 

(I wanted to changed the 2004 to 2005.) I did and got the parse error, then changed it back and still get the error. I did use the OSC editor.

 

What to do? I am not a savvy php person, but can follow simple directions.

 

Someone please help! Thanks!

Posted

first, dont use the osc editor, it will cause al kinds of problems with your system. ftp the files down to your local system, edit, then ftp up to the site.

Posted
first, dont use the osc editor, it will cause al kinds of problems with your system.  ftp the files down to your local system, edit, then ftp up to the site.

 

But I HAVE already used the osc editor. How can I fix this?

Posted

I received that error when I input an apostrphe in a text field, such as "This won't work..."

 

Look through your text - any apostrophes need to be preceeded by a slash, such as: "This isn\'t a problem..."

Posted
But I HAVE already used the osc editor.  How can I fix this?

 

Replace your copy of the messed up file with a copy you can retrieve from a fresh install (ZIP file). Then use Notepad/Textpad/Any good editor to modify the file and upload it via FTP.

Archived

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

×
×
  • Create New...