Confirmation email error on built URL

Hi all,
I’m running with Version 170722 + s2Member Pro v170722
I know they are old and i should upgrade them in the next months
but awaiting this upgrade window, i have a problem to solve : each time a new user is enrolled the confirmation email is not sent because of an error in the URL

https://afmb.frmerci/?email=

site URL is https://afmb.fr/
and “merci” means “thank you”

Can anyone help me to correct this error so i can continue to run till future upgrade window ?

Many thanks
Paul

You are running the latest version of s2Member. You need to show us the shortcode that you are using.

Hi Tim,

I call the enrollment page through a href from a simple button with href="//afmb.fr/wp-login.php/?action=register"

I also want to translate built-in registration names like “Username” but i don’t found a .mo file anywhere.

If you need to get admin access say me and i’ll send you a temporary admin access

Thanks for your help

OK, but what are you using to generate the URL in the email?

I use nothing as this url is generated by standard WP login process https://afmb.fr/wp-login.php/?action=register
where s2member optional fields are including according to general options to produce my enrollment page :

When i clic on the “Inscription” button it works and displays an error page because the built URL is wrong
https://afmb.frmerci/?email=contact%40poconseil.com&fname=FIRSTNAME&lname=LASTNAME&my_custom_field=&username=USERNAME

the domain is afmb.fr and not afmb.frmerci (afmb.frthankyou)

all is done by the WP/s2member black box and i don’t know more

In that case, this is not an issue with s2Member at all. All s2Member is doing there is using a WP filter to add extra fields to the WP registration page. But the registration process is still being handled by WordPress itself. So there is something else that is causing this problem – probably another plugin.

A caching, security, or profile plugin is the most likely culprit. Try deactivating all your other plugins, clear all caches (including at server level) and then try again.

I tried deactivating each plugin and the problem remains. I don’t use any caching.

Looking forward, i found something that seems to be close to the problem in the wp-content/mu-plugins/reg-ty-page.php at line 8 :

do you see any link between the two ?

Ah, yes, that looks like that. An mu-plugin is a type of plugin; it just can’t be deactivated (“mu” stands for “must use”).

You need to modify that URL so that it says what you want.

if i change this default URL it works and bypass the error in the WP standard wp-login process
Thanks Tim for your help
Paul

1 Like

Hi Tim,
Now it works and i have a question on translating enrollment page : i use function kts_text_context_changes in funcs.inc.php and it works for all but not for ‘Password (please type it twice) *’ because of parenthesis = how should i declare this string to make it translated ?
Thanks for this basic question
Paul

Paul,

You need to translate just Password (please type it twice)

Because of where it comes in the code, the * is not translatable.

By the way, I think you mean you have this in the active theme’s functions.php file.

This should be
href="//afmb.fr/wp-login.php?action=register"
to be a usable URL…

Yes it’s a typing mistake but it works :slight_smile:

i change it to be perfect

thanks