Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error: syntax error, unexpected T_STRING


Guest

Recommended Posts

Posted

Hi:

 

Is anyone able to help with this please? This will be about the 7th or 8th time starting over from scratch unless someone can help please. I've finally gotten the store to work. Now I add products which add without problems and display correctly. I tested trying to buy a product on a run through but when I click on the product I get the following error:

 

Parse error: syntax error, unexpected T_STRING in /home/starchil/public_html/dreamcatcher/includes/languages/english/product_info.php on line 15

 

I don't have a clue what that means and how to correct it without starting over yet again with a new store. I deleted the products and added new onrs in the hopes that would correct it but still receive the same error message. Below is the code where this error is from:

 

File Manager

/home/starchil/public_html/dreamcatcher//includes/languages/english

 

________________________________________________________________________________

 

 

<?php

/*

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

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_PRODUCT_NOT_FOUND', 'Product not found!');

define('TEXT_CURRENT_REVIEWS', 'Current Reviews:');

define('TEXT_MORE_INFORMATION', 'For more information, please visit this product's <a href="%s" target="_blank"><u>webpage</u></a>.');

define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.');

define('TEXT_DATE_AVAILABLE', '<font color="#ff0000">This product will be in stock on %s.</font>');

define('TEXT_ALSO_PURCHASED_PRODUCTS', 'Customers who bought this product also purchased');

define('TEXT_PRODUCT_OPTIONS', 'Available Options:');

define('TEXT_CLICK_TO_ENLARGE', 'Click to enlarge');

?>

 

Thank you for any assistance!!!! :blink: :blink: :blink:

Posted

product's

should be

product\'s

if you want the apostrophe.

 

Caution, do not use the osc filemanager. Use a text editor.

Posted
Hi:

 

Is anyone able to help with this please? This will be about the 7th or 8th time starting over from scratch unless someone can help please. I've finally gotten the store to work. Now I add products which add without problems and display correctly. I tested trying to buy a product on a run through but when I click on the product I get the following error:

 

Parse error: syntax error, unexpected T_STRING in /home/starchil/public_html/dreamcatcher/includes/languages/english/product_info.php on line 15

 

I don't have a clue what that means and how to correct it without starting over yet again with a new store. I deleted the products and added new onrs in the hopes that would correct it but still receive the same error message. Below is the code where this error is from:

 

File Manager

/home/starchil/public_html/dreamcatcher//includes/languages/english

 

________________________________________________________________________________

 

 

<?php

/*

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

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_PRODUCT_NOT_FOUND', 'Product not found!');

define('TEXT_CURRENT_REVIEWS', 'Current Reviews:');

define('TEXT_MORE_INFORMATION', 'For more information, please visit this product's <a href="%s" target="_blank"><u>webpage</u></a>.');

define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.');

define('TEXT_DATE_AVAILABLE', '<font color="#ff0000">This product will be in stock on %s.</font>');

define('TEXT_ALSO_PURCHASED_PRODUCTS', 'Customers who bought this product also purchased');

define('TEXT_PRODUCT_OPTIONS', 'Available Options:');

define('TEXT_CLICK_TO_ENLARGE', 'Click to enlarge');

?>

 

Thank you for any assistance!!!! :blink: :blink: :blink:

Posted
product's

should be

product\'s

if you want the apostrophe.

 

Caution, do not use the osc filemanager. Use a text editor.

Archived

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

×
×
  • Create New...