Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

index.php error


Guest

Recommended Posts

Parse error: parse error, unexpected T_STRING in /home/drrapcom/public_html/public_html/store/osCommerce/catalog/includes/languages/english/index.php on line 14. I've tried adding a parenthesis, quotes, etc. nothing seems to work. I only wanted to remove all the default text and images and replace them with mine... Please help!!!!!

 

My file looks like this:

======================================================

<?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', 'Welcome to Dr. Rap Online Store'

<TABLE cellSpacing=5 cellPadding=2 width="100%" border=0><TBODY><TR><TD class=main

Link to comment
Share on other sites

Parse error: parse error, unexpected T_STRING in /home/drrapcom/public_html/public_html/store/osCommerce/catalog/includes/languages/english/index.php on line 14. I've tried adding a parenthesis, quotes, etc. nothing seems to work. I only wanted to remove all the default text and images and replace them with mine... Please help!!!!!

 

My file looks like this:

======================================================

<?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', 'Welcome to Dr. Rap Online Store'

<TABLE cellSpacing=5 cellPadding=2 width="100%" border=0><TBODY><TR><TD class=main

 

Change:

define('TEXT_MAIN', 'Welcome to Dr. Rap Online Store' <TABLE cellSpacing=5 cellPadding=2 width="100%" border=0><TBODY><TR><TD class=main

 

To:

define('TEXT_MAIN', 'Welcome to Dr. Rap Online Store<TABLE cellSpacing=5 cellPadding=2 width="100%" border=0><TBODY><TR><TD class=main>'

 

Your HTML code should be within the ''! As for PHP this is still a string that needs to be displayed!

 

Grtz,

 

Arjan Gelderblom

I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image.

-- Stephen Hawking

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...