Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26
  1. #21
    Join Date
    Mar 2005
    Location
    United Kingdom
    Posts
    608
    Plugin Contributions
    0

    Default Re: DeBug-Log file created on every order for Malformed value for session-based shipp

    Quote Originally Posted by lat9 View Post
    What shipping modules are enabled?
    Just Advanced Shipper on my site.

  2. #22
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,699
    Plugin Contributions
    123

    Default Re: DeBug-Log file created on every order for Malformed value for session-based shipp

    Quote Originally Posted by twitchtoo View Post
    Debug Log:
    [18-May-2021 02:23:21 America/Chicago] PHP Notice: Malformed value for session-based shipping module; customer will need to re-select: false in includes/classes/order.php on line 327
    Suggested fix at least for this variant of the issue:

    https://github.com/zencart/zencart/pull/4829
    That Software Guy. My Store: Zen Cart Modifications
    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.

  3. #23
    Join Date
    Apr 2019
    Posts
    244
    Plugin Contributions
    0

    Default Re: DeBug-Log file created on every order for Malformed value for session-based shipp

    Update: Unfortunately, I still received another debug log after I used the fix mentioned above. This log is triggered by the table.php. I'm using the table.php based on version $Id: DrByte 2020 Sep 29 Modified in v1.5.7a (from zc 1.57d). This issue is intermitted. Typically I will receive one log once per month or so.

    [12-Jul-2022 11:12:32 America/New_York] PHP Notice: Malformed value for session-based shipping module; customer will need to re-select: {"id":"","title":"Table Rate (Best Way)","cost":76.9899999999999948840923025272786617279052734375} in /public_html/includes/classes/order.php on line 324

    Line 324 is the following:
    trigger_error('Malformed value for session-based shipping module; customer will need to re-select: ' . json_encode($_SESSION['shipping']), E_USER_NOTICE);

    My site (v1.57d) doesn't offer free shipping option.

    The shipping methods my site offers are the following:

    fedexwebservices
    storepickup
    table
    usps

    Here are the payment methods:
    paypal express
    paypal payment pro

    I'm currently using OPC plug-in, but I still received this intermittent issue before I installed OPC.

  4. #24
    Join Date
    Apr 2019
    Posts
    244
    Plugin Contributions
    0

    Default Re: DeBug-Log file created on every order for Malformed value for session-based shipp

    Update. I just noticed that zc 1.5.8 Alpha was just released. I uploaded the table.php file from it to my site (direct link). It seems working without log files, and I will report if this issue happens again.

  5. #25
    Join Date
    Apr 2019
    Posts
    244
    Plugin Contributions
    0

    Default Re: DeBug-Log file created on every order for Malformed value for session-based shipp

    One more update. Today I received the same error again. So the table.php from zc 1.5.8 Alpha does not fix this intermittent issue.

  6. #26
    Join Date
    Aug 2013
    Location
    Perth, WA, AU
    Posts
    171
    Plugin Contributions
    3

    Default Re: DeBug-Log file created on every order for Malformed value for session-based shipp

    I'm guessing this is a dead issue, but I'll report anyway.

    Just upgraded from 156 to 157d and am getting this error.

    It occurs regularly and is triggered by two possibilities.

    BTW my options are store pickup and zipship.

    If the customer changes the address to successfully make zipship an option then I get the error.

    Or if I select store pickup, then press continue, the error is also then triggered.

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. v155 Log files being created every couple of minutes
    By Congerman in forum General Questions
    Replies: 12
    Last Post: 17 Feb 2019, 05:22 PM
  2. v151 How to debug when NO ERROR LOG file created?
    By Jeff_Mash in forum General Questions
    Replies: 8
    Last Post: 24 Jan 2014, 10:50 PM
  3. Shipping Costs based on Total Value for individual cartons
    By sivivatu in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 1 Jun 2009, 05:37 PM
  4. Where is the log file when you set Debug Mode to "Log File"?
    By alicia1234 in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 1 Feb 2009, 12:05 AM
  5. Create a text file for every order
    By ryudice in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 May 2008, 05:46 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