Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Checkout blank: Failed opening 'includes/modules/shipping/usps.php'

    White screen occurs whether it is a free item or for fee item

    156b obtained using zc download link
    install w/demo data
    drop all tables
    import db backup of live site
    rerun zc_install


    navigate to free product
    add to cart
    click checkout
    sign in
    completely blank page is returned
    view source: completely blank

    zc log folder
    myDEBUG
    Code:
    [21-Jun-2019 18:33:52 UTC] Request URI: /index.php?main_page=checkout_payment, IP address: 98.146.164.107
    #1  include_once() called at [/home/srevcinf/public_html/includes/classes/shipping.php:63]
    #2  shipping->__construct() called at [/home/srevcinf/public_html/includes/modules/pages/checkout_payment/header_php.php:97]
    #3  require(/home/srevcinf/public_html/includes/modules/pages/checkout_payment/header_php.php) called at [/home/srevcinf/public_html/index.php:36]
    --> PHP Warning: include_once(includes/modules/shipping/usps.php): failed to open stream: No such file or directory in /home/srevcinf/public_html/includes/classes/shipping.php on line 63.
    
    [21-Jun-2019 18:33:52 UTC] Request URI: /index.php?main_page=checkout_payment, IP address: 98.146.164.107
    #1  include_once() called at [/home/srevcinf/public_html/includes/classes/shipping.php:63]
    #2  shipping->__construct() called at [/home/srevcinf/public_html/includes/modules/pages/checkout_payment/header_php.php:97]
    #3  require(/home/srevcinf/public_html/includes/modules/pages/checkout_payment/header_php.php) called at [/home/srevcinf/public_html/index.php:36]
    --> PHP Warning: include_once(): Failed opening 'includes/modules/shipping/usps.php' for inclusion (include_path='.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/srevcinf/public_html/includes/classes/shipping.php on line 63.
    
    [21-Jun-2019 18:33:52 UTC] PHP Fatal error:  Uncaught Error: Class 'usps' not found in /home/srevcinf/public_html/includes/classes/shipping.php:64
    Stack trace:
    #0 /home/srevcinf/public_html/includes/modules/pages/checkout_payment/header_php.php(97): shipping->__construct(Array)
    #1 /home/srevcinf/public_html/index.php(36): require('/home/srevcinf/...')
    #2 {main}
      thrown in /home/srevcinf/public_html/includes/classes/shipping.php on line 64
    
    [21-Jun-2019 18:33:52 UTC] Request URI: /index.php?main_page=checkout_payment, IP address: 98.146.164.107
    --> PHP Fatal error: Uncaught Error: Class 'usps' not found in /home/srevcinf/public_html/includes/classes/shipping.php:64
    Stack trace:
    #0 /home/srevcinf/public_html/includes/modules/pages/checkout_payment/header_php.php(97): shipping->__construct(Array)
    #1 /home/srevcinf/public_html/index.php(36): require('/home/srevcinf/...')
    #2 {main}
      thrown in /home/srevcinf/public_html/includes/classes/shipping.php on line 64.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Free item cannot checkout (white screen)

    Looks like your database had configured a USPS module to be used, but your server is missing the module files for that addon.

    You can update the admin config by visiting the admin Shipping Modules page, which will reset the cached list of modules it attempts to load on the checkout page.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: Free item cannot checkout (white screen)

    TNX DrByte,

    Yep, I forgot to install USPS & Fedex. Now to go through the ritual of ininstalling, reinstalling and resetup of the shipping and payment modules.

    TNX again. On to continuing the process of making sure things still function after a db upgrade from a previous version.



    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

 

 

Similar Threads

  1. Replies: 10
    Last Post: 12 Sep 2010, 11:06 AM
  2. Failed opening required '[admin]/includes/application_top.php'
    By WetSteve in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 16 Apr 2009, 05:03 AM
  3. Fatal Error: Failed opening required 'includes/application_top.php'
    By WeebleSue in forum Installing on a Linux/Unix Server
    Replies: 18
    Last Post: 24 Oct 2007, 03:38 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