[05-Dec-2008 10:44:40] PHP Parse error: syntax error, unexpected T_STRING in /home/xxxx/public_html/includes/languages/english/xxxx/product_info.php on line 1
Printable View
[05-Dec-2008 10:44:40] PHP Parse error: syntax error, unexpected T_STRING in /home/xxxx/public_html/includes/languages/english/xxxx/product_info.php on line 1
This is the file I am uploading:
<?php
/**
* @package languageDefines
* @copyright Copyright 2003-2007 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: product_info.php 6371 2007-05-25 19:55:59Z ajeh $
*/
define('TEXT_PRODUCT_NOT_FOUND', 'Sorry, the product was 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">webpage</a>.');
define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.');
define('TEXT_DATE_AVAILABLE', 'This product will be in stock on %s.');
define('TEXT_ALSO_PURCHASED_PRODUCTS', 'Customers who bought this product also purchased...');
define('TEXT_PRODUCT_OPTIONS', 'Please Choose: ');
define('TEXT_PRODUCT_MANUFACTURER', 'Manufactured by: ');
define('TEXT_PRODUCT_WEIGHT', 'Shipping Weight: ');
define('TEXT_PRODUCT_QUANTITY', ' Units in Stock');
define('TEXT_PRODUCT_MODEL', 'Model: ');
// previous next product
define('PREV_NEXT_PRODUCT', 'Product ');
define('PREV_NEXT_FROM', ' from ');
define('IMAGE_BUTTON_PREVIOUS','Previous Item');
define('IMAGE_BUTTON_NEXT','Next Item');
define('IMAGE_BUTTON_RETURN_TO_PRODUCT_LIST','Back to Product List');
// missing products
//define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
//define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
//define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');
define('TEXT_ATTRIBUTES_PRICE_WAS',' [was: ');
define('TEXT_ATTRIBUTE_IS_FREE',' now is: Free]');
define('TEXT_ONETIME_CHARGE_SYMBOL', ' *');
define('TEXT_ONETIME_CHARGE_DESCRIPTION', ' One time charges may apply');
define('TEXT_ATTRIBUTES_QTY_PRICE_HELP_LINK','Quantity Discounts Available');
define('ATTRIBUTES_QTY_PRICE_SYMBOL', zen_image(DIR_WS_TEMPLATE_ICONS . 'icon_status_green.gif', TEXT_ATTRIBUTES_QTY_PRICE_HELP_LINK, 10, 10) . ' ');
define('ATTRIBUTES_PRICE_DELIMITER_PREFIX', ' ( ');
define('ATTRIBUTES_PRICE_DELIMITER_SUFFIX', ' )');
define('ATTRIBUTES_WEIGHT_DELIMITER_PREFIX', ' (');
define('ATTRIBUTES_WEIGHT_DELIMITER_SUFFIX', ') ');
define('TEXT_XSELL_PRODUCTS', 'Related Products');
?>
After I ftp the file to my server and edit it, it seems to have everything on just one line.
Don't know what is happening to it when I try to upload.
I use filezilla and have never seen this.
So I upload the file and it seems to change to put everything on just one line. This seems to cause the problem. So I edited the version now on my server and manually put all the code in it with copy paste from the local file that I just posted above. Save it and voila, now it works.
How can this happen? This is very strange. Uploading changing the content of the file????
All other files from your mod that I uploaded do just fine. Just this one is a problem. Strange.
Hi, Can anybody please tell me how to delete an item from xsell? when I click on advanced xsell, then list all xsells, then the delete against the item I want to delete, I just get a message saying 0 cross sell(s) cleaned up?
any help would be great, thanks
I made some small changes to the Cross Sell Advanced module so that I could use it on a shopping cart as well. I bundled it back up and have put in on my server at Abound Marketing. Please download it and check it out. Perhaps it can be released as a new version.
The shopping cart displays any cross sold items related to products in your cart until you add them to your cart.
http://www.aboundmarketing.com/opens...od_rev1851.zip
I've never contributed to the Zen Cart project before, so I'm ignorant of correct protocol. I hope, however, that someone else finds this modification useful.