I am having an issue with with password reset. Email is properly sent and I can open link set a new password. After I hit save system redirects to http://xxx/index.php?module=Users&action=Wizard and display page not found 404 error.
I believe this is some kind of issue with redirect for this particular module/action.
This is a fresh install without any customization using the latest docker image with version 8.7.1. Any ideas?
Looks like the problem is in the path resolution inside autoload_runtime.php. Code below steps into ‘legacy’ sub-directory where it later making sure that index.php exists:
The problem is that current directory is not inside public but one level above, therefore index.php is not found and 404 error is raised. This change is fixing it for me but I suspect there is a better way to fix it through config somewhere. Any ideas?
$path = './public/legacy';
By the way, this issue seems to be with every legacy path resolution that has module and action in url.
Supposedly, SuiteCRM will init a legacy mode when needed to handle old code without having to tweak all the paths one by one. That init actually changes the PHP base directory.
Maybe for some reason that entry point is not getting the correct init
inside autoload_runtime.php resets current directory to project directory which is a parent to public directory. I don’t see how it can work through settings. Must be a common problem.