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?
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:
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!
Donate to: DrByte directly or to the Zen Cart team as a whole
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.
By delia in forum General Questions
Last Post: 27 May 2015, 09:32 PM
By Bostitch in forum Templates, Stylesheets, Page Layout
Last Post: 1 Jul 2009, 04:45 PM
By Pixxi in forum Bug Reports
Last Post: 9 Oct 2006, 09:02 PM
By imac in forum Templates, Stylesheets, Page Layout
Last Post: 18 Aug 2006, 04:11 PM
Content and Graphics Copyright (c) 2003 - 2017 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC