OK, this is bugging me. In the Developers Tool Kit, what shows for the database setting MODULE_SHIPPING_UPSOAUTH_HANDLING_APPLIES?
OK, this is bugging me. In the Developers Tool Kit, what shows for the database setting MODULE_SHIPPING_UPSOAUTH_HANDLING_APPLIES?
Thanks for that as it confirms my suspicion.
Let's try changing this section
to readCode:case '1.1.0': $db->Execute( 'INSERT IGNORE INTO ' . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Fixed Handling Fee, Order or Box?', 'MODULE_SHIPPING_UPSOAUTH_HANDLING_APPLIES', 'Order', 'If the handling fee is a <em>fixed amount</em>, should it be applied once per order (the default) or for every box?', 6, 0, NULL, 'zen_cfg_select_option([\'Order\', \'Box\'], ', now())" );
Code:case '1.1.0': case '1.2.0': case '1.2.1': $db->Execute( 'INSERT IGNORE INTO ' . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Fixed Handling Fee, Order or Box?', 'MODULE_SHIPPING_UPSOAUTH_HANDLING_APPLIES', 'Order', 'If the handling fee is a <em>fixed amount</em>, should it be applied once per order (the default) or for every box?', 6, 0, NULL, 'zen_cfg_select_option([\'Order\', \'Box\'], ', now())" ); break; //- END OF AUTOMATIC UPDATE CHECKS!
I think that worked. The error is gone and I am getting notified of the new upgrade. Testing the module I am getting shipping rates.
I do plan to upgrade but this was done with v1.2.0
Thank you
v1.2.2 of the shipping module is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2374
This release contains changes associated with GitHub issue #20, the 'naggy' message on upgrades.
Last edited by Bubbadood; 26 Oct 2023 at 06:47 PM. Reason: add context
I was a shy, quiet kid. I was happiest playing by myself with my toys, rather than hanging around people.
-- Christian Slater
Also FYI adding the following code to line 94 removes the error:
Same procedure you recommended in prior versions.Code:case '1.2.2':
I was a shy, quiet kid. I was happiest playing by myself with my toys, rather than hanging around people.
-- Christian Slater
Thanks for posting this required change to includes/modules/shipping/upsoauth.php line 94, @Bubbadood.
Confirmed.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Perhaps an even easier solution would be to add a default case at this line. That way new versions wouldn't need to be added each time until there was another database change.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Bookmarks