Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Download not working
- This topic has 6 replies, 3 voices, and was last updated 13 years, 10 months ago by cathyscott.
-
AuthorPosts
-
February 28, 2011 at 10:08 pm #2833cathyscottMember
I am new to eStore and trying to set up digital downloads. The email with encrypted link is generated fine but when I click on the link the downloads a) take a long… time b) when they do finally happen the file has size 0k.
I have read the help pages here and answers to other similar issues here on the forum and have tried the following so far;-
1) Downloading the file using the direct url. This works fine.
2) Deleting .htaccess from the downloads directory inside the wp-cart-for-digital-products directory. .htpasswrd was not there. Deleteing .htaccess made no difference.
3) Manually generating an encrypted link. This also failed.
4) Removing spaces from all the filenames. I’ve double checked and I’m sure that thre are none.
5) Turning on debug and checking the messages in the download manager log. Here there are messages that download method 7 is being used. I have gone into AddOn settings option – here it is set to download method=1 so the download method 7 seems to be turned on for my server.
6) Since the download method 7 (cURL) requires the “Do Not Convert” Automatic URL Conversion Preference I set this to Do Not Convert. I also double checked that fully qualified URLs are used. The original problem still exists.
Now I am not sure what further avenues I can explore or settings to change and would welcome your help.
As it stands at present I can not get any downloads working from my store at all.
Thanks in advance.
March 1, 2011 at 12:59 am #29671amin007ParticipantMethod 7 should only get used if your server do not have the PHP fopen functionality enabled.
Don’t use method 7. Just go through the other download methods explained here:
https://support.tipsandtricks-hq.com/forums/topic/wp-estore-download-methods
Try one of the following values for the “Automatic URL Conversion Preference”
– Absolute
– Relative
Generate an encrypted link from the “Admin Functions” menu then change the download method settings and try the download.
Let me know your result.
March 1, 2011 at 1:04 am #29672cathyscottMemberI did try the other download methods though. The default method is method 1 and this is the initial setting. However, even though the download was set to method 1, the log reports showed that it was using method 7. I have tried changing the download methods but the log reports always shows it using download method 7.
I reset the log reports every time I am testing it so I am sure of this.
March 1, 2011 at 1:23 am #29673amin007ParticipantOkay good. Did you have the “Automatic URL Conversion Preference” set to absolute?
March 1, 2011 at 2:20 pm #29674cathyscottMemberSo I am trying again with the following settings;-
Automatic URL Conversion Preference: (Default) Absolute
Download method : (Default) 1
I have the same problem(file taking forever to download and when it does it is empty).
Below is the download manager log file output. There is an unresolved DL file path and invalid URL conversion target. However the download from the url works fine.
Any idea on how to debug this would be very welcome and thank you for your help so far..
[03/01/2011 2:07 PM] – Status : Unresolved DL file path = http://www.stitchmastery.com/wp-content/uploads/2011/02/WindowsInstaller.pdf
[03/01/2011 2:07 PM] – Warning : Invalid URL conversion target = /etc/httpd/htdocs/wp-content/uploads/2011/02/WindowsInstaller.pdf
[03/01/2011 2:07 PM] – Advisory : Forcing “Do Not Convert” option.
[03/01/2011 2:07 PM] – Status : Resolved DL file path = http://www.stitchmastery.com/wp-content/uploads/2011/02/WindowsInstaller.pdf
[03/01/2011 2:07 PM] – Advisory : No DL file path conversion performed on URL.
[03/01/2011 2:07 PM] – Advisory : URL aware fropen() disabled, forcing cURL…
[03/01/2011 2:07 PM] – Status : Dispatching DL method = 7
[03/01/2011 2:14 PM] – FAILURE : DL failure: http://www.stitchmastery.com/wp-content/uploads/2011/02/WindowsInstaller.pdf
March 1, 2011 at 3:22 pm #29675wzpModeratorHave you tried URL preference = Relative, and DL Method – 1?
The log file is saying…
1. Absolute preference is not working.
2. Since Absolute is not working, it is trying “Do not convert.”
3. Your server is running in PHP Safe Mode.
4. Which does not work with the “Do not convert” preference on DL Method 1.
5. So, it is trying to use Method 7 instead.
6. Which is not working.
7. So it just plain gave up!
So, if you could please; reset the debug logs, swith to Relative URL conversion preference, and DL Method 1, then try again.
March 2, 2011 at 7:48 pm #29676cathyscottMemberThank you very much for your help and suggestions. I will try these.
-
AuthorPosts
- You must be logged in to reply to this topic.