Community Support Forums — WordPress® ( Users Helping Users ) — 2012-02-02T13:59:26-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=17096 2012-02-02T13:59:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17096&p=62162#p62162 <![CDATA[Re: secure folder isn't secure and download link broken]]> Statistics: Posted by Raam Dev — February 2nd, 2012, 1:59 pm


]]>
2012-02-01T01:30:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17096&p=62075#p62075 <![CDATA[Re: secure folder isn't secure and download link broken]]>
HOWEVER, I still have problem with second attempt on Download produce broken HTML content like above, is anyone has similar experience?

THanks in advance for all

Regards,
Ferry

Statistics: Posted by ferry77 — February 1st, 2012, 1:30 am


]]>
2012-01-31T20:28:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17096&p=62057#p62057 <![CDATA[Re: secure folder isn't secure and download link broken]]> If I scroll down from that broken HTML code, I find the download content of image3.jpg
Please have a look attached, my WP install only have S2member and WP show IDs plugin active.

Thank you,
Ferry

Statistics: Posted by ferry77 — January 31st, 2012, 8:28 pm


]]>
2012-01-31T20:09:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17096&p=62055#p62055 <![CDATA[Re: secure folder isn't secure and download link broken]]> Thank you for your reply.. :)

Sorry I was missing typing the 's' but if you please check the link, it's correct using 's'
http://wordpress.digitalmate.com.au/wp- ... image3.jpg

With the download problem this is the steps (I using FF 9.0.1, it's seems OK with IE9):
1. I open wordpress.digitalmate.com.au
2. it redirect me to http://wordpress.digitalmate.com.au/abo ... er_seeking[type]=page&_s2member_seeking[page]=2&_s2member_seeking[_uri]=Lw%3D%3D&_s2member_req[type]=sp&_s2member_req[sp]=2&_s2member_res[type]=sp&s2member_seeking=page-2&s2member_sp_req=2
3. I click "download" link (below the 2 paypal buttons)
4. after the download is done, I click the "download" link again
5. the page suddenly showing html code (I attached screen capture)

Statistics: Posted by ferry77 — January 31st, 2012, 8:09 pm


]]>
2012-01-31T18:04:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17096&p=62033#p62033 <![CDATA[Re: secure folder isn't secure and download link broken]]>
ferry77 wrote:
]
1.
My download link works but when I click it again the page return strange html code.
I put this on my post content
Code:
<a href="[s2File download="image3.jpg" download_key="true" /]">download</a>


you can try it here http://wordpress.digitalmate.com.au/ , the first attempt success but if you click the "download" link again, it shows up broken html code.


I tested this and had no problem downloading multiple times. I did not receive the error you described.

ferry77 wrote:
]2.
I put a file in /wp-content/plugins/s2member-file/image3.jpg
but I can access it using http://wordpress.digitalmate.com.au/wp- ... image3.jpg
? shouldn't this folder secured?


The directory should be s2member-files not s2member-file (notice the extra s).

Statistics: Posted by Raam Dev — January 31st, 2012, 6:04 pm


]]>
2012-01-31T05:58:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17096&p=61998#p61998 <![CDATA[Re: secure folder isn't secure and download link broken]]> http://www.primothemes.com/forums/viewtopic.php?f=4&t=15665
But I can't see the solution.. I am sure I didn't login when I try to download it using normal path
http://wordpress.digitalmate.com.au/wp-content/plugins/s2member-files/image3.jpg

This is the .htaccess , I guess it doesn't work some how?

Code:
Options +FollowSymLinks -MultiViews -Indexes

<IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteBase /

   RewriteCond %{ENV:s2member_file_ms_scan} !^complete$
   RewriteCond %{THE_REQUEST} ^(?:GET|HEAD)(?:[\ ]+)(?:/)([_0-9a-zA-Z\-]+/)(?:wp-content/)
   RewriteRule ^(.*)$ - [E=s2member_file_ms_scan:complete,E=s2_blog:%1]

   RewriteCond %{ENV:s2member_file_download_scan} !^complete$
   RewriteRule ^(.*)$ - [E=s2member_file_download_scan:complete,E=s2member_file_download:$1]

   RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-stream/)(.+)$
   RewriteRule ^(.*)$ - [N,E=s2member_file_download:%1%2,E=s2member_file_stream:&s2member_file_stream=yes]

   RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-stream-(.+?)/)(.+)$
   RewriteRule ^(.*)$ - [N,E=s2member_file_download:%1%3,E=s2member_file_stream:&s2member_file_stream=%2]

   RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-inline/)(.+)$
   RewriteRule ^(.*)$ - [N,E=s2member_file_download:%1%2,E=s2member_file_inline:&s2member_file_inline=yes]

   RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-inline-(.+?)/)(.+)$
   RewriteRule ^(.*)$ - [N,E=s2member_file_download:%1%3,E=s2member_file_inline:&s2member_file_inline=%2]

   RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-storage-(.+?)/)(.+)$
   RewriteRule ^(.*)$ - [N,E=s2member_file_download:%1%3,E=s2member_file_storage:&s2member_file_storage=%2]

   RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-remote/)(.+)$
   RewriteRule ^(.*)$ - [N,E=s2member_file_download:%1%2,E=s2member_file_remote:&s2member_file_remote=yes]

   RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-remote-(.+?)/)(.+)$
   RewriteRule ^(.*)$ - [N,E=s2member_file_download:%1%3,E=s2member_file_remote:&s2member_file_remote=%2]

   RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-ssl/)(.+)$
   RewriteRule ^(.*)$ - [N,E=s2member_file_download:%1%2,E=s2member_file_ssl:&s2member_file_ssl=yes]

   RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-ssl-(.+?)/)(.+)$
   RewriteRule ^(.*)$ - [N,E=s2member_file_download:%1%3,E=s2member_file_ssl:&s2member_file_ssl=%2]

   RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-download-key-(.+?)/)(.+)$
   RewriteRule ^(.*)$ - [N,E=s2member_file_download:%1%3,E=s2member_file_download_key:&s2member_file_download_key=%2]

   RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-skip-confirmation/)(.+)$
   RewriteRule ^(.*)$ - [N,E=s2member_file_download:%1%2,E=s2member_skip_confirmation:&s2member_skip_confirmation=yes]

   RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-skip-confirmation-(.+?)/)(.+)$
   RewriteRule ^(.*)$ - [N,E=s2member_file_download:%1%3,E=s2member_skip_confirmation:&s2member_skip_confirmation=%2]

   RewriteRule ^(.*)$ %{ENV:s2_blog}?s2member_file_download=%{ENV:s2member_file_download}%{ENV:s2member_file_stream}%{ENV:s2member_file_inline}%{ENV:s2member_file_storage}%{ENV:s2member_file_remote}%{ENV:s2member_file_ssl}%{ENV:s2member_file_download_key}%{ENV:s2member_skip_confirmation} [QSA,L]
</IfModule>

<IfModule !mod_rewrite.c>
   deny from all
</IfModule>


=============================
Anyone can help please? Thank you!!

Statistics: Posted by ferry77 — January 31st, 2012, 5:58 am


]]>
2012-01-31T03:30:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17096&p=61988#p61988 <![CDATA[secure folder isn't secure and download link broken]]> I am newbie on this plugin and try to install a new fresh wp site.
I have 2 questions please:

1.
My download link works but when I click it again the page return strange html code.
I put this on my post content
Code:
<a href="[s2File download="image3.jpg" download_key="true" /]">download</a>


you can try it here http://wordpress.digitalmate.com.au/ , the first attempt success but if you click the "download" link again, it shows up broken html code.

2.
I put a file in /wp-content/plugins/s2member-file/image3.jpg
but I can access it using http://wordpress.digitalmate.com.au/wp- ... image3.jpg
? shouldn't this folder secured?

Thank you for your advise

Regards,
Ferry

Statistics: Posted by ferry77 — January 31st, 2012, 3:30 am


]]>