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: David Kennaway

Sorry, I've not written a description yet. I'll get to it soon!

Topics I'm Subscribed To

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Blank redirect

By:  michael persaud in: Community Forum

voices: 4
replies: 13

3 years, 10 months ago  David Kennaway

Coupon code appearing with accept_coupons="0"

By:  David Kennaway in: Community Forum

voices: 2
replies: 3

4 years ago  Cristián Lávaque

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

My Latest Replies (From Various Topics)

Viewing 19 replies - 1 through 19 (of 19 total)
Author Replies
Author Replies
Posted: Thursday Feb 28th, 2013 at 12:46 pm #43425
Posted: Thursday Feb 28th, 2013 at 12:36 pm #43424

I changed all the references to

require (ABSPATH . WPINC . '/pluggable.php');


require (ABSPATH . '/wp-load.php');

and it appears to solve the problem.

It’s in three places: twice in lib/camera_functions.php and once in lib/admin/camera_addremove.php

And I’ve sent an email to the developer. Hopefully they will include it in an update!

Posted: Thursday Feb 28th, 2013 at 12:29 pm #43423

I’ve solved the problem of the conflict between Easy Table and s2Member Pro.

Easy Table allows changes to the shortcodes used by the plugin in its settings. There’s a shortcode for changing attributes in the form


etc. It appears that this was the cause of the conflict with s2Member. Changing the shortcode to be


etc sorted it!

Posted: Thursday Feb 21st, 2013 at 1:59 pm #42746

Thanks, I’ll do that :-)

Posted: Tuesday Feb 19th, 2013 at 6:45 pm #42523

The test server is on Dreamhost and does appear to have mod_security enabled. I’m not completely sure about the main server but adding in to the .htaccess file

<IfModule mod_security.c>
Redirect /olddirectory/oldfile.html

it appears that it’s not operating.

Regarding the redirection not happening to Sandbox. I have definitely enabled Sandbox and am using Sandbox Paypal username in the PayPal settings. Using Pro Forms only generated by a shortcode.

Posted: Friday Feb 15th, 2013 at 5:17 pm #41902

Thanks for pointing me to DB Cache Reloaded Fix as the source of the problem. I don’t really understand why it didn’t cause problems a few weeks ago, as it has been activated all the time. Anyway deactivating it solves that problem, which is a relief.

Referring back to the original problem with Easy Table causing a conflict with s2Member and producing a fatal PHP error when pressing the PayPal button – I’ve copied the website over to a test installation (with a PayPal sandbox option activated as it happens) and with exactly the same plugins installed and with Easy Table activated this time. There’s no error produced and I get directed to the PayPal website, where I’m invited to input my credit card details or sign in with my PayPal account. All as it should be.

I ran your server check php file on both sites and they came back almost identical – except for the obvious differences of paths and urls – both running the same version of php.

I used the TPC! Memory Usage plugin to check for differences in the servers and the only differences I found were:
MySQL – 5.0.96-community on the problem site, 5.1.56-log on the test site that’s fine.
Magic Quotes – set to ON on the problem site, set to OFF on the test site that’s fine.

So it’s a mystery to me why the Easy Table plugin causes problems on one site and not the other one. Any ideas your end?

(NB another question arose when using the Sandbox – I appeared to be directed to the regular PayPal site rather than a different URL, so when I entered Sandbox username and password for the buyer it was rejected – is this to be expected?)

Posted: Tuesday Feb 12th, 2013 at 7:51 am #41549

Will let you know about the test installation later.

The more urgent matter is that payments are not being taken and memberships are not created with this issue present. It seems we have the same problem as ‘PayPal Success Return URL not working’

I created the diagnostics file as suggested and the result is at

It was all working fine a few weeks ago as one of our team successfully joined and paid through PayPal as you can see if you look at the paypal-ipn.log

I am wondering if the changes made by PayPal regarding the types of accounts and introduction of PayFlow could have contributed to the difficulties we are facing? We only have a standard ie non-Pro account and beforehand that seemed fine for recurrent billing through PayPal and s2Member.

Posted: Friday Feb 8th, 2013 at 7:06 am #41193

@Jason Thanks for the reply, we’ll try and set up a test installation, although surely it would be easier for you (can you not add the Easy Tables plugin to one of your test installations and see if there is a conflict with PayPal Pro forms?)

However, on the other matter raised (with Easy Tables plugin deactivated) about returning to the website from PayPal after agreeing the payment, getting sent to the link and the process stops – have you any ideas why this is happening?

Posted: Thursday Feb 7th, 2013 at 9:17 am #41028

@Jason – haven’t heard from you regarding running diagnostics. Any news?

Posted: Wednesday Feb 6th, 2013 at 4:24 pm #40927

@Ronnie – I think I may have sorted the problem with IE :-)

Posted: Tuesday Feb 5th, 2013 at 7:57 am #40853

After more testing have now discovered that after getting to PayPal and after logging in and clicking the ‘Agree and Continue’ button which says I’ll be sent back to my site for confirmation of payment I get sent back to the original page:

No payment is taken from PayPal and no user registered.

From reading the settings page I was expecting to return to a page like

Payments were working perfectly a while ago when one of my colleagues did some tests and went through the whole process.

@Ronnie – I’m not having a problem with the form being created if Easy Tables is not activated

Posted: Tuesday Feb 5th, 2013 at 5:46 am #40840

It’s working fine without the Easy Table plugin (which I’ve deactivated for the moment to enable testing). I’ll send you a login via the Contact Form :-)

Posted: Monday Feb 4th, 2013 at 8:15 pm #40802

There’s a Pro Form which appears when clicking the Join button in – the form is created using a shortcode, so I don’t understand how altering HTML will help?

Posted: Monday Feb 4th, 2013 at 9:07 am #40715

Getting the php error

PHP Fatal error:  Cannot use string offset as an array in /data02/nboorguk/public_html/wp-content/plugins/s2member-pro/includes/classes/gateways/paypal/ on line 647

when plugin Easy Table is activated

This is a bit unfortunate as it is a very useful plugin and doesn’t degrade very beautifully when deactivated.

Posted: Tuesday Dec 18th, 2012 at 5:48 pm #34970

Thanks for alerting me to “ws_plugin__s2member_login_redirect” because I did a search on it and found with Jason mentioning the One-Time-Offer feature which allows me to redirect all users on first login to a particular page.

I found some code to produce a password change form at so now I can direct the first-time login to a page with the password change shortcode on it requesting users change their password before proceeding!

Posted: Monday Dec 17th, 2012 at 12:23 pm #34849

Thanks for the reply. My browser told me there was a redirection loop and gave no details. However I imagine that it’s something to do with s2Member trying to go to the Login Welcome page and the plugin I tested going to the User Profile page in order to change the password.

Is there any way of getting s2Member not automatically going to the Login Welcome page?

Posted: Wednesday Dec 12th, 2012 at 10:47 am #34378

Thanks for your reply.

When I was referring to s2member-o.php I was referring to the link in the source page which presumably should reveal some javascript or css depending on where it appears in the header. There’s no problem with the file itself on the server.

All the files on the server appear to be the same as on my computer. Anyway, I’ve never had any problems uploading via ftp with cyberduck before.

Following the Troubleshooting tips, it turns out that there was a conflict with one of the settings in Better WP Security plugin – S2Member doesn’t seem to like the setting ‘Display random version number to all non-administrative users’ being checked.

Now it appears to be working fine. Thanks.

Posted: Tuesday Dec 11th, 2012 at 2:12 pm #34282

I’m also not getting any javascript validation on the PayPal Pro Form – ie no password strength indicator and the same occurred on a test page while I quickly changed the theme to twentyeleven (as I’m working on a live site).

Looking at the source of the page there doesn’t appear to be any content to s2member-o.php, which seems rather strange.

Posted: Tuesday Dec 11th, 2012 at 12:20 pm #34270

Seems to be working fine now. I’m not sure what changed to make is so though.

Viewing 19 replies - 1 through 19 (of 19 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.