Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Can't use download with s2Member
- This topic has 8 replies, 2 voices, and was last updated 13 years, 4 months ago by wzp.
-
AuthorPosts
-
July 11, 2011 at 4:08 am #3776journalinaboxMember
I am trying to set up a free download for Members Only in s2Member. I put in the shortcode for a fancy download and it looks fine, but when you click on it, it gives the error: Download file cannot be opened. Please let us know. Thank you!
I’m wondering if there is a different way I have to set up downloads to work withing s2Member?
Thanks!
Tonya
July 11, 2011 at 12:35 pm #34179wzpModeratorWP eStore –> Settings –> General please enable the debug logs and then try the download again. What are the last couple of lines in the download_manager_debug.log file?
July 11, 2011 at 4:18 pm #34180journalinaboxMemberI wasn’t sure how many lines you needed to see. Here are the last several.
[07/11/2011 4:15 PM] – Advisory : Forcing “Do Not Convert” option.
[07/11/2011 4:15 PM] – Status : Resolved DL file path = http://www.journalinabox.com/wp-content/uploads/2011/07/WRITE.pdf, http://www.journalinabox.com/wp-content/uploads/2011/06/20-Things-Journal-Does.pdf
[07/11/2011 4:15 PM] – Advisory : No DL file path conversion performed on URL.
[07/11/2011 4:15 PM] – Status : Dispatching DL method = 2
[07/11/2011 4:15 PM] – FAILURE : Error on fopen(‘http://www.journalinabox.com/wp-content/uploads/2011/07/WRITE.pdf, http://www.journalinabox.com/wp-content/uploads/2011/06/20-Things-Journal-Does.pdf’)
July 11, 2011 at 4:30 pm #34181wzpModeratorit would be helpful to have maybe 3 more lines above. But it looks like it is trying to open a file name that is made up of 2 URL that have been concatenated together. Does your product ID only have 1 URL?
July 11, 2011 at 5:23 pm #34182journalinaboxMemberThe three lines above are:
[07/11/2011 3:44 PM] – FAILURE : Error on fopen(‘http://www.journalinabox.com/wp-content/uploads/2011/07/WRITE.pdf, http://www.journalinabox.com/wp-content/uploads/2011/06/20-Things-Journal-Does.pdf’)
[07/11/2011 4:15 PM] – Status : Unresolved DL file path = http://www.journalinabox.com/wp-content/uploads/2011/07/WRITE.pdf, http://www.journalinabox.com/wp-content/uploads/2011/06/20-Things-Journal-Does.pdf
[07/11/2011 4:15 PM] – Warning : Invalid URL conversion target = /home2/journan4/public_html/wp-content/uploads/2011/07/WRITE.pdf, http://www.journalinabox.com/wp-content/uploads/2011/06/20-Things-Journal-Does.pdf
Ah, no. The product id set up here is to a package product with 2 URLs.
July 11, 2011 at 6:39 pm #34183wzpModeratorThere’s the problem…
You need 3 products; 1 for each of the 2 files, and 1 for the bundle. The product URL for the bundle should have the coma separated values of the 2 product ID in the bundle.
July 11, 2011 at 11:36 pm #34184journalinaboxMemberOkay. Thanks. So, this has to be done for a download link. I had this set up for an email with just the urls and it was working fine, but I see how the download link would be different.
July 11, 2011 at 11:51 pm #34185journalinaboxMemberThanks so much for your help!!!
July 12, 2011 at 12:30 am #34186wzpModerator -
AuthorPosts
- You must be logged in to reply to this topic.