Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: not able to set language on signup page #5187

Open
Jimmi08 opened this issue Feb 3, 2024 · 1 comment
Open

[Bug]: not able to set language on signup page #5187

Jimmi08 opened this issue Feb 3, 2024 · 1 comment
Labels
type: bug A problem that should not be happening
Milestone

Comments

@Jimmi08
Copy link
Contributor

Jimmi08 commented Feb 3, 2024

What e107 version are you using?

v2.3.3

Bug description

With language selector path is
signup.php?elan=en

this ends in empty page (not blank, just no form) because this test in signup.php

if(e_QUERY && e_QUERY != 'stage1')

How to reproduce

Go to any site with multilan e107 and put this URL directly in browser

Expected behavior

Either this parameter is ignored or redirected back to signup.php

What browser(s) are you seeing the problem on?

Chrome / Brave

PHP Version

8.1

@Jimmi08 Jimmi08 added the type: bug A problem that should not be happening label Feb 3, 2024
@Jimmi08
Copy link
Contributor Author

Jimmi08 commented Feb 4, 2024

Solved this way in signup.php

if (substr(e_QUERY, 0, 4) == "elan")
{
 
	e107::redirect(e_SIGNUP);
	exit();
} 

@Moc Moc added this to the e107 2.4.0 milestone Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A problem that should not be happening
Projects
None yet
Development

No branches or pull requests

2 participants