Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › File only parttially downloading
Tagged: corrupt
- This topic has 25 replies, 3 voices, and was last updated 14 years ago by wzp.
-
AuthorPosts
-
November 20, 2010 at 9:03 am #2262jimjamMember
My download is only 1.5mb but the cart will only deliver around 332kb of it. The file is good, it downloads and opens on the server in the normal way. but falls over when sold through the cart. Can anybody help, thanks
PHP Safe mode is off max_execution_time = 30
November 20, 2010 at 1:56 pm #26735wzpModeratorIs the problem only related to a certain file?
Are you using the PDF Stamper with the file in question?
Please create a test page, and place a free download button on it, that points to the product in question. That way, we can isolate problems related to the download from the cart.
Next, enable the debugging logs. After the failure, look in the download_manager_debug.log file for clues.
November 21, 2010 at 10:42 am #26736jimjamMemberThe problem occurs with all files
We are not using PDF Stamper
How do i make a product free, if i give it a 0.00 price it still routes via paypal who moan about getting no commission and won’t allow the sale to proceed
November 21, 2010 at 2:05 pm #26737wzpModeratorHi Jim,
If you want to “make a product free” then you would use one of the Free Download buttons. What happens is that instead of routing to PayPal, it immediately generates a download link.
Have you enabled the debugging and looked in the download_manager_debug.log file yet? Also, which version of eStore are you using? If your version is less than 4.6.x you may want to download the latest version.
https://support.tipsandtricks-hq.com/automatic-update-request
November 21, 2010 at 2:17 pm #26738jimjamMemberHi, I have made it free, in the price field it is 0.00 It is product no 2 this is my button code [wp_eStore:product_id:2:end]
but the button still takes me to paypal
Yes i have enable debugging
November 21, 2010 at 3:56 pm #26739jimjamMemberI have tried putting the file in different locations
tried Deleted the .passwd and .htaccess
Tried all the different download methods
All of my purchases end up the same way, the pdf download file is not the right size, it only downloads part of the file. When you try to open it the file reports. There was an error opening this document the file is damaged and could not be repaired.
Seen lots posts here where people have the same problem, they are asked for login details, but then no more posts are made on the thread, if a solution is out there no one is telling how they sorted it:-)
November 21, 2010 at 4:06 pm #26740jimjamMemberJust noticed something.
When I click on the ‘e-store’ link to the product in the sales email, if I save it, I get the partial download and corrupt file as outlined above, BUT if O click OPEN rather than save, the pdf opens Ok and then a “save as” is OK
:scratches head:
November 21, 2010 at 4:14 pm #26741wzpModeratorHi Jim,
It is not possible set a price to zero and not have it go to PayPal. If you want to offer a product for free,, use this button code instead:
[wp_eStore_download_now_button id=2]
There are many reasons for why your downloads are not working correctly. In order to find the correct reason, it is necessary to ask you some questions…
1. What version of eStore are you using?
2. Now that you have debugging enabled, what does the download_manager_debug.log file say, when you try to download a product?
November 21, 2010 at 5:05 pm #26742jimjamMemberHi
the version is 4.62
I do not have that file on my system I have “eStore_post_payment_debug.log” and “ipn_handle_debug.log” but they are both empty.
The test download is here http://www.motorhome-buyers-guide.com/test-download/
And it seems to work OK
November 21, 2010 at 6:05 pm #26743wzpModeratorOkay. So now that you are using the “free download” button, instead of a “buy now” button with a zero price; is the problem resolved? Or are you still having problems with downloads?
The reason you only found 2 log files is that you did not enable the debugging…
WP eStore -> Settings -> General Settings -> Testing and Debugging Settings -> Enable Debug -> Checked
November 21, 2010 at 6:20 pm #26744jimjamMemberHi and thanks,
Yes the free download is OK but as soon as you have to pay for them then files have the same patial download problem.
The debug is most definitley checked.
November 21, 2010 at 6:31 pm #26745wzpModeratorOk. So now we are trying to get the paid for files to work correctly.
It is necessary to understand that both the free download button and the buy now buttons use the same download logic. You have verified that the free download button works. That means the downloader itself is okay.
You need to set a price for the product and then see if it goes through all the steps properly. Please read this article and setup the PayPal Sandbox. Then see if your test sales go through okay…
http://www.tipsandtricks-hq.com/playing-in-paypals-sandbox-2880
November 21, 2010 at 7:48 pm #26746jimjamMemberback to post 1 on this thread.
Purchase through paypal and the file is a partial download 240k out of 1.6mb
Still no download_manager_debug.log exists on my server, it is checked.
November 21, 2010 at 10:37 pm #26747wzpModeratorSomething is not right, if you have “Enable Debugging” checked and there are no log files, of any kind being recorded. Amin is going to have to look at your system.
November 22, 2010 at 1:25 am #26748amin007ParticipantOne of the reasons for debug not being written in the file is wrong file permission configuration on the server. You can temporarily set the permission of the “log” files (eg. download_manager_debug.log) to “777” then generate a download link from the “Admin Functions” menu and use the encrypted link to download the file. If you can see debug information after the permission change then that proves that you do have file permission configuration issue on your server.
-
AuthorPosts
- You must be logged in to reply to this topic.