I have a question I've upgraded my Zen Cart installation from 1.5.5e to 1.5.5f in my development server, as well as upgrading from PHP 5.6 to PHP 7.1.
I've made sure my customization php.ini definitions are migrated too.
Going through QC testing I've noticed ot_insurance no longer functions properly.
First symptom is upon a user attempts to checkout and pay for the product on index.php?main_page=checkout_payment , the screen returns blank.
Second symptom is the edit Edit and Remove buttons within the administration page of the module does not show up anymore. The module list is of course still green light. I can click on the module listing again to edit the attribute of the module that way.
According to the debug log, there's evident that something isnt compatible with the module.
[18-Jan-2018 20:08:08 America/Los_Angeles] PHP Fatal error: Uncaught Error: Call to undefined function split() in /home/www/includes/modules/order_total/ot_insurance.php:128
Stack trace:
#0 /home/www/includes/classes/order_total.php(185): ot_insurance->process()
#1 /home/www/includes/modules/pages/checkout_payment/header_php.php(101): order_total->pre_confirmation_check()
#2 /home/www/index.php(36): require('/home/apusa/ang...')
#3 {main}
thrown in /home/www/includes/modules/order_total/ot_insurance.php on line 128
Disabling, but not Removing (Since I cant do that without the button) the module will make my shopping cart work again.
Also ZC 1.5.5e and 1.5.5f works with Php 5.6 but this issue appears within Php 7.1 So far, I have no other issues with other modules, and general functionality of the cart except this module. As I'd like to force my customers to have insurance for every order.
Now, I think there's a work around using the USPS shipping insurance check box, and not using this module at all. But that is a bad work around as it does not show the customer that they are being charged for the extra service.
Any help would be greatly appreciated!