Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2015
    Location
    Hotchkiss, CO
    Posts
    15
    Plugin Contributions
    0

    Default Troubleshooting - checkout_confirmation - Step 3 of 3

    Hi Everyone,

    Could I possibly get another set of eyes. There seems to be something not closed on my checkout_confirmation page as the right sidebar and footer have gone missing. Any help spotting the problem would be most appreciated.

    ZC Version: 1.5.1
    Site: http://metimemelts.com/

    Problem - Step 3 of 3 (Checkout Confirmation)

    Thanks,
    Amanda

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,970
    Plugin Contributions
    96

    Default Re: Troubleshooting - checkout_confirmation - Step 3 of 3

    Look in your store's /logs folder; there will be a myDEBUG*.log file that identifies the source of the "partial whitescreen" issue.

  3. #3
    Join Date
    Feb 2015
    Location
    Hotchkiss, CO
    Posts
    15
    Plugin Contributions
    0

    Default Re: Troubleshooting - checkout_confirmation - Step 3 of 3

    The log shows me this:

    PHP Fatal error: Function name must be a string in /home/metime5/public_html/includes/modules/payment/paypal/paypal_functions.php on line 919

    So I look and the php file in that area says:

    // check subtotals
    if ((strval($optionsST['subtotal']) > 0 && strval($subTotalLI) > 0 && strval($subTotalLI) != strval($optionsST['subtotal'])) || strval($subTotalLI) - strval($sumOfLineItems) != 0) {
    $ipn_logging('getLineItemDetails 5', 'Line-item subtotals do not add up properly. Line-item-details skipped.' . "\n" . strval($sumOfLineItems) . ' ' . strval($subTotalLI) . ' ' . print_r(array_merge($optionsST, $optionsLI), true));
    $optionsLI = array();
    $optionsLI["item_name_0"] = MODULE_PAYMENT_PAYPAL_PURCHASE_DESCRIPTION_TITLE;
    $optionsLI["amount_0"] = $sumOfLineItems = $subTotalLI = $optionsST['subtotal'];
    }


    I'm not sure how to fix this.

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Troubleshooting - checkout_confirmation - Step 3 of 3

    Quote Originally Posted by amandarm View Post
    The log shows me this:

    PHP Fatal error: Function name must be a string in /home/metime5/public_html/includes/modules/payment/paypal/paypal_functions.php on line 919

    So I look and the php file in that area says:

    // check subtotals
    if ((strval($optionsST['subtotal']) > 0 && strval($subTotalLI) > 0 && strval($subTotalLI) != strval($optionsST['subtotal'])) || strval($subTotalLI) - strval($sumOfLineItems) != 0) {
    $ipn_logging('getLineItemDetails 5', 'Line-item subtotals do not add up properly. Line-item-details skipped.' . "\n" . strval($sumOfLineItems) . ' ' . strval($subTotalLI) . ' ' . print_r(array_merge($optionsST, $optionsLI), true));
    $optionsLI = array();
    $optionsLI["item_name_0"] = MODULE_PAYMENT_PAYPAL_PURCHASE_DESCRIPTION_TITLE;
    $optionsLI["amount_0"] = $sumOfLineItems = $subTotalLI = $optionsST['subtotal'];
    }


    I'm not sure how to fix this.
    This looks like a small typo/error/bug in the code.

    See the $ symbol that I've highlighted? Good. Just remove the $ and resave the file.

    Cheers
    RodG

    ps. Devs please take note. This 'bug' exists in V1.5.3 & 1.5.4 (haven't checked other versions)
    pss. I see that this is already known http://www.zen-cart.com/showthread.p...ome-major-Help
    Last edited by RodG; 13 Mar 2015 at 04:00 PM.

  5. #5
    Join Date
    Feb 2015
    Location
    Hotchkiss, CO
    Posts
    15
    Plugin Contributions
    0

    Default Re: Troubleshooting - checkout_confirmation - Step 3 of 3

    OMG...You're AWESOME!!! Thanks so much. My customer will be thrilled!!! :)

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,970
    Plugin Contributions
    96

    Default Re: Troubleshooting - checkout_confirmation - Step 3 of 3

    RodG beat me to it ...

  7. #7
    Join Date
    Feb 2015
    Location
    Hotchkiss, CO
    Posts
    15
    Plugin Contributions
    0

    Default Re: Troubleshooting - checkout_confirmation - Step 3 of 3

    You're awesome too...thanks for all ya'lls help. :)

  8. #8
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Troubleshooting - checkout_confirmation - Step 3 of 3

    Quote Originally Posted by amandarm View Post
    OMG...You're AWESOME!!!
    No more than many others around here. I just happened to be the 1st to respond, and I was only able to identify this because you'd already followed up on lat9's suggestion. :) Thanks anyway. :-)

    Quote Originally Posted by amandarm View Post
    Thanks so much. My customer will be thrilled!!! :)
    After reading the other thread (that I posted a link to), this problem would only occur if PayPal IPN was being used, so if you want to thrill your customer even more, I'd strongly suggest that you recommend they do away with IPN and use PayPal Express instead.

    PPE has *many* benefits over the somewhat obsolete IPN method (and no downside).

    Cheers
    RodG

 

 

Similar Threads

  1. v154 Step 3 Confirmation page loading the checkout_confirmation section twice
    By src1988 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 18 Mar 2016, 03:45 PM
  2. problems in troubleshooting
    By keneso in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 23 Mar 2015, 11:30 PM
  3. Troubleshooting
    By kkunda29 in forum Customization from the Admin
    Replies: 2
    Last Post: 4 Aug 2010, 04:17 AM
  4. Coupon Troubleshooting???
    By MagicMan in forum General Questions
    Replies: 3
    Last Post: 27 Aug 2009, 06:58 PM

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