Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2008
    Location
    Australia
    Posts
    74
    Plugin Contributions
    0

    Default WARNING error during checkout attached to Free Shipping

    I have recently upgraded from 1.3.8a to 1.3.9h and I am sorting out a few bugs, most of which I now have under control...but this one is confusing me...during checkout with a free shipping module, the following error displays

    WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_insurance.php

    I have not used an insurance module before and the error message is correct in there isnt an ot_insurance.php language file...do I need it to make this error go away or is there a way for zc to recognise that it is not required?

    any help is appreciated :)

    www.thecrookedpath.com.au

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

    Default Re: WARNING error during checkout attached to Free Shipping

    It sounds like you have the file:
    /includes/modules/order_total/ot_insurance.php

    but you do not have the associated language file:
    /includes/languages/english/modules/order_total/ot_insurance.php

    if you do not want to use the insurance, then you should delete the file:
    /includes/modules/order_total/ot_insurance.php

    If you do want the insurance module, then you need to load the language file:
    /includes/languages/english/modules/order_total/ot_insurance.php

    to the server ...
    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!

  3. #3
    Join Date
    Jul 2008
    Location
    Australia
    Posts
    74
    Plugin Contributions
    0

    Default Re: WARNING error during checkout attached to Free Shipping

    Well, as I was typing out the question, I had an idea...what would happen if I simply went to /includes/languages/english/modules/order_total and simply make a blank file that was titled ot_insurance.php?

    So I tried...

    And now Im not getting the error message...

    Is this the "fix" or are there repercussions to doing this that I am not aware of?

    Thanks again :)

  4. #4
    Join Date
    Jul 2008
    Location
    Australia
    Posts
    74
    Plugin Contributions
    0

    Default Re: WARNING error during checkout attached to Free Shipping

    Thanks Ajeh, I have just checked to see if I do in fact have the /includes/modules/order_total/ot_insurance.php - but I don't...

    I'm confused

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

    Default Re: WARNING error during checkout attached to Free Shipping

    It could be in your database for this Order Total module and was never properly deleted ...

    If you go to the Modules ... Order Totals ... do you see Insurance ot_insurance in there?

    Otherwise, you would need to clean up the database table for the configuration to get rid of this properly ...
    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!

  6. #6
    Join Date
    Aug 2008
    Posts
    40
    Plugin Contributions
    0

    Default Re: WARNING error during checkout attached to Free Shipping

    Hi Ajeh
    I am getting this error too, but I don't have either file in their respective directories. Do you know where I need to look in the database to clean this up?

  7. #7
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: WARNING error during checkout attached to Free Shipping

    Quote Originally Posted by wiccan0974 View Post
    Well, as I was typing out the question, I had an idea...what would happen if I simply went to /includes/languages/english/modules/order_total and simply make a blank file that was titled ot_insurance.php?

    So I tried...

    And now Im not getting the error message...

    Is this the "fix" or are there repercussions to doing this that I am not aware of?

    Thanks again :)
    Good question. The /languages/ files generally only contain 'define' statements, which are used to output the relevant text in any given language. In this case, English.

    The lack of these defines won't cause any *operational* issues, but if you see any output in all capitals, such as 'INSURANCE_FEE' (or similar) it means that the 'define' statement is missing, and should be added.

    Cheers
    Rod


    Ooops, just realised that this was a very old post. Sorry about that.

  8. #8
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: WARNING error during checkout attached to Free Shipping

    Quote Originally Posted by joe.davila View Post
    Hi Ajeh
    I am getting this error too, but I don't have either file in their respective directories. Do you know where I need to look in the database to clean this up?
    If you have neither of the aforementioned files then you won't be getting the same error.

    Please describe the actual error that *you* are getting and we may be able to help.

    Cheers
    Rod

 

 

Similar Threads

  1. Replies: 3
    Last Post: 16 Feb 2010, 05:33 PM
  2. Encrypted Page warning during checkout process
    By EraD in forum General Questions
    Replies: 2
    Last Post: 23 Jan 2010, 02:07 AM
  3. Replies: 13
    Last Post: 20 May 2008, 05:32 AM
  4. Get rid of Free Shipping during checkout
    By brightgirl in forum Customization from the Admin
    Replies: 3
    Last Post: 26 Feb 2008, 05:32 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