Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2008
    Posts
    1
    Plugin Contributions
    0

    Default unable finalize checkout. Warning: fread(): Length parameter must be greater than 0

    I am having problems with my site. I am getting an error of the final confirm where it sends it to e-mail. This is what I get.

    Warning: fread(): Length parameter must be greater than 0. in /html/includes/functions/functions_email.php on line 344

    Warning: fread(): Length parameter must be greater than 0. in /html/includes/functions/functions_email.php on line 344

    Warning: Cannot modify header information - headers already sent by (output started at /html/includes/functions/functions_email.php:344) in /html/includes/functions/functions_general.php on line 44

    Help please
    Last edited by mytinymarket; 30 Jan 2008 at 05:54 PM.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: unable to finalize check out.

    What version of Zen Cart are you using?
    What addons/contributions do you have installed?
    What are your settings in Admin->Configuration->Email Options?
    .

    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
    Jan 2008
    Location
    Coeur d'Alene, Idaho
    Posts
    10
    Plugin Contributions
    0

    Default Re: unable finalize checkout. Warning: fread(): Length parameter must be greater than

    I am using version 1.3.7.1, with no addons. My email confirmation goes through fine, however I am getting this error also when I click the continue checkout button on the main_page=checkout_payment after selecting the Check/Money order radio button:
    "Warning: Cannot modify header information - headers already sent by (output started at /public_html/includes/languages/english/modules/payment/moneyorder.php:53) in /public_html/includes/functions/functions_general.php on line 44."
    Line 44 in functions_general.php reads:" header('Location: ' . $url);"
    Help would be very much appreciated! Thank you.

  4. #4
    Join Date
    Jan 2008
    Location
    Coeur d'Alene, Idaho
    Posts
    10
    Plugin Contributions
    0

    Default Re: unable finalize checkout. Warning: fread(): Length parameter must be greater than

    Yippee! I found the answer here: https://www.zen-cart.com/tutorials/index.php?article=87
    It merely involved deleting a blank line from the end of the file! Whew!
    Thank you!

 

 

Similar Threads

  1. v138a PHP Warning: fread() : Length parameter must be greater than 0 ...
    By Danielle in forum General Questions
    Replies: 7
    Last Post: 26 Oct 2013, 01:23 AM
  2. Price To must be greater than or equal to Price From
    By CaroleAs in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 15 Feb 2009, 10:25 PM
  3. Show qty in stock if greater than 0
    By kbalona in forum Basic Configuration
    Replies: 5
    Last Post: 19 Sep 2008, 10:16 PM
  4. Please enter an amount greater than zero....
    By 2scrappychixdesigns in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 30 Dec 2006, 04:23 AM

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