Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2015
    Location
    Upper Hutt
    Posts
    13
    Plugin Contributions
    0

    Default Can't set shipping module

    Hi, I am trying to get Shipping working on a v2.0.1 site.

    I am getting the list of shipping modules but clicking on them does nothing. The "i" icon turns into an arrow but no I am not getting any error messages in Dev Tools either.

    Name:  shipping modules.jpg
Views: 548
Size:  34.2 KB

    Even though "Flat Rate" is shown as set, I still get a message saying "No Online Shipping Methods For This Address And Your Cart"

    What can I do?

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,398
    Plugin Contributions
    94

    Default Re: Can't set shipping module

    If that's a full screenshot, it looks like one of the shipping modules has created a PHP error. Either install Modules :: Plugins :: DisplayLogs to view or check the site's /logs directory for a myDEBUG-adm-*.log file ... either of which will let you (and us) know the details of what's going on.

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,310
    Plugin Contributions
    125

    Default Re: Can't set shipping module

    When you look at the right hand side of the image you posted, that's what a partial blank screen error looks like. As @lat9 said, this is caused by a PHP error. You can read more about this here:

    https://docs.zen-cart.com/user/troub...ng/blank_page/

    The debug log from the /logs folder will help you track this down - read more about it here:

    https://docs.zen-cart.com/user/troub...ng/debug_logs/
    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.

  4. #4
    Join Date
    Sep 2015
    Location
    Upper Hutt
    Posts
    13
    Plugin Contributions
    0

    Default Re: Can't set shipping module

    Great! Yes, there are lots of logs. What do I do now? Do you want me to copy and paste today's logs?

    Mostly it's

    [11-Sep-2024 11:15:35 Pacific/Auckland] Request URI: /mgmt/index.php?cmd=modules&set=shipping, IP address: 121.98.106.13, Language id 1
    #0 /home/somersets/public_html/mgmt/modules.php(230): zen_debug_error_handler()
    #1 /home/somersets/public_html/mgmt/index.php(16): require('/home/somersets...')
    --> PHP Warning: Undefined property: ups::$sort_order in /home/somersets/public_html/mgmt/modules.php on line 230.

    [11-Sep-2024 11:15:35 Pacific/Auckland] PHP Fatal error: Uncaught Error: Undefined constant "MODULE_SHIPPING_USPS_USERID" in /home/somersets/public_html/includes/languages/english/modules/shipping/usps.php:11
    Stack trace:
    #0 /home/somersets/public_html/includes/classes/ResourceLoaders/FilesLanguageLoader.php(39): include_once()
    #1 /home/somersets/public_html/includes/classes/ResourceLoaders/FilesLanguageLoader.php(22): Zencart\LanguageLoader\FilesLanguageLoader->loadFileDefineFile()
    #2 /home/somersets/public_html/includes/classes/ResourceLoaders/LanguageLoader.php(85): Zencart\LanguageLoader\FilesLanguageLoader->loadExtraLanguageFiles()
    #3 /home/somersets/public_html/mgmt/modules.php(169): Zencart\LanguageLoader\LanguageLoader->loadExtraLanguageFiles()
    #4 /home/somersets/public_html/mgmt/index.php(16): require('/home/somersets...')
    #5 {main}
    thrown in /home/somersets/public_html/includes/languages/english/modules/shipping/usps.php on line 11



    What's this about USPS btw? We're not in the US. How do I set that?

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,398
    Plugin Contributions
    94

    Default Re: Can't set shipping module

    It "sounds like" you've upgraded from an older version, rather than installed, Zen Cart 2.0.1.

    1. The ups.php shipping module no longer works and the files /includes/modules/shipping/ups.php and /includes/languages/english/modules/shipping/ups.php should be removed from the site.

    2. In the upgrade, you've left an older version of the usps.php shipping module, which has been updated to no longer "look for" its configuration if it's not enabled. The files /includes/modules/shipping/usps.php and /includes/languages/english/modules/shipping/usps.php should be removed from the site. Note, also, that the shipping module no longer ships as part of the Zen Cart base file-set.

    I'll note that this is likely "the tip of the iceberg", since you've likely uploaded the zc201 files over that pre-existing file-set. There are a ton of files from versions prior to zc201 whose function has been replaced and will wreck havoc with the zc201 site's operation.

  6. #6
    Join Date
    Sep 2015
    Location
    Upper Hutt
    Posts
    13
    Plugin Contributions
    0

    Default Re: Can't set shipping module

    Quote Originally Posted by lat9 View Post
    It "sounds like" you've upgraded from an older version, rather than installed, Zen Cart 2.0.1.

    1. The ups.php shipping module no longer works and the files /includes/modules/shipping/ups.php and /includes/languages/english/modules/shipping/ups.php should be removed from the site.
    Well, that certainly made a difference. Thanks! :)

    Quote Originally Posted by lat9 View Post
    I'll note that this is likely "the tip of the iceberg", since you've likely uploaded the zc201 files over that pre-existing file-set. There are a ton of files from versions prior to zc201 whose function has been replaced and will wreck havoc with the zc201 site's operation.
    Ouch. So... what's best? Delete the site (it's only a dev site anyway), and start again with a fresh copy of ZC?

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

    Default Re: Can't set shipping module

    You're looking to "rebuild" the site, starting with a fresh copy of only the zc201 files. See this Zen Cart documentation article for additional information: https://docs.zen-cart.com/user/upgra...led_upgrading/

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,310
    Plugin Contributions
    125

    Default Re: Can't set shipping module

    And for each plugin you want to add, check the Plugin Library for a new version that works with updated versions of Zen Cart.
    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.

 

 

Similar Threads

  1. I'd like to set up an expedited shipping module
    By hml_mike in forum Addon Shipping Modules
    Replies: 3
    Last Post: 12 Dec 2010, 10:47 PM
  2. How do I set up UPS shipping module?
    By Calvin Steiner in forum Built-in Shipping and Payment Modules
    Replies: 11
    Last Post: 19 Oct 2010, 05:15 AM
  3. UPS module: why can't I set uk or canada as shipping country of origin?
    By dialed-in in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 15 Mar 2010, 02:52 PM
  4. Can't set the CVV number in payment module
    By vanettda in forum General Questions
    Replies: 2
    Last Post: 17 Jul 2009, 01:11 AM

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