Results 1 to 3 of 3
  1. #1
    Join Date
    May 2006
    Posts
    67
    Plugin Contributions
    0

    Default Error after modified freeoptions.php

    After changing some words in language files in shipping/freeoptions.php there is an error : Parse error: syntax error, unexpected T_STRING in /home/simplyvc/public_html/jintex/includes/languages/english/modules/shipping/freeoptions.php on line 3

    This is the full file after modification :

    <?php/** * @package languageDefines * @copyright Copyright 2003-2006 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: freeoptions.php 3830 2006-06-21 23:47:16Z ajeh $ */

    define('MODULE_SHIPPING_FREEOPTIONS_TEXT_TITLE', '');

    define('MODULE_SHIPPING_FREEOPTIONS_TEXT_DESCRIPTION', 'Free Options is used to display a Free Shipping option when other Shipping Modules are displayed.It can be based on: Always show, Order Total, Order Weight or Order Item Count.The Free Options module does not show when Free Shipper is displayed.<br /><br />Setting Total to >= 0.00 and <= nothing (leave blank) will activate this module to show with all shipping modules, except for Free Shipping - freeshipper.<br /><br />NOTE: Leaving all settings for Total, Weight and Item count blank will deactivate this module.<br /><br />NOTE: Free Shipping Options does not display if Free Shipping is used based on 0 weight is Free Shipping.See: freeshipper');

    define('MODULE_SHIPPING_FREEOPTIONS_TEXT_WAY', '');?>

    Thanks for any help.

  2. #2
    Join Date
    Feb 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: Error after modified freeoptions.php

    could it be that their is a space between I & O in the line below:
    define('MODULE_SHIPPING_FREEOPTIONS_TEXT_DESCRIPTI ON'

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Error after modified freeoptions.php

    Try coping a clean copy to your templates and overrides directory and then edit it ...

    It looks like the file wrapped on itself and has things skewed ...

    Be sure that you are using a good TEXT editor to make your changes ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v139h HELP! I Modified Orders.php and Messed Up!
    By traytray in forum General Questions
    Replies: 5
    Last Post: 14 Jan 2013, 09:08 AM
  2. Featured products not showing after i modified tpl_index_categories
    By juneloweelyn in forum General Questions
    Replies: 2
    Last Post: 14 Nov 2010, 03:21 PM
  3. How to resend new order confirmation email after modified?
    By andrew1328 in forum Managing Customers and Orders
    Replies: 0
    Last Post: 1 Jun 2010, 03:57 PM
  4. FreeOptions causing error
    By lindasdd in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 1 Mar 2010, 02:56 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR