WordPress.org

Ready to get started?Download WordPress

Forums

Easy Digital Downloads
[resolved] Customers receiving an "Internal Server Error" when attem (24 posts)

  1. recasper
    Member
    Posted 2 years ago #

    Installed the plugin last night and got everything exactly how I wanted. Attempted a couple of purchases through the service to make sure everything is working fine.

    Unfortunately when clicking through the link sent in the receipt, instead of downloading the file the customer is taken to a blank page with the following error content:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, support@ipage-inc.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    The file is a pdf of around 250MB (photobook)... and I have tried both pdf and zip format, but to no avail. Is this an error caused in the plugin, or in association with my iPage hosting.

    Any help would be greatly appreciated.

    http://wordpress.org/extend/plugins/easy-digital-downloads/

  2. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    Did you click the email from the purchase receipt or from the purchase/download history short codes?

  3. recasper
    Member
    Posted 2 years ago #

    Thanks for the reply, I clicked the download link given in the purchase receipt as per what the customers would have access too.

  4. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    If you go to Payment History and then click "Resend Purchase Receipt", does the link still result in error?

  5. recasper
    Member
    Posted 2 years ago #

    Yeah... I also did a test purchase about 4 times, and they all resulted in bringing up a page as if it would download... but eventually would stop and give the error page instead.

  6. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    Are you using the normal or variable pricing mode?

    Does your product have more than one source file for download?

    I'm trying to think of the different things that could possibly cause this . . .

  7. recasper
    Member
    Posted 2 years ago #

    Normal pricing and only one source file. A file of about 250MB...

    I appreciate the help greatly. This plugin is perfect for my needs... as long as I can get it to work ;-)

  8. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    Can you do a quick test with a small file, just to see if that makes a difference?

  9. recasper
    Member
    Posted 2 years ago #

    Looks like small files work fine. Its the big ones that sprout daisies before ever seeing the light of day.

  10. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    Two things:

    1. Do you have access to your php.ini file, and if so, can you show me the contents?

    2. Can please try adding the EDD_READ_FILE_MODE constant, as described here? http://easydigitaldownloads.com/docs/edd_read_file_mode/

  11. BlackNinjaEntertainment
    Member
    Posted 2 years ago #

    Trying to edit the font size of the cart text (Your Cart is Empty) and the Cart once a product is added......where can I change this font or add a font size....I tried the edd.css no go.......

  12. recasper
    Member
    Posted 2 years ago #

    Unfortunately I'm not sure where to access the php.ini file. I am sure I can as I have full hosting and domain access. If you have a suggestion as to where the common location for such a file is in root, I will get that for you.

    As for the EDD_READ.... constant. I tried adding that to my functions file. But to no avail.

  13. recasper
    Member
    Posted 2 years ago #

    Hmm... after a little research I may not be able to access the original since I host through iPage... If you have any advice on how to access it. Let me know. Thanks a million for your assistance.

  14. recasper
    Member
    Posted 2 years ago #

    I have access to my php.ini file... what specific areas would be of benefit, or would it be best for me to copy/paste it all in full?

  15. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    @BlackNinjaEntertainment please start a new thread instead of jumping in and changing the topic of this one.

    @recasper Can you please paste the complete contents of the file?

  16. BlackNinjaEntertainment
    Member
    Posted 2 years ago #

    I did...Sorry..did not pay attention to my location...

  17. recasper
    Member
    Posted 2 years ago #

    Sounds good. Here is the complete php.ini script [PHP]

    [Code moderated as per the Forum Rules. Please use the pastebin]

  18. recasper
    Member
    Posted 2 years ago #

    Sorry my previous post buggard up... Here is a "pastebin" link to the raw code.
    http://pastebin.com/mxLqxZuH

  19. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    Which version of PHP does your server run?

  20. recasper
    Member
    Posted 2 years ago #

    Currently 5.2...

  21. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    If I send you new code, can you replace a file? I'm really not sure what is causing this, but I have a couple of ideas.

  22. Kjow
    Member
    Posted 2 years ago #

    I have the same issue. With small files (few MB) it works, but with large files (~50MB) the server goes in loop e after some times it gives "Internal Server Error".

    One time, I read this error (with google Chrome): "ERR_INCOMPLETE_CHUNKED_ENCODING"

    I hope you could help me.
    Thank you!

    PS I don't have access to php.ini

  23. Kjow
    Member
    Posted 2 years ago #

    Solved!

    I followed this:
    http://easydigitaldownloads.com/docs/edd_read_file_mode/

    so I added at the top of functions.php this piece of code:

    define('EDD_READ_FILE_MODE', 'header');

    and it worked well :)

    Thank you for you great plugin!
    Kjow.net

  24. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    We're definitely still working out some kinks with the file download process, primarily with large files, but the define('EDD_READ_FILE_MODE', 'header'); does provide a temporary fix that works in most cases.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic