Page 23 of 44 FirstFirst ... 13212223242533 ... LastLast
Results 221 to 230 of 440
  1. #221
    Join Date
    Sep 2017
    Location
    Raleigh, NC, United States
    Posts
    73
    Plugin Contributions
    0

    Default Re: USPS Shipping Module [Support Thread]

    I turned debug on in the module and did not get any new logs generated in my /logs in my store

  2. #222
    Join Date
    Sep 2017
    Location
    Raleigh, NC, United States
    Posts
    73
    Plugin Contributions
    0

    Default Re: USPS Shipping Module [Support Thread]

    Here were some logs around the time of the issues earlier though - not sure why UPS is showing up when I'm not using that module

    [13-Feb-2023 22:49:47 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; usps has a deprecated constructor in /home3/tlal/public_html/store/includes/modules/shipping/usps.php on line 16


    [13-Feb-2023 22:49:54 UTC] Request URI: /store/index.php?main_page=checkout_shipping, IP address: ##.##.##.##
    #1 each() called at [/home3/tlal/public_html/store/includes/modules/shipping/usps.php:391]
    #2 usps->_getQuote() called at [/home3/tlal/public_html/store/includes/modules/shipping/usps.php:184]
    #3 usps->quote() called at [/home3/tlal/public_html/store/includes/classes/shipping.php:174]
    #4 shipping->quote() called at [/home3/tlal/public_html/store/includes/modules/pages/checkout_shipping/header_php.php:184]
    #5 require(/home3/tlal/public_html/store/includes/modules/pages/checkout_shipping/header_php.php) called at [/home3/tlal/public_html/store/index.php:35]
    --> PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home3/tlal/public_html/store/includes/modules/shipping/usps.php on line 391.


    [13-Feb-2023 22:39:34 UTC] Request URI: /store/zcadmin/index.php?cmd=modules&set=shipping&module=usps, IP address: ##.##.##.##
    #1 ups->ups() called at [/home3/tlal/public_html/store/zcadmin/modules.php:204]
    #2 require(/home3/tlal/public_html/store/zcadmin/modules.php) called at [/home3/tlal/public_html/store/zcadmin/index.php:11]
    --> PHP Warning: Use of undefined constant MODULE_SHIPPING_UPS_SORT_ORDER - assumed 'MODULE_SHIPPING_UPS_SORT_ORDER' (this will throw an Error in a future version of PHP) in /home3/tlal/public_html/store/includes/modules/shipping/ups.php on line 61.

    [13-Feb-2023 22:39:34 UTC] Request URI: /store/zcadmin/index.php?cmd=modules&set=shipping&module=usps, IP address: ##.##.##.##
    #1 ups->ups() called at [/home3/tlal/public_html/store/zcadmin/modules.php:204]
    #2 require(/home3/tlal/public_html/store/zcadmin/modules.php) called at [/home3/tlal/public_html/store/zcadmin/index.php:11]
    --> PHP Warning: Use of undefined constant MODULE_SHIPPING_UPS_TAX_CLASS - assumed 'MODULE_SHIPPING_UPS_TAX_CLASS' (this will throw an Error in a future version of PHP) in /home3/tlal/public_html/store/includes/modules/shipping/ups.php on line 63.

    [13-Feb-2023 22:39:34 UTC] Request URI: /store/zcadmin/index.php?cmd=modules&set=shipping&module=usps, IP address: ##.##.##.##
    #1 ups->ups() called at [/home3/tlal/public_html/store/zcadmin/modules.php:204]
    #2 require(/home3/tlal/public_html/store/zcadmin/modules.php) called at [/home3/tlal/public_html/store/zcadmin/index.php:11]
    --> PHP Warning: Use of undefined constant MODULE_SHIPPING_UPS_TAX_BASIS - assumed 'MODULE_SHIPPING_UPS_TAX_BASIS' (this will throw an Error in a future version of PHP) in /home3/tlal/public_html/store/includes/modules/shipping/ups.php on line 64.

    [13-Feb-2023 22:39:34 UTC] Request URI: /store/zcadmin/index.php?cmd=modules&set=shipping&module=usps, IP address: ##.##.##.##
    #1 ups->ups() called at [/home3/tlal/public_html/store/zcadmin/modules.php:204]
    #2 require(/home3/tlal/public_html/store/zcadmin/modules.php) called at [/home3/tlal/public_html/store/zcadmin/index.php:11]
    --> PHP Warning: Use of undefined constant MODULE_SHIPPING_UPS_STATUS - assumed 'MODULE_SHIPPING_UPS_STATUS' (this will throw an Error in a future version of PHP) in /home3/tlal/public_html/store/includes/modules/shipping/ups.php on line 68.

  3. #223
    Join Date
    Sep 2017
    Location
    Raleigh, NC, United States
    Posts
    73
    Plugin Contributions
    0

    Default Re: USPS Shipping Module [Support Thread]

    I removed the old UPS module I had in there since I don't ship that service.

  4. #224
    Join Date
    Sep 2017
    Location
    Raleigh, NC, United States
    Posts
    73
    Plugin Contributions
    0

    Default Re: USPS Shipping Module [Support Thread]

    2021-05-05 K11a sort of works. I used media mail as a test and it worked fine. Then I added priority mail and first class and the weight would make first class not show up but priority doesn't. Going to up-rev it until I get something working better I guess.

  5. #225
    Join Date
    Sep 2017
    Location
    Raleigh, NC, United States
    Posts
    73
    Plugin Contributions
    0

    Default Re: USPS Shipping Module [Support Thread]

    Sorry for so many posts. A, C and I'm staying on E works. F and G both give me the 500 error.

  6. #226
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,375
    Plugin Contributions
    94

    Default Re: USPS Shipping Module [Support Thread]

    Quote Originally Posted by wcbutler View Post
    Here were some logs around the time of the issues earlier though - not sure why UPS is showing up when I'm not using that module

    [13-Feb-2023 22:49:47 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; usps has a deprecated constructor in /home3/tlal/public_html/store/includes/modules/shipping/usps.php on line 16


    [13-Feb-2023 22:49:54 UTC] Request URI: /store/index.php?main_page=checkout_shipping, IP address: ##.##.##.##
    #1 each() called at [/home3/tlal/public_html/store/includes/modules/shipping/usps.php:391]
    #2 usps->_getQuote() called at [/home3/tlal/public_html/store/includes/modules/shipping/usps.php:184]
    #3 usps->quote() called at [/home3/tlal/public_html/store/includes/classes/shipping.php:174]
    #4 shipping->quote() called at [/home3/tlal/public_html/store/includes/modules/pages/checkout_shipping/header_php.php:184]
    #5 require(/home3/tlal/public_html/store/includes/modules/pages/checkout_shipping/header_php.php) called at [/home3/tlal/public_html/store/index.php:35]
    --> PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home3/tlal/public_html/store/includes/modules/shipping/usps.php on line 391.

    ...
    I have no idea what version of USPS you're using here, but the now-current version (K11g) has no such usage.

  7. #227
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,375
    Plugin Contributions
    94

    Default Re: USPS Shipping Module [Support Thread]

    Quote Originally Posted by wcbutler View Post
    Sorry for so many posts. A, C and I'm staying on E works. F and G both give me the 500 error.
    If you've got a "Server 500" error, there's a log waiting patiently for you to read in the site's /logs sub-directory. Without knowing what the error is, it's like shooting in the dark.

  8. #228
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,375
    Plugin Contributions
    94

    Default Re: USPS Shipping Module [Support Thread]

    2023-02-14 K11h is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1292

    I thought I'd released this a week ago, but the corrections here are most likely the source of the "Server 500" error posted by @wcbutler.

    This version corrects the following GitHub issues:

    #32: USPS 'cheapest' quotes aren't selected; quotes need to be public.
    #31: K11g won't auto-update from K11f

  9. #229
    Join Date
    Nov 2014
    Location
    Athens, GA
    Posts
    25
    Plugin Contributions
    0

    Default Re: USPS Shipping Module [Support Thread]

    K11h fixed the issue I was having (here: https://www.zen-cart.com/showthread....out-inoperable ), so thank you!

    Is it safe to doctor the usps.php file to disable media mail for certain product categories? That was what started my issue last night. I have done this with prior versions of the file but don't want to mess with it if it will break, obviously.

  10. #230
    Join Date
    Nov 2014
    Location
    Athens, GA
    Posts
    25
    Plugin Contributions
    0

    Default Re: USPS Shipping Module [Support Thread]

    Quote Originally Posted by dalecooper View Post
    K11h fixed the issue I was having (here: https://www.zen-cart.com/showthread....out-inoperable ), so thank you!

    Is it safe to doctor the usps.php file to disable media mail for certain product categories? That was what started my issue last night. I have done this with prior versions of the file but don't want to mess with it if it will break, obviously.
    Just FYI, I took a stab at this and it seems to be working, and didn't break my checkout process again. So we're back in business. The code that needs modifying has altered slightly in K11h but it seems you can change it TO the same thing as before. Sorry for vagueness--anyone who wants more explicit info, feel free to ask.

 

 
Page 23 of 44 FirstFirst ... 13212223242533 ... LastLast

Similar Threads

  1. MultiSite Module Support Thread
    By Gerome in forum All Other Contributions/Addons
    Replies: 2237
    Last Post: 9 May 2025, 03:20 AM
  2. Optional Shipping Insurance Module [Support Thread]
    By jettrue in forum Addon Shipping Modules
    Replies: 414
    Last Post: 20 Mar 2025, 01:39 PM
  3. Replies: 29
    Last Post: 24 Sep 2014, 09:59 PM
  4. Replies: 335
    Last Post: 1 Aug 2013, 08:54 PM
  5. PC Configurator Module [Support Thread]
    By lebrand2006 in forum All Other Contributions/Addons
    Replies: 254
    Last Post: 22 Aug 2012, 03:52 PM

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