Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Getting a parse error when editing index.php


impissedoff

Recommended Posts

Posted

Editing includes/english/index.php

all I did was change the TEXT_MAIN to something I wanted. This i what I have:

define('TEXT_MAIN', 'Welcome to NANOWARE! Please setup an account with us to begin shopping. It's FREE. We currently accept PayPal (Use this for Credit Card payments), Money Order, and Check. If you don't already have a PayPal account or would like to use a credit card to check out here, please sign up at http://www.paypal.com.');

i tried putting <br>'s in places... doesnt do anything. by the way, I did this with a FTP client, NOT the gay file manager in oscommerce.

here's the error i get:

Parse error: parse error in /home2/nanoware/public_html/catalog/includes/languages/english/index.php on line 13

 

P.S. If i make this a really really really really really short message it works... WTF is there a char limit or something?

Posted

probably the gay it's instead of it\'s here

It's FREE.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

First: dont use the osC file manager to edit your files.

Download your file to your computer, edit it and upload to your server

 

Second:

It's FREE

should be written like this:

It\'s FREE

 

The_Bear

Archived

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

×
×
  • Create New...