New registrant issues - Pro user but no support!

Hi all,

On October 7th, I wrote to support:

" Hello,

We use S2 Member Pro and S2 Member Framework and have some problems with the registration of new members.

After filling in the form, the new member does not receive an email to confirm the registration. The people of the membership administration also do not receive an email of the new registration.

Furthermore, the membership administration does not have the possibility to adjust the role of a new registrant. Everyone who registers on the website initially becomes a candidate member and the membership administration adjusts that role (after checking) to member.

Our details:

Website: www.healey.nl
Registration form: https://www.healey.nl/wp-login.php?action=register

Version S2 Member: 220421
Version S2 Member Framework: 240325 + s2Member Pro v220421

I hope you can help me out."

At first Cristián from support answered, requesting me the php_errorlog and the WP_DEBUG from our homepage. And after I sent him all the info, it went quiet. From October 21st it was quiet, dead quiet. So up until now we (as an association) have a problem with maintaining our members and that while we are a paying PRO user!
I also contacted the sales department, also without success!

Apart from the fact that I find this really scandalous, I hope that someone here on the forum can help me. Who knows what the problem could be that arose from one day to the next?

Hello Leon,

This could be for a number of reasons beyond s2 member, including with your email accounts, website themes and otrher plugins. It may also be a symptom of an issue with s2 member.

I’m a freelance developer and would be happy to take a look. I’m not associated with s2member at all, but I am an experienced developer who uses it for many years now. I would be happy to offer some support for a fee, if you are interested in this please feel free to message me.

kind regards

bmadd1

1 Like

If you want to post the errors found in the WP_DEBUG or php_errorlog, we could try to trouble-shoot. If you post them, be sure to remove any confidential information first.

Thanks for your offer. The files are attached.Stie Tool error log 21-10-2024.pdf (121.5 KB) WP_DEBUG.pdf (32.7 KB)

Hello. I don’t see anything of note in the WP_DEBUG file. The S2member error log error is

“2024-10-20 07:27:05 UTC [apache][authz_core:error] [pid 71328:tid
71328] [client 62.45.105.128:12148] AH01630: client denied by server
configuration: /home/u145-7hqgjqbf8yu/www/healey.nl/public_html/wpcontent/plugins/s2member/s2member-o.php, referer: https://www.healey.nl/”

As the error suggests, it looks like an error related to Apache settings (your webserver). Here is ChatGPT4o’s advice (below)

" 1. Email Delivery for Registrations

  • Check Email Settings in WordPress : Go to Settings > General and confirm that the email address is correct for the administrative notifications.
  • Confirm s2Member Email Notifications : Verify the settings in s2Member > General Options > Email Configuration to make sure the “New User Notification” and “Signup Confirmation Email” options are enabled.
  • SMTP Configuration : Sometimes WordPress struggles to send emails through the PHP mail function, so using an SMTP plugin (like WP Mail SMTP) could improve email deliverability.
  • Email Queue Conflicts : If you have caching plugins or spam filters in place, they may sometimes intercept or delay emails. Disable these plugins temporarily to see if they’re the cause.

2. Role Adjustment for New Members

  • s2Member Role Configuration : In s2Member > General Options > Membership Levels/Labels , check that roles are appropriately assigned. By default, s2Member sets users as “Subscribers” or “Free Subscribers,” but custom roles should be reviewed if you’re using “Candidate Member” and “Member” roles.
  • Manual Role Editing Permissions : Ensure that the membership administration has the right capabilities to edit roles. The plugin User Role Editor may help if permission issues arise.
  • Automatic Role Promotion : For smoother management, you may want to look into s2Member’s Auto EOT (End of Term) behavior options, which can promote users automatically after a specific time or action.

3. Apache Errors (403 Client Denied Errors)

  • File Permissions : The error suggests that Apache is blocking access to s2member-o.php . Check file permissions (using cPanel, FTP, or your host’s control panel). Set the file permissions for s2member-o.php to 644 and folders to 755 .
  • .htaccess File : In rare cases, the .htaccess file may deny access to certain files or folders. Ensure your .htaccess file in /wp-content/plugins/s2member allows access. It should not contain deny from all directives for this file or folder.
  • ModSecurity Rules : If you’re using ModSecurity or other server-side security software, it could be falsely flagging s2member-o.php as malicious. Reach out to your hosting provider to whitelist this file or disable ModSecurity temporarily for testing.
  • Update Apache Configuration : The authz_core:error is associated with permissions in Apache’s configuration. Check the AllowOverride directive in Apache’s configuration file to ensure it allows necessary permissions for .htaccess files."

Try to follow the troubleshooting steps above and see if it bears any fruit.

Hi,

I’ve tried it all… the issue is still there.

Hi Leon, I’m sorry I didn’t see your update before.

I checked your logs there, and the mentions about permissions make me think of this: https://s2member.com/kb-article/mod-security-odd-403-503-500-errors/

… although I don’t see errors on the site, and could load your s2member-o.php file.

If emails don’t go out on registration, are other emails going out? If the user’s account is being created, it doesn’t sound like an s2Member issue, maybe something else is affecting emails on your site. https://s2member.com/kb-article/troubleshooting-email-delivery-problems/

You could also enable s2’s logging routines, and see if it gives any hints of a problem during registration when you try reproducing the problem. WP Admin > s2Member > Log Files

And I seem to remember you had some customizations on your site, and it could be that something there is causing the problem, so be sure to remove them while testing to see if the behavior changes and the problem goes away. https://s2member.com/kb-article/common-troubleshooting-tips/

The idea is not to lose customizations, but to spot the place where the problem is coming from so you can fix it.

:slight_smile: