Community Support Forums — WordPress® ( Users Helping Users ) — 2011-09-01T22:37:13-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=10176 2011-09-01T22:37:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=33712#p33712 <![CDATA[Re: Internal Server Error when attempting a download]]> https://wordpress.org/extend/plugins/exec-php/

If you look for it in the installed plugins list, under its name you'll see the link to activate it and when so, it'll have a link to its settings.

Statistics: Posted by Cristián Lávaque — September 1st, 2011, 10:37 pm


]]>
2011-09-01T12:06:15-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=33637#p33637 <![CDATA[Re: Internal Server Error when attempting a download]]>
Yay!! When I saw your message I went and updated my WP and s2Member versions to 3.2.1 and 110815 and now my download links are working (for logged in members) -- thank you!

However, I would really like to make use of the SPECIFIC PAGE sale option. I was able to configure this so I gained buy-now access to the page -- but unable to download the file (through a link on that page). I see under Advanced Download Restrictions that for this to work I need to "force s2Member to allow File Downloads, using an extra query string parameter ( s2member_file_download_key )."? but when I tried to install the "PHP Execution" plugin it didn't work (i didn't see anywhere to activate it) then I noticed that on the plugin page it says "Compatible up to: 2.8.3". Am I right about needing this extra PHP code snippet for non-members to download a file? If so, should i be able to make that plugin work?

Statistics: Posted by sandlily — September 1st, 2011, 12:06 pm


]]>
2011-08-31T00:19:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=33478#p33478 <![CDATA[Re: Internal Server Error when attempting a download]]> Statistics: Posted by Jason Caldwell — August 31st, 2011, 12:19 am


]]>
2011-08-30T18:09:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=33413#p33413 <![CDATA[Re: Internal Server Error when attempting a download]]> I'll investigate this for you shortly.

Statistics: Posted by Jason Caldwell — August 30th, 2011, 6:09 pm


]]>
2011-08-30T15:36:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=33373#p33373 <![CDATA[Re: Internal Server Error when attempting a download]]> I sent you a message via the contact form; did it go through?
Thanks,
bianca

Statistics: Posted by sandlily — August 30th, 2011, 3:36 pm


]]>
2011-08-27T14:41:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=33097#p33097 <![CDATA[Re: Internal Server Error when attempting a download]]>
This error you are receiving:
Code:
"SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided
Has to do with specifically with your Amazon S3 Bucket. This would indicate to me that you have not correctly filled in the configuration fields for Amazon S3, under: s2Member -> Download Options -> Amazon S3. If this problem continues, please send us a download link and a test Username/Password so we can run diagnostics for you. Please send those details via this private contact form: http://www.s2member.com/contact/

Statistics: Posted by Jason Caldwell — August 27th, 2011, 2:41 pm


]]>
2011-08-26T21:51:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=32982#p32982 <![CDATA[Re: Internal Server Error when attempting a download]]> Statistics: Posted by Cristián Lávaque — August 26th, 2011, 9:51 pm


]]>
2011-08-25T15:41:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=32895#p32895 <![CDATA[Re: Internal Server Error when attempting a download]]>
Thanks for getting back to me. Do you mean the security key values under WP Admin -> s2Member -> Download Options -> Amazon® S3/CDN Storage Option? If so, then yes, I have made sure I copied them correctly. Could this problem have anything to do with that php file you had me create way back that resides in /wp-content/mu-plugins/s2-hacks.php (including the code: "ws_plugin__s2member_stream_file_downloads", "__return_false")?

bianca

Statistics: Posted by sandlily — August 25th, 2011, 3:41 pm


]]>
2011-08-23T22:10:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=32735#p32735 <![CDATA[Re: Internal Server Error when attempting a download]]> WP Admin -> s2Member -> Download Protection -> Amazon S3

About not requiring the registration/login before download, you could sell a page were you'd put the links to the files, instead of selling the membership or custom capability. http://www.s2member.com/specific-posts-pages-video/

Statistics: Posted by Cristián Lávaque — August 23rd, 2011, 10:10 pm


]]>
2011-08-23T10:52:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=32692#p32692 <![CDATA[Re: Internal Server Error when attempting a download]]>
I have created an Amazon S3 bucket and entered all the requested info under Amazon® S3/CDN Storage in my S2member Download Options, but now I can't figure out how to change my download link. I've tried several different 'paths' but none of them work. When I keep "?s2member_file_download=" I get the confirm download window but after clicking OK i get an error message starting with: "SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided. Check your key and signing method.47 45 54 0a 0a 0a." When I remove "?s2member_file_download=" i get a "page not found." How do i create a download link now that i'm using amazon S3?

Also, is there any way to just skip the whole membership/sign in thing and deliver a download link to the customer upon purchase?

blessings,
bianca

Statistics: Posted by sandlily — August 23rd, 2011, 10:52 am


]]>
2011-07-08T17:17:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=22692#p22692 <![CDATA[Re: Internal Server Error when attempting a download]]> Thanks for the follow-up.
s2Member configured to work with Amazon s3 works VERY reliably. You shouldn't have any issues with even multi-gigabyte files loaded through s2Member. When s2Member is integrated with Amazon s3, you can protect and serve large files, no matter who your host is.

Statistics: Posted by Jason Caldwell — July 8th, 2011, 5:17 pm


]]>
2011-07-08T13:45:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=22669#p22669 <![CDATA[Re: Internal Server Error when attempting a download]]> I convinced my client to create smaller files when recording his upcoming conferences, and we're thinking about changing web host in the future. However, breaking down these giant files we have may be too big a project... so my question is this: what are the chances of the huge file downloads working if i use an Amazon S3 bucket? I'm going to use Amazon S3 with our new files (thanks for the suggestion!), but i'm wondering if we should bother trying to sell the current ones thru s2member with S3, or should we just leave them where they are (e-junkie, which has been problematic, but we can get by)?
Thanks a ba-zillion,
bianca

Statistics: Posted by sandlily — July 8th, 2011, 1:45 pm


]]>
2011-06-29T17:47:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=21951#p21951 <![CDATA[Re: Internal Server Error when attempting a download]]>
In cases such as yours, I would suggest using Amazon S3 to store your protected files, as the integration between s2Member -> Amazon S3 is NOT subjected to this limitation. You can learn more about s2Member's integration with Amazon S3 in your Dashboard, under:
s2Member -> Download Options -> Amazon S3.

Statistics: Posted by Jason Caldwell — June 29th, 2011, 5:47 pm


]]>
2011-06-29T14:09:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=21941#p21941 <![CDATA[Re: Internal Server Error when attempting a download]]>
"Please note that in our server the maximum execution time for PHP script is 60 seconds. However, as we have responded earlier since the size of your zipped files are huge your PHP script is not getting execute within 60 seconds and producing 500 server error. Hence, I suggest you to optimize the script in such a way that it should execute with 60 seconds while uploading the files."

But that doesn't help me as i have no idea what file size will be sure to execute within 60 seconds...

Can you suggest an upper size limit (in MBs ?) for my mp3 (zipped) files?

Statistics: Posted by sandlily — June 29th, 2011, 2:09 pm


]]>
2011-06-29T00:21:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=21917#p21917 <![CDATA[Re: Internal Server Error when attempting a download]]>
sandlily wrote:
Oh, look what my host server FINALLY decided to tell me -- after having this support ticket going for 11 DAYS!!!

"I have checked both the files TC2010_1.zip and TC2010_2.zip and noticed that the size of both the files is above 1GB. Unfortunately, it is not possible to download large files using scripts. It will time out after 60 seconds. You need to use FTP to download large files."

Regarding this issue with some hosting companies. s2Member's default method of file delivery uses an advanced routine that delivers the file in chunks ( i.e. Transfer-Encoding: chunked ). This method avoids most issues related to high memory consumption on large file downloads. Making it possible for large file downloads to succeed.

However, it does NOT, and cannot, work around script time limits ( i.e. upper limits ) imposed by your hosting company. s2Member DOES automatically set the script timeout limit to 'inifinite' before initiating the file download, in an attempt to avoid the issue on many server platforms. But in some cases, particularly with shared hosting, extremely large files may still be subjected to limitations imposed by your hosting facility. In these cases, you will need to acquire a dedicated server instead.

Statistics: Posted by Jason Caldwell — June 29th, 2011, 12:21 am


]]>
2011-06-28T15:08:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=21898#p21898 <![CDATA[Re: Internal Server Error when attempting a download]]>

Well, the mystery is now resolved then. You could split the files into parts, or use another hosting service for them (e.g. Amazon S3).

Statistics: Posted by Cristián Lávaque — June 28th, 2011, 3:08 pm


]]>
2011-06-28T13:11:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=21884#p21884 <![CDATA[Re: Internal Server Error when attempting a download]]>
"I have checked both the files TC2010_1.zip and TC2010_2.zip and noticed that the size of both the files is above 1GB. Unfortunately, it is not possible to download large files using scripts. It will time out after 60 seconds. You need to use FTP to download large files."

Statistics: Posted by sandlily — June 28th, 2011, 1:11 pm


]]>
2011-06-28T13:02:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=21883#p21883 <![CDATA[Re: Internal Server Error when attempting a download]]>
And, sadly, in Google Chrome, after clicking to 'confirm download' i get no downloading action, just:

This webpage is not available
The webpage at http://www.stephengilligan.com/download ... 2010_2.zip might be temporarily down or it may have moved permanently to a new web address.
Error 346 (net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH): Unknown error.

darn. i was so encouraged yesterday when i was actually getting something to download...

Statistics: Posted by sandlily — June 28th, 2011, 1:02 pm


]]>
2011-06-28T01:28:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=21863#p21863 <![CDATA[Re: Internal Server Error when attempting a download]]>

Just a browser test:

Are you using Firefox? If yes, try using Google chrome and see if the download file is OK

I think there is a hack for this...Try searching Jason posts

Sam

Statistics: Posted by drbyte — June 28th, 2011, 1:28 am


]]>
2011-06-27T23:23:44-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=21845#p21845 <![CDATA[Re: Internal Server Error when attempting a download]]> Statistics: Posted by sandlily — June 27th, 2011, 11:23 pm


]]>
2011-06-27T23:19:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=21844#p21844 <![CDATA[Re: Internal Server Error when attempting a download]]> Statistics: Posted by sandlily — June 27th, 2011, 11:19 pm


]]>
2011-06-27T22:25:39-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=21839#p21839 <![CDATA[Re: Internal Server Error when attempting a download]]>
Create a whole new directory under your http root directory call it test

load in a fresh new version of WP
install ONLY S2M

Do not install anything or load in any other theme

Copy one of the big files you have on from the original site and try to download it.

Now, if you get the same error 500, then you have a limited host account.
Solution: Change host company

If you are not getting any errors, then it must be something with you r current installation.
What can you do:

Backup your live site (database, and folders, files).
to do that, create a folder under your public http and call it BACKUP/
make sure you copy, not cut

after you done with the back up, go to S2m and make sure that Safe guard site information is ON
If you have any log files you would like to save, make sure you save them

uninstall S2m and and load in a fresh new downloaded version of s2m. override all s2m files

When done, copy back your mp3 files under the s2m folder and make sure .htaccess is there too

Clear your browser cache any try your links.

IF you still getting errors, then it's not s2m. It might be something with WP installation. The only thing I can think of is the .htaccess file. if you have the permalink structure customized then it should look like this

Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress


I don't think you are using the permalink structure because you still using page IDs. Then your .htaccess should be empty or does not exist unless you are using some other plugin that utilize the .htaccess file


If it all fails, then you might need to reconstruct the whole site again by installing everything from scratch.


BUT, if your host company is giving you hard time in providing you with small requests like the log files then i would move on to better one.

I usually don't like this structure
/hermes/bosweb/web282/b2824/ipw.stephengilligan/public_html/

Sam

Statistics: Posted by drbyte — June 27th, 2011, 10:25 pm


]]>
2011-06-27T21:47:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=21838#p21838 <![CDATA[Re: Internal Server Error when attempting a download]]> <?php or after the ?>.

Statistics: Posted by Cristián Lávaque — June 27th, 2011, 9:47 pm


]]>
2011-06-27T14:57:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=21814#p21814 <![CDATA[Re: Internal Server Error when attempting a download]]> Statistics: Posted by sandlily — June 27th, 2011, 2:57 pm


]]>
2011-06-27T14:23:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10176&p=21813#p21813 <![CDATA[Re: Internal Server Error when attempting a download]]> Statistics: Posted by sandlily — June 27th, 2011, 2:23 pm


]]>