Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2009
    Posts
    1
    Plugin Contributions
    0

    Default Template override in languages/english/modules/shipping not working

    I upgraded my 1.3.8 site to 1.5. I started with a fresh 1.5 install and moved everything over.

    My customer just rang to tell me people are having trouble ordering and when I tried to sign up as a new user I received a message telling me there where no shipping options available. When I log into the admin system and look at modules/shipping I saw lots of messages like this:

    ERROR: module not loaded due to missing language file: /home/plr/public_html/includes/languages/english/modules/shipping/flatCourierUK.php

    The file flatCourierUK.php was in a folder with the template name inside shipping. As soon as I moved it out to shipping then it started working again.

    flatCourierUK.php was a shipping method I created based on the standard flat.php I created as it was the easiest way I found to create multiple flat shipping fees. The customer chooses which flat shipping method they want based on where they are, so for example royal mail for parcels under 5Kg or courier to the shetland islands.

    Is this a bug with zencart not handling my language override properly or is it me not creating the new shipping method correctly?

  2. #2
    Join Date
    Jan 2004
    Posts
    59,773
    Blog Entries
    4
    Plugin Contributions
    133

    Default Re: Template override in languages/english/modules/shipping not working

    Sounds like you didn't *test* any transactions after doing the upgrade. Something to remember for future.

    The "module not loaded due to missing language file" message appears when you don't have matching files for shipping module and its corresponding language file.

    Shipping modules come in pairs:
    /includes/modules/shipping/FILENAME.php
    /includes/languages/YOUR_LANGUAGE/modules/shipping/FILENAME.PHP
    If you don't have the pair of files on the server, you'll get errors and malfunction.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. includes/languages/english/custom override not working
    By Bostitch in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 1 Jul 2009, 04:45 PM
  2. Replies: 3
    Last Post: 21 Jan 2009, 04:13 PM
  3. v 1.3.5 - 'languages/english/modules/' overrides
    By Pixxi in forum Bug Reports
    Replies: 1
    Last Post: 9 Oct 2006, 09:02 PM
  4. Template overrides in languages/english/modules/shipping ?
    By imac in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 18 Aug 2006, 04:11 PM

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
  •