latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Protected file fails redirects to mainpage

Home Forums Community Forum Protected file fails redirects to mainpage

This topic contains 2 replies, has 2 voices. Last updated by  Bruce 3 years, 9 months ago.

Topic Author Topic
Posted: Sunday Apr 7th, 2013 at 1:00 pm #46806

Hi,

I get redirected directly to my home page if I go to any address like

mydomain.us/wp-content/plugins/s2member-files/anything here
or
http://mydomain.us/?s2member_file_download=file.txt
or
http://mydomain.us/wp-content/plugins/s2member-files/file.txt

I get redirected to homepage. I’ve tried with different user levels but result is the same.

I’ve watched the whole video, and configured the membership signup and other page that needs to be chosen for welcome purpose.

I’ve also configured all access levels to have 999999 download(unlimited) and 365 days of access.

What am I missing? Here is my log file;

LOG ENTRY: Sun Apr 7th, 2013 @ precisely 4:24 pm UTC
PHP v5.3.3-7+squeeze15 :: WordPress® v3.5.1 :: s2Member® v130406
Memory 23.33 MB :: Real Memory 23.50 MB :: Peak Memory 23.41 MB :: Real Peak Memory 23.50 MB
mydomain.us/wp-admin/admin.php?page=ws-plugin–s2member-start
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31
array (
‘state’ => ‘response’,
‘transport_class’ => ‘WP_HTTP_streams’,
‘args’ =>
array (
‘method’ => ‘POST’,
‘timeout’ => 0.01,
‘redirection’ => 5,
‘httpversion’ => ’1.0′,
‘user-agent’ => ‘WordPress/3.5.1; http://mydomain.us’,
‘blocking’ => false,
‘headers’ =>
array (
‘Accept-Encoding’ => ‘deflate;q=1.0, compress;q=0.5′,
‘Content-Length’ => 0,
),
‘cookies’ =>
array (
),
‘body’ => NULL,
‘compress’ => false,
‘decompress’ => true,
‘sslverify’ => true,
‘stream’ => false,
‘filename’ => NULL,
‘_redirection’ => 5,
‘ssl’ => false,
‘local’ => true,
),
‘url’ => ‘http://mydomain.us/wp-cron.php?doing_wp_cron=1365351863.2322909832000732421875′,
‘response’ =>
WP_Error::__set_state(array(
‘errors’ =>
array (
‘http_request_failed’ =>
array (
0 => ‘Could not open handle for fopen() to http://mydomain.us/wp-cron.php?doing_wp_cron=1365351863.2322909832000732421875′,
),
),
‘error_data’ =>
array (
),
)),
)

Thank you very very much. This framework is the only one that easy to configure and use.

I really needed a framework like this for my future projects and this is my first trial, If I can get this going, I’ll be using this framework on all of my projects

I just need some clarification..

Regards

List Of Topic Replies

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Sunday Apr 7th, 2013 at 1:21 pm #46807

It’s solved.

I am using my domain without www.

so I was giving my links as http://mydomain.us/….

I was not supposed to put http:// infornt of my domain.

so when I link files from protected pages I need to do

mydomain.us/wp-content/plugins/s2member-files/a.zip

or

mydomain.us/?s2member_file_download=a.zip

Thanks so much.

Posted: Tuesday Apr 9th, 2013 at 8:13 pm #46959
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

Glad to hear you found your issue. If you have any problems that come back regarding s2Member, let us know. :-)

Viewing 2 replies - 1 through 2 (of 2 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.