in the last version
ERROR: module not loaded because the language file is missing: /includes/languages/english/modules/order_total/ot_insurance.php
in the last version
ERROR: module not loaded because the language file is missing: /includes/languages/english/modules/order_total/ot_insurance.php
zen version 1.51 when clicked nothing happens til i go to next screen, how to fix this. or what is broken?
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.
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_York] PHP 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
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).
no, no changes to anything. This happened as soon as I installed the mod.
The full-time Zen Cart Guru. WizTech4ZC.com
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
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
the function is also named ot_insurance. I'll fix if someone will confirm what it's referring to.PHP Code:
class ot_insurance extends base{
function process() {
}
}
} else {
class ot_insurance {
The full-time Zen Cart Guru. WizTech4ZC.com
To eliminate the warning when using PHP 7+, change
toCode:function ot_insurance() {
Code:function __construct() {
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
Bookmarks