Page 39 of 40 FirstFirst ... 2937383940 LastLast
Results 381 to 390 of 397
  1. #381
    Join Date
    Feb 2010
    Posts
    58
    Plugin Contributions
    0

    Default Re: Optional Shipping Insurance Module Support Thread...

    in the last version
    ERROR: module not loaded because the language file is missing: /includes/languages/english/modules/order_total/ot_insurance.php

  2. #382
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

    Default Re: Optional Shipping Insurance Module Support Thread...

    zen version 1.51 when clicked nothing happens til i go to next screen, how to fix this. or what is broken?

  3. #383
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,017
    Plugin Contributions
    61

    Default Re: Optional Shipping Insurance Module Support Thread...

    Zen 1.5.6C | PHP 7.3.9 | OPC 2.1.4

    Numinix's 3.3.0 version doesn't work. It installs and can never be edited in the admin. Additionally it does not show in checkout at all

    (https://www.zen-cart.com/downloads.php?do=file&id=232) 3.2.3 shows in checkout and works fine in admin, but the amount is never applied in checkout even though it's clearly registering an action when "apply" is clicked for insurance. Below are the logs

    [24-Sep-2019 11:23:31 America/New_York] PHP Notice: Undefined property: ot_insurance::$include_shipping in /home/XXXX/public_html/XXXX/includes/modules/order_total/ot_insurance.php on line 196
    [24-Sep-2019 11:23:31 America/New_York] PHP Notice: Undefined property: ot_insurance::$include_tax in /home/XXXX/public_html/XXXX/includes/modules/order_total/ot_insurance.php on line 197
    [24-Sep-2019 11:23:31 America/New_York] PHP Notice: Undefined index: opt_insurance in /home/XXXX/public_html/XXXX/includes/modules/order_total/ot_insurance.php on line 244
    [24-Sep-2019 11:23:31 America/New_York] PHP Notice: Undefined property: ot_insurance::$include_shipping in /home/XXXX/public_html/XXXX/includes/modules/order_total/ot_insurance.php on line 196
    [24-Sep-2019 11:23:31 America/New_York] PHP Notice: Undefined property: ot_insurance::$include_tax in /home/XXXX/public_html/XXXX/includes/modules/order_total/ot_insurance.php on line 197
    [24-Sep-2019 11:23:31 America/New_York] PHP Notice: Undefined index: opt_insurance in /home/XXXX/public_html/XXXX/includes/modules/order_total/ot_insurance.php on line 116
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  4. #384
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Optional Shipping Insurance Module Support Thread...

    This is working on php 5.6 but creating warnings about the table rates. This site is not using table rates but this is what happens:
    PHP Code:
    [28-Dec-2019 08:32:01 America/New_YorkPHP Warning:  constant(): Couldn't find constant MODULE_ORDER_TOTAL_INSURANCE_ZONE_4 in /home/xxxxf/public_html/includes/modules/order_total/ot_insurance.php on line 43
    [28-Dec-2019 08:32:01 America/New_York] Request URI: /coffeemin/modules.php?set=ordertotal, IP address: 172.101.3.191
    #1  constant() called at [/home/xxxxx/public_html/includes/modules/order_total/ot_insurance.php:43]
    #2  ot_insurance->ot_insurance() called at [/home/xxxxx/public_html/coffeemin/modules.php:185] 
    The full-time Zen Cart Guru. WizTech4ZC.com

  5. #385
    Join Date
    Jan 2010
    Posts
    48
    Plugin Contributions
    0

    Default Re: Optional Shipping Insurance Module Support Thread...

    Quote Originally Posted by delia View Post
    This is working on php 5.6 but creating warnings about the table rates. This site is not using table rates but this is what happens:
    PHP Code:
    [28-Dec-2019 08:32:01 America/New_YorkPHP Warning:  constant(): Couldn't find constant MODULE_ORDER_TOTAL_INSURANCE_ZONE_4 in /home/xxxxf/public_html/includes/modules/order_total/ot_insurance.php on line 43
    [28-Dec-2019 08:32:01 America/New_York] Request URI: /coffeemin/modules.php?set=ordertotal, IP address: 172.101.3.191
    #1  constant() called at [/home/xxxxx/public_html/includes/modules/order_total/ot_insurance.php:43]
    #2  ot_insurance->ot_insurance() called at [/home/xxxxx/public_html/coffeemin/modules.php:185] 
    Did you recently add a zone definition (admin -> Location/Taxes -> Zone Definitions)?

    I had done this not very long ago on a 1.5.5f cart and encountered this warning. To fix, I removed and reinstalled the ot_insurance module. It will then create the appropriate number of table entries (one per zone definition).

  6. #386
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Optional Shipping Insurance Module Support Thread...

    no, no changes to anything. This happened as soon as I installed the mod.
    The full-time Zen Cart Guru. WizTech4ZC.com

  7. #387
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Optional Shipping Insurance Module Support Thread...

    and please note that the mod does not actually allow you to have more than 3 table rates. The errors are for MODULE_ORDER_TOTAL_INSURANCE_ZONE_5 and MODULE_ORDER_TOTAL_INSURANCE_ZONE_4. Which do not exist in the mod, nor in this website which only has three zone definitions and is the reason for the error. It all still works but it just creates error files........
    The full-time Zen Cart Guru. WizTech4ZC.com

  8. #388
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Optional Shipping Insurance Module Support Thread...

    warning Methods with the same name as their class will not be constructors in a future version of PHP; line 22
    php 7.3 (was happening in 7.1 as well).

    Line 22 is the last in this bit of code
    PHP Code:
    class ot_insurance extends base{
        function 
    process() {
            }
        }
    } else {

        class 
    ot_insurance 
    the function is also named ot_insurance. I'll fix if someone will confirm what it's referring to.
    The full-time Zen Cart Guru. WizTech4ZC.com

  9. #389
    Join Date
    Jan 2010
    Posts
    48
    Plugin Contributions
    0

    Default Re: Optional Shipping Insurance Module Support Thread...

    To eliminate the warning when using PHP 7+, change
    Code:
    		function ot_insurance() {
    to
    Code:
    		function __construct() {

  10. #390
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Optional Shipping Insurance Module Support Thread...

    oh, I have been thru that before!n and had just forgotten. Thanks so much for answering so quickly.
    The full-time Zen Cart Guru. WizTech4ZC.com

 

 
Page 39 of 40 FirstFirst ... 2937383940 LastLast

Similar Threads

  1. Optional Shipping Insurance Module Question
    By kminnich in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 7 Oct 2008, 01:16 AM
  2. Optional Shipping Insurance Module
    By Darkwander in forum Addon Shipping Modules
    Replies: 2
    Last Post: 9 Oct 2006, 02:18 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