PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

DMG file downloads not being mounted.

s2Member Plugin. A Membership plugin for WordPress®.

DMG file downloads not being mounted.

Postby Deyson » December 30th, 2011, 4:50 pm

Hello, I have to ways for people to download my files.

The free files I am using Download Monitor. And all my Member files are going through S2member downloads.

I just got a call from a member and they said that their DMG downloads are not being recognized when they try to mount them. I went to investigate and they are right all the DMG member files do not mount once downloaded, the error message reads “not recognized ", but the free DMGs files open properly.

Any ideas on what may be happening, my site has been working fine for the last year.

Thank you.
User avatar
Deyson
Registered User
Registered User
 
Posts: 67
Joined: December 28, 2010

Re: DMG file downloads not being mounted.

Postby Deyson » December 30th, 2011, 5:06 pm

Here is an update. If I move the files one folder up to the plugins folder and download the DMG from there, it mounts fine once downloaded, but if they are downloaded from the S2Member-Files folder the DMG do not open saying they are not recognized.
User avatar
Deyson
Registered User
Registered User
 
Posts: 67
Joined: December 28, 2010

Re: DMG file downloads not being mounted.

Postby Cristián Lávaque » December 31st, 2011, 6:13 am

I'm emailing Jason about this.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: DMG file downloads not being mounted.

Postby Jason Caldwell » December 31st, 2011, 8:38 am

Hi there. Thanks for the heads up on this thread.

I would try disabling s2Member's chunked file delivery to see if it resolves the issue.

See this thread for further details on how to create the hack file please.
viewtopic.php?f=4&t=16510#p59338

Also, who is your hosting provider please?
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: DMG file downloads not being mounted.

Postby Deyson » December 31st, 2011, 2:28 pm

I will give it a try. My hosting company is Jaguar PC.
User avatar
Deyson
Registered User
Registered User
 
Posts: 67
Joined: December 28, 2010

Re: DMG file downloads not being mounted.

Postby Deyson » December 31st, 2011, 4:17 pm

It turns I already have that hack in my /wp-content/mu-plugins/s2-hacks.php file.

I was being told that the page was not found error, so I added that hack and it fixed the problem but now my DMG files are being downloaded as unrecognizable.

Any other suggestions? Thank you.
User avatar
Deyson
Registered User
Registered User
 
Posts: 67
Joined: December 28, 2010

Re: DMG file downloads not being mounted.

Postby Deyson » January 2nd, 2012, 9:58 am

Hello, I just wanted to point out that this error has not been resolved with the Hack.

Please let me know what I can do in the meantime, as members are not able to download their files.
User avatar
Deyson
Registered User
Registered User
 
Posts: 67
Joined: December 28, 2010

Re: DMG file downloads not being mounted.

Postby Jason Caldwell » January 2nd, 2012, 10:41 pm

Thanks for the follow-up.

Well, s2Member has three ways to deliver a file.

1. Via Transfer-Encoding: chunked.
( you can disable this via this filter )
Code: Select all
<?php
add_filter
("ws_plugin__s2member_chunk_file_downloads", "__return_false");
?>


2. Via Flushed delivery of data chunks.
( you can disable this via this filter )
Code: Select all
<?php
add_filter
("ws_plugin__s2member_flush_file_downloads", "__return_false");
?>


3. As a last resort, s2Member can use a standard call to file_get_contents().
( If you disable both of the primary delivery channels, s2Member will automatically fall back on this )
Code: Select all
<?php
add_filter
("ws_plugin__s2member_chunk_file_downloads", "__return_false");
add_filter("ws_plugin__s2member_flush_file_downloads", "__return_false");
?>
* I would try this now.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: DMG file downloads not being mounted.

Postby Deyson » January 3rd, 2012, 6:59 am

Hello Jason, thank you and here are my results after updating s2-hacks.php file as you requested.

- The first code gave me a not recognized DMG warningafter I downloaded and opened the DMG file.

- The second code redirected me to a 303 error page on Safari.

- The third code also gave me a not recognized DMG warning after I downloaded and opened the DMG file.

So I am still stuck. :)

Please let me know what else I can do. Thank you and have a wonderful day. :)
User avatar
Deyson
Registered User
Registered User
 
Posts: 67
Joined: December 28, 2010

Re: DMG file downloads not being mounted.

Postby Harty » January 3rd, 2012, 1:56 pm

Hi. Do you have a friend or colleague who is also using s2m? If so, why not send them one of your DMG files and have them make it a protected download, then see if it can be downloaded successfully.
User avatar
Harty
Registered User
Registered User
 
Posts: 104
Joined: April 27, 2011
Location: New Zealand

Re: DMG file downloads not being mounted.

Postby Deyson » January 3rd, 2012, 2:06 pm

I do not have a friend or colleague that uses s2m. If you would like to give it a test for me I would be much appreciative.

There are 4 free DMGs on my website: www.motion-master-templates.com

Thank you and have wonderful day.
User avatar
Deyson
Registered User
Registered User
 
Posts: 67
Joined: December 28, 2010

Re: DMG file downloads not being mounted.

Postby Raam Dev » January 3rd, 2012, 5:58 pm

Hi Deyson,

Could you take a look at this thread and see if it helps? viewtopic.php?f=4&t=16510#p59497
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: DMG file downloads not being mounted.

Postby Deyson » January 3rd, 2012, 6:06 pm

Woo Hoo!!! Thank you! That was it :)

Much thanks :) Have a wonderful day!
User avatar
Deyson
Registered User
Registered User
 
Posts: 67
Joined: December 28, 2010

Re: DMG file downloads not being mounted.

Postby Raam Dev » January 3rd, 2012, 6:18 pm

You're most welcome! Glad to hear that solved it! :)
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest

cron