Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Editing text in php files


ScaleCreep

Recommended Posts

Posted

I have been attempting to change the text on my site. When I open english.php to change, for instance, the text in the header from "Cart Contents" to "View Cart" I get the following error on the shop home page:

 

Parse error: parse error, unexpected T_STRING in /home/scalecre/public_html/catalog/includes/languages/english.php on line 79

 

No matter what text I edit, even just a single letter, this error results, with the line number changing to the line of the text I changed. Even if I then change it back, I get the same result.

 

I am using the online editor primarily. I tried downloading the file, editing in Notepad and uploading, no luck. So I upload the original file (I kept a copy of my download, luckily) and it's all fixed. But of course, my shop now displays only the osCommerce beta text....

 

HELP!

Posted
I have been attempting to change the text on my site. When I open english.php to change, for instance, the text in the header from "Cart Contents" to "View Cart" I get the following error on the shop home page:

 

Parse error: parse error, unexpected T_STRING in /home/scalecre/public_html/catalog/includes/languages/english.php on line 79

 

No matter what text I edit, even just a single letter, this error results, with the line number changing to the line of the text I changed. Even if I then change it back, I get the same result.

 

I am using the online editor primarily. I tried downloading the file, editing in Notepad and uploading, no luck. So I upload the original file (I kept a copy of my download, luckily) and it's all fixed. But of course, my shop now displays only the osCommerce beta text....

 

HELP!

 

what are you using to edit your files? the file manager? You have to use a different text editor to edit files, the file manager has some sort of bug that messes up pages...

 

Christina

Posted
I have been attempting to change the text on my site. When I open english.php to change, for instance, the text in the header from "Cart Contents" to "View Cart" I get the following error on the shop home page:

 

Parse error: parse error, unexpected T_STRING in /home/scalecre/public_html/catalog/includes/languages/english.php on line 79

 

No matter what text I edit, even just a single letter, this error results, with the line number changing to the line of the text I changed. Even if I then change it back, I get the same result.

 

I am using the online editor primarily. I tried downloading the file, editing in Notepad and uploading, no luck. So I upload the original file (I kept a copy of my download, luckily) and it's all fixed. But of course, my shop now displays only the osCommerce beta text....

 

HELP!

You need to post the code you edited.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Archived

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

×
×
  • Create New...