Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Someone Please help me


MrOpinion

Recommended Posts

I've been trying to figure out what is going on for the past 2 days and I can't figure it out. Everytime that I edit default.php (or define_main.php, I've tried the original and the mod), I get the following error.

 

Parse error: parse error, unexpected T_STRING in /home/virtual/site13/fst/var/www/html/store/includes/languages/english/define_mainpage.php on line 2

 

That's whenever I even cut out word out of displayed text. Can someone explain what I'm doing wrong and what I can do to fix the problem? Thanks a lot.

 

P.S. The page is http://store.bgtrainrepair.com if you want to look at it.

Link to comment
Share on other sites

Dude, I'd say back up the file, and edit it outside of the server, don't edit over Admin panel in file manager, edit it in whatever program you use... (dreamweaver, metapad, etc.)... Then try to upload it, but still keep the original handy, try that...

 

Sincerely,

Dr. DK

-----------------------------------------------------------------------

 

Sincerely,

Dr. DK

Link to comment
Share on other sites

Is there any single quote in the text on file /store/includes/languages/english/define_mainpage.php

 

like

That's my site

 

you need to write it like this

 

That\'s my site

 

put a backslash before any single quote in your text.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...