Hi, I have set up a server for moodle 3.9.2+, however when I try to open the front page, it redirects me to the login screen, and also , when I click on the forget password link it opens the page, however, in seconds, I am redirected to the login page. Even the "Force user to log in" option is unchecked, can anybody help, why is this happening. I need to show the front page but it always redirects me to log in.
Possibly there is a file on the front page, probably an image but not necessarily, that requires the user to be logged in to access it.
When there is an image in a course which the user must be logged in to access, a user who is not logged who tries to access that image will be redirected to the login page first.
If that image has been added to the front page then, when the user is not logged in, they are always redirected to the login page.
If this is the case then the image (or other file) will need removing from the front page. To determine what the file is, go to the front page and, when redirected to the login page log in as a site admin. You should then be redirected to whichever file is causing the problem. Another way to determine this is to use the browser's developer tools (e.g. Network Monitor in Firefox) to see which URL is causing a redirect.
Thanks for the support, however I checked that but it is not working still same issue with front-page and forget password page. Any other thing to check, url is tech-medica.com
Theme used by site is 'snap'.
Please see:
https://moodle.org/plugins/pluginversions.php?plugin=theme_snap
url above shows compat up to 3.8 but not showing compat with 3.9.x.
Suggest changing default theme to boost.
'SoS', Ken
Thanks for the reply, however even after deleting the snap theme, issue still exist. Kindly suggest
Re: Moodle 3.9.2+ Frontpage is not getting load
Re: Moodle 3.9.2+ Frontpage is not getting load
The front page is making a background request to the Edwiser Reports plugin and this plugin is responding "errorcode":"servicerequireslogin" which is causing Moodle to load the login page.
If you're using this plugin I'd suggest contacting Edwiser for assistance. If you're not using this plugin I'd suggest uninstalling it.
Further details on the request:
XHR request
POST https://tech-medica.com/lib/ajax/service.php?sesskey=...&info=local_edwiserreports_get_plugin_config
Response body
{
"error": true,
"exception": {
"message": "Web service is not available. (The session has been logged out or has expired.)",
"errorcode": "servicerequireslogin",
"link": "https://tech-medica.com/",
"moreinfourl": "http://docs.moodle.org/39/en/error/webservice/servicerequireslogin"
}
}