jimdanforth Posted May 26, 2023 Share Posted May 26, 2023 I did not make any changes other than adding attributes to some products and now my UPS module is not responding. No rates at all. Different product doesnt change results, nor address. Was working just a couple of days ago (before I went live of course) Quote Link to comment Share on other sites More sharing options...
jimdanforth Posted May 27, 2023 Author Share Posted May 27, 2023 I also tried the personal rate (I do have an API key) and if enabled, it causes any page that should display a rate to fail with the "contact us if you see this page" message Quote Link to comment Share on other sites More sharing options...
jimdanforth Posted May 27, 2023 Author Share Posted May 27, 2023 error log does have entries: 2023-05-26 19:43:26 [129.222.(removed)][72][-][warning][PHP8Warning] Undefined array key "reset_static_product_prices_cache" at /home/(removed)/osc/lib/common/models/Product/Price.php:335 2023-05-26 19:43:26 [129.222.(removed)][72][-][warning][PHP8Warning] Undefined array key "reset_static_product_prices_cache" at /home/(removed)/osc/lib/common/classes/shopping_cart.php:1526 2023-05-26 19:43:26 [129.222.(removed)][72][-][warning][PHP8Warning] Undefined array key "reset_static_product_prices_cache" at /home/(removed)/osc/lib/common/classes/shopping_cart.php:1526 2023-05-26 19:43:26 [129.222.(removed)][72][-][warning][PHP8Warning] Undefined array key "reset_static_product_prices_cache" at /home/(removed)/osc/lib/common/classes/shopping_cart.php:1526 2023-05-26 19:43:27 [129.222.(removed)][72][-][warning][application] ups: cant get quotes: 'error' Quote Link to comment Share on other sites More sharing options...
pandrei Posted May 27, 2023 Share Posted May 27, 2023 It seems that starting after May 23, 2023, the old API for UPS rates stopped working. Try to use Personal Rate UPS Shipping module. The XML API will require valid ups.com developer credentials. Specifically you'll need a username, password, and access key. You'll plug these into the extension's settings. Quote Link to comment Share on other sites More sharing options...
jimdanforth Posted May 27, 2023 Author Share Posted May 27, 2023 I tried that module as stated above and it gave the contact us error. I do have ups key in place. Quote Link to comment Share on other sites More sharing options...
jimdanforth Posted May 30, 2023 Author Share Posted May 30, 2023 @pandrei The personal rates also crashes with "please contact us if you see this page" The error log has the entry: ups: disabled because of wrong zone I have tried all 3 available in the backend, but I suspect its a UPS zone, not an oscommerce one. Quote Link to comment Share on other sites More sharing options...
pandrei Posted May 31, 2023 Share Posted May 31, 2023 The module has some issues, we will release the updated version soon. Quote Link to comment Share on other sites More sharing options...
D.M. Posted August 10, 2023 Share Posted August 10, 2023 I am running 4.12 and I just flushed the chaches. I now get this error in several places. Warning: Undefined array key "reset_static_product_prices_cache" in /var/www/html/oscommerce4/lib/common/classes/shopping_cart.php on line 1526please contact us if you see this page I can't see anywhere in the code that this is set. Is it in a database table somewhere?? Quote Link to comment Share on other sites More sharing options...
MrPhil Posted September 23, 2023 Share Posted September 23, 2023 You may be able to get past the "please contact us" message: check and install the PHP module "fileinfo" on your server's control panel and see if that clears that up. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.