Tips and Tricks HQ Support Portal › Forums › WP PDF Stamper › Stamped PDF takes too long for user to download
- This topic has 5 replies, 4 voices, and was last updated 13 years, 2 months ago by admin.
-
AuthorPosts
-
September 9, 2011 at 3:17 pm #4276porcelynneMember
I’ve had two purchases made since I installed the Stamper. Both have sent me messages that they weren’t able to download it and it gave them an error. Once complained that they purchased 2 different downloads and when they actually got them, they were the same.
I think that it is taking too long to download the PDFs and they are hitting refresh or clicking on the link again which isn’t allowing the file to download properly. Is there anything I can do about it? I obviously can’t help impatient people.
If I can’t change the time it takes to download it, can I change the file not to be stamped and just have a password using their email address to open? Would this take any less time to download?
Any ideas are appreciated.
September 9, 2011 at 9:42 pm #36456vfontjrMemberI’m stamping a 400+ page file and it takes less than 10 seconds. Something might not be configured right.
September 9, 2011 at 11:49 pm #36457wzpModeratorStamping take place BEFORE the download links are created. I suspect it’s really a download issue. Please enable the debug logs and check the download_manager_debug.log file. It will probably show that the download script is being prematurely terminated.
September 10, 2011 at 1:11 am #36458adminKeymasterI agree with wzp, so first make sure that the encrypted download is working fine.
Aside from that, there is one other thing that you can do to help the PDF Stamper with the stamping process which is to turn on caching for the PDF stamper. Open the “wp_pdf_stamp.php” file and search for the following line of code:
define('WP_PDF_STAMP_USE_CACHE', "0");
Once you find it change it to the following:
define('WP_PDF_STAMP_USE_CACHE', "1");
Just make sure to clean the cache out every now and them from the “Manage Stamped Files” menu if you end up using this option.
September 10, 2011 at 3:18 pm #36459porcelynneMemberI’ll try both of these. They even took a long time to download when I made a purchase. I think the user is getting impatient, keeps clicking the link and then it expires, which I then have to send them the file, which defeats the purpose of the automatic download. Maybe I should just remove the expiring number of downloads. Then when their impatience calms down, they can actually download it.
Thanks. I hope this works. I also just added to the email that it may take up to a minute to download, so be patient and don’t hit refresh.
You know what would be perfect? The blank page that comes up before the download is loaded should read, “this will take a minute” or maybe a pop up that says it. Just an idea.
September 11, 2011 at 12:40 am #36460adminKeymasterIt should fetch the download within a few seconds unless your server is taking some time for the script to process (can happen on an overpopulated shared hosting account). What kind of hosting plan do you have?
-
AuthorPosts
- You must be logged in to reply to this topic.