Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error: syntax error, unexpected '>' in /home/earthxf/public_html/store/includes/languages/english/index.php on line 13


Sdw

Recommended Posts

Posted

Hi,

 

I am way out of my league!lol I went to change the text on my index.php so that I didn't have the default tex to my store, I got this when finished:

 

Parse error: syntax error, unexpected '>' in /home/earthxf/public_html/store/includes/languages/english/index.php on line 13

 

How do I either fix this or restore the default?

 

TY Sdw

Posted
Hi,

 

I am way out of my league!lol I went to change the text on my index.php so that I didn't have the default tex to my store, I got this when finished:

 

Parse error: syntax error, unexpected '>' in /home/earthxf/public_html/store/includes/languages/english/index.php on line 13

 

How do I either fix this or restore the default?

 

TY Sdw

 

Post the first 30 lines starting from the very top

Posted
Post the first 30 lines starting from the very top

 

<?php

/*

$Id: index.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2007 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', 'Welcome to Earth Folk online Store.' <b>'We are currently under construction.'</b>. 'Any products wished to be purchased please email request to:.'<br>'[email protected]'<br>.'Please visit our forum at earth-folk.com/board.'<b><br><br>'We thank you for your patience, we hope to be fully operational soon.'<br>'Sincerely,'<br>'Earth Folk Staff'</br>)

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', 'Let\'s See What We Have Here');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 \'');

define('TEXT_NOW', '\' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'What\'s New Here?');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

 

 

I thought I did what was directed on the edit text in the knowledge base did. Oviously not! TY Sdw

Posted

define('TEXT_MAIN', 'Welcome to Earth Folk online Store.<b>We are currently under construction.</b>Any products wished to be purchased please email request to:.<br>[email protected]<br>.Please visit our forum at earth-folk.com/board.<b><br><br>We thank you for your patience, we hope to be fully operational soon.<br>Sincerely,<br>Earth Folk Staff</br>');

 

If you use the ' character in a language define you have to escape it ..

 

There's
It's

 

Should be ..

 

There\'s
It\'s

 

The define itself should look like

define(MY_DEFINE, '<div>HERE\'S IS WHERE MY TEXT AND HTML GOES<div>');

 

define(MY_DEFINE, '');

 

See the red bits they must stay there with your text/html in between.

Posted
define('TEXT_MAIN', 'Welcome to Earth Folk online Store.<b>We are currently under construction.</b>Any products wished to be purchased please email request to:.<br>[email protected]<br>.Please visit our forum at earth-folk.com/board.<b><br><br>We thank you for your patience, we hope to be fully operational soon.<br>Sincerely,<br>Earth Folk Staff</br>');

 

If you use the ' character in a language define you have to escape it ..

 

There's
It's

 

Should be ..

 

There\'s
It\'s

 

The define itself should look like

define(MY_DEFINE, '<div>HERE\'S IS WHERE MY TEXT AND HTML GOES<div>');

See the red bits they must stay there with your text/html in between.

 

 

TY Very Much. I'm still learning the HTML and php, not sure I want to tackle ftp yet. lol

Archived

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

×
×
  • Create New...