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.

About: Andrew Hodges

We are a small consulting group based in London and Nottingham

My Latest Replies (From Various Topics)

Viewing 25 replies - 1 through 25 (of 39 total)
Author Replies
Author Replies
Posted: Friday Jul 26th, 2013 at 6:46 pm #54183

Well thats interesting. I opened the pk- .pem file with another application and instead of one continuous string it was formatted.

I copied that into the licence space and it has worked. Its the simple things! I am surprised that it authenticated when s2member set it up with S3 but there you go.

So I have tested the videos and they are fine but the download. Can I refer you to the post here 4 June 7.44

This is my string now (FLWP has gone because of the reinstall) and I have removed the bucket name. As per your post.

But I am getting a 404. I have checked the name of the file on S3 it is exact.

Now if I use this

<a href="">

Then I can get it to work? Any thoughts. I do like to understand these things rather than settling for leave it alone while its working.

Posted: Thursday Jul 25th, 2013 at 8:00 am #54021

Hi there, how are we doing with this.

Posted: Wednesday Jul 17th, 2013 at 5:23 am #53555

I have sent you credentials. FTP does not require a port number.

Posted: Tuesday Jul 16th, 2013 at 6:11 pm #53530

Just for the sake of completeness I have updated the config file with

define('WP_MEMORY_LIMIT', '64M');
Posted: Tuesday Jul 16th, 2013 at 7:50 am #53509

As requested

all green.

Yes sorry about the login I set it to expire originally didn’t think we’d need it again. Just as a thought to your logic above we should remember that it was working of course, at least for a short period so is it likely to be the server?

Posted: Saturday Jul 13th, 2013 at 1:11 pm #53401

I did of course have a back up but you’ll appreciate what a move it is to change the DNS entries change all of the entries in the blog posts etc so having done all that and worked out the scripts I am reluctant to role back especially as this is the only thing that does not now work and the improvements in caching etc have been immense.

So one problem at a time:

I also suspect that my original problems were never solved really, we did not understand why things worked again, they just did and that is always an uncomfortable feeling. When you can see the error and fix it you know it is fix when it just starts to work?

Do you have the correct bucket in your S3 integration? Yes I am sure that I do [fernleaf]
Is the file in that bucket? Yes it is
Please check the casing too (names are case-sensitive). I have cut and pasted the name in, I have typed it in it is exact
I have re-installed the plugin from bottom up
I have checked each key
I have wiped the keys using your function and re-entered them
I have deleted all of the keys, created new ones and re-inputted them, so they are new keys
I have wiped the keys with your function and re-inputted them again
I have removed the shortcodes in the posts and resubmitted them in different forms
I have used mod-rewrite linkages to try to resolve it.
I have added new media to the bucket and tried to attached to that
I have tried it by running the PHP code suggested in your pages and get Sorry, you do NOT have access to this file.

None of these things have worked.

As for the login issue lets not worry about that for now it is minor irritation compared to this

Posted: Friday Jul 12th, 2013 at 7:56 pm #53367

I wonder if I can have a reply to my question above dated 2 July.

I have today wiped and reentered all the keys, made new keys etc. Still no loading videos.

Posted: Tuesday Jul 2nd, 2013 at 7:37 am #52891

In an effort to address the failed logins problem and to address the criticism of the setup of the Fern Leaf site I took time at the weekend to move the site into the same directory as the install. now resolves into root/fernleaf/flwp

In doing so the s2member settings went astray. Not sure why but I ended up resetting them all and guess what S3 did not work. I loaded the keys again, it went through the long process and vidoes reported the error loading stream: could not find ID on server. So using your script I removed s2’s settings set new keys with Amazon and started from scratch. Same error.

[s2Stream player="jwplayer-v6-rtmp-only" player_path="/jwplayer/jwplayer.js" player_width="480" player_height="270" file_download="Training-HR-Adduser-Broadband-High.mp4"/]

I am using the above but have tried some of the mod-rewrite linkages to no avail.

It seems there is something not quite right with my setup but I don’t know what.

By the way the error message on the login still is not correct but OK before s2member installed?

Posted: Friday Jun 28th, 2013 at 11:39 am #52744

Thanks for looking I will ask the user as suggested.

Interestingly if I click the link above for the script it returns the script not a 404. Thats worth pursuing I think.

Posted: Tuesday Jun 18th, 2013 at 7:36 am #52097

Thanks for the reply. You were right about the long string but it was not the provider blocking it. I installed a plugin Better WP Security after being subject to a number of attacks as a quick fix. It bans long URL strings as a possible threat.

As to the wordpress loggin error I am stumped. I have reinstalled the core files, remover plugin etc. Still the same thing and on three different hosting platforms.

So it is not an s2member problem but maybe you would let me know if you hear of anything releated

Thanks for the help I think we can close this thread now.

Posted: Friday Jun 14th, 2013 at 5:54 pm #51976

Cristián Hi

I am using this thread because during these conversations Bruce said that the error message on the registration page was blank. The inference was that my installation caused the problem.

I have now had reason to set up another site and of course want to use your plugin as I get more familiar with it. (1) Low and behold same problem. This is a new and straight forward install on a different host with only one site installed. It uses InFocus template recommended on your sight and has little else installed, yet.

I have that as an error (1) and when someone who is not logged in clicks on a link they shouldn’t (knowledge base – footer) the are sent to the options page. (2) If they click again or on another restricted page (videos) they go nowhere and get a url like this.

is it me?

I won’t do anymore with it for now. I will need to instal pro in due course but would like to know I am not doing something basically wrong.

Posted: Friday Jun 7th, 2013 at 5:33 pm #51633

I am sorry I have not replied before now. In fact I thought I had so my mind is now going as well!

Yes videos have always worked as you will see from the posts (until Bruce and I played around). The path you refer to follows the syntax that Bruce suggested (again in the post history) so I can’t see why what you have come to is different from where we started?

But fixed is fixed I suppose we’ll see what happens on other posts.

Thank you for your help.

Posted: Sunday Jun 2nd, 2013 at 4:57 pm #51194

OK. Thanks for the reply.

So once you are logged in you will see in the bottom left again your login name. Click on that and you will be directed to your members page (this is created on registration) on that page you will see a link to Product Training > Read More (under the article) with take you to a page sporting the video ( Another video is in with a much larger video.

Back on the members page you will see a link to White Papers click through on that to the article and at the bottom of that page you will see the link to download the document.

As for the bucket content here you are. The pdf to be downloaded is CodeCanyonInvoice (just for something to use in the test)

Posted: Friday May 31st, 2013 at 6:34 pm #51079

This thread was started Posted: Thursday May 2nd, 2013 @ 6:27 pm. Could I please have a reply and the support you promised.

Posted: Friday May 24th, 2013 at 7:47 pm #50581

Thank you for looking. I am at a loss as to why you cannot login. So I have replaced the password and sent you another login. I hope this works. I can see the failed logins so it maybe I have sent you a miss-typed password or something, I am unsure.

I note that you and Bruce have mentioned the error bar on the login. This is of course an s2member page and the message has been missing since I installed s2member and this login appeared. I have simply replaced the logo banner. I have never investigated why the error message is blank, because I have had other things to do, but I am sure it is not an indication of our download problem. Everything else on s2member is working fine (including logins) as far as I am aware and as I originally said to Bruce this may well be me starring at the obvious and unable to see it.

I look forward to hearing from you.

Posted: Thursday May 23rd, 2013 at 7:11 pm #50493

Please go to the site and go to the footer (see Posted: Friday May 17th, 2013 @ 4:31 am). In there, bottom left, use the login link. /FPWP/wp-admin/ is disabled to avoid hacking.

Thank you for the comment on the hacks file. I left it there as I have reset it a number of times to get back to where I am now but I will remove it in due course. As a matter of interest I added a training video of 45mins yesterday on S3 and it ran first time and streams well, only to level one members.

Posted: Tuesday May 21st, 2013 at 1:36 pm #50299

I have had a further look at this myself. I had not wanted to change things if you were playing with it but in the light of your last post I thought I might as well.

I have reinstalled the keys

Amazon® CloudFront Distributions auto-configured successfully. Please allow 30 minutes for propagation.


Your Amazon® CloudFront Distributions are: ( ALREADY configured! )

I have got somewhere with the video since configuring CloudFront and that has worked. If you are logged in you can see that work at .At the moment I can connect to S3 but I am not getting the download.

Down loaded files appear to have this problem.

The server at can't be found, because the DNS lookup failed. DNS is the network service that translates a website's name to its Internet address. This error is most often caused by having no connection to the Internet or a misconfigured network. It can also be caused by an unresponsive DNS server or a firewall preventing Google Chrome from accessing the network.

which waffle aside seems to say we are not delivering the correct key?

I have reconfigured the s2member settings again and I am back to having the video working but pdf downloads failing. As the video works I am reluctant to believe this is an addressing issue or routing caused by the installation. Same error as in the post Saturday May 4th, 2013 @ 6:08 am.

Finally, as I have looked through all of this, I have also kept an eye on the error logs (at least those I can find) and I can see no record of errors in relation to redirects or 404’s. Largest file is only 590,216 bytes – not massive.

So where do we go from here?

Posted: Tuesday May 21st, 2013 at 5:46 am #50280


I assume that you have not logged in to the fernleaf directory with ftp.

There is nothing unusual in the set up here. This is hosted by Godaddy and resolves to the root fernleaf (a directory) WordPress is then installed on a subdirectory FLWP and the standard WP installation is used for FLWP with index.php in the root (fernleaf) redirecting to FLWP (sub directory) using


nothing unusual about it.

The login page is yours with a different banner
First time you login you do not get the error frame at the top – you must have logged in incorrectly
s2member has performed well up until this point with no errors for redirects etc
All of the paypal forms are performing as they should when tested in sandbox mode
The video downloads were working happily at the first install of the S3 keys
No where in your documentation does it say the site should not be installed in a sub-directory

The ftp details I have given you give access to the whole virtual directory which if you have looked may have confused you, my fault, I am sorry, but if you were to look at the DNS records you will see that the install for is standard. Resolving to /fernleaf installed in /fernleaf/FLWP no hacks nothing out of the ordinary. There must be thousands of sites installed like this on Godaddy and other hosts.

Maybe you would come back to me.

Posted: Monday May 20th, 2013 at 12:38 pm #50229

Sorry to chase you but I raised this issue on the 2 May and we still have not got a resolution.

When I bought the product one attraction was it came with support so would you please let me know where we are with the problem. I have not changed anything myself because I did not want to interfere with your efforts.

Posted: Friday May 17th, 2013 at 4:31 am #50102

Sorry there have been a number of bot attacks recently and I have bolstered the security around common links. You could use the login link at the bottom left hand corner of the home page (in the footer above the leaf image)

Posted: Thursday May 16th, 2013 at 10:25 am #50074

Have you had a chance to look at this?

Posted: Tuesday May 14th, 2013 at 6:58 pm #49974

current one as of the date of my mail. Just run 13/05/13 and the syntax error has gone. However I still have no video and no down loads. (the videos were working you’ll remember) The error message on the down load in Chrome is 404: Sorry, file not found. Please contact Support for assistance.

As I have said I have cut and pasted the file name and bucket name (lower case) directly from S3.

Posted: Saturday May 11th, 2013 at 1:15 pm #49749

Sorry it would have been useful to give you the video error

Parse error: syntax error, unexpected ',' in /home/content/97/8351397/html/fernleaf/FLWP/wp-content/plugins/s2member/includes/classes/ on line 154


Posted: Saturday May 11th, 2013 at 7:14 am #49733

I have tried your suggestion and redeployed the keys after running your function. I now cannot see either video or the downloaded file?

I have tried this now on my local dev server and it does not work there either. I have updated the dev server with latest php release and rolled it back to no joy.

I can accept I am doing something fundamentally wrong but I can’t see what that is. I have sent you a login to the main site.

Posted: Friday May 10th, 2013 at 10:27 am #49691

Thanks for the reply. I have been away but will try your suggestions and revert back to you..

Viewing 25 replies - 1 through 25 (of 39 total)

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.