install Joomla 4 with demo data
Navigate to front end user registration form (while logged out)
In admin - Disable User Registration
reload frontend user registration form
404/403 error
form still loads fine, can be submitted, no error given and no user created.
A strange one
http://0.0.0.0:8087/index.php/en/ SHOWS THE CREATE AN ACCOUNT link still after user registration is disabled
whereas http://0.0.0.0:8087/index.php/en without the trailing slash doesnt show the link in the module - strange !
No caching enabled.
Labels |
Added:
?
|
Title |
|
Status | New | ⇒ | Discussion |
Category | ⇒ | Authentication Cache com_users |
Labels |
Added:
J4 Issue
|
Note that the "server" is PHP command line like php -S 0.0.0.0:8085 - as that might be an important thing to test if you cannot replicate this with a webserver (nginx/apache)
And if it really is the PHP webserver the odds of that being addressed are going to be slim to none, just being realistic here (who aside from you actually uses that for Joomla?).
I only mention it in passing :) just in case...
I've yet to get a docker instance for Joomla 4 ;-) so I'm running PHP development command line server and mysql in docker :)
Tonight I should have more time to complete the Joomla 4 development docker image for you ;-) and then I can retest... it was/is a very very very strange bug though, and I have seen this before in earlier development of Joomla 4
I'm thinking it could be an opcache thing - but not really sure why
Are you still seeing this issue on anything other than "php -s"
I cannot replicate this today.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-11-12 00:55:54 |
Closed_By | ⇒ | PhilETaylor |
This is a strange one. Im seeing the same behaviour with any global config change - its like the config is being cached somewhere but for few pages/urls only...
E.g Set the site to be offline while you have a frontend page open - refresh the frontend page repeatedly and it still works (checking the PHP/Web logs you can see its NOT a browser cached version - its still going through Joomla and PHP to render it!!!) but if you navigate to any other link on the page, you then see the offline page correctly (as you have set the site offline).
Its not browser - because if I open safari (as well as chrome) and then navigate around the site (which is in offline mode, and im not logged in) I can still get to the home, and several other demo pages...!! Only a few correctly give the offline page!)
Very strange - and if can be replicated by others, I would consider this huge issue (security too)