Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP HELP HELP!!!!!!!!!!!!!


Guest

Recommended Posts

Can someone please help. I want to put in some new text and I erased sometime and created this error. (Parse error: parse error in /home/wwjd/importartzone-www/catalog/includes/languages/english/index.php on line 13)

Please tell me how to fix this, this is line 13:

 

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', '<font color="#FF0000"><b> Welcome to our secure online warehouse</font></b>, <font color="#4B0082"><b>inside you will find over 700

Link to comment
Share on other sites

This is not enough for people to solve this problem. If that is all that line 13 contains, then the text on the following line should be added to the end of this line.

 

If in doubt, give us some more code to look at., say lines 10-15!

 

madpah

 

define('TEXT_MAIN', '<font color="#FF0000"><b> Welcome to our secure online warehouse</font></b>, <font color="#4B0082"><b>inside you will find over 700
Link to comment
Share on other sites

No, line 13 isn't on the page.

 

1. Don't use the osCommerce File Manager to edit files! It strips backslashes from in front of apostrophies (this is bad in php), so ...

"Let\'s see what we have here" becomes...

"Let's see what we have here"

 

Look in your text for apostrophies without a backslash in front of them, as I have shown above.

 

Download the file you want to edit, edit it in a plain text editor (Notepad not Wordpad), and upload again.

 

Keep a complete backup of unchanged files, so if you do something wrong you can upload a fresh file.

 

Vger

Link to comment
Share on other sites

No, line 13 isn't on the page.

 

1.  Don't use the osCommerce File Manager to edit files!  It strips backslashes from in front of apostrophies (this is bad in php), so ...

"Let\'s see what we have here" becomes...

"Let's see what we have here"

 

Look in your text for apostrophies without a backslash in front of them, as I have shown above.

 

Download the file you want to edit, edit it in a plain text editor (Notepad not Wordpad), and upload again.

 

Keep a complete backup of unchanged files, so if you do something wrong you can upload a fresh file.

 

Vger

 

Don\'t know if you got my message I sent, but i figured it out, thanks for the help, shes fixed. As you noticed I will now put \'s in everything. LoL

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...